| 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] = 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] = p->fd; /* int */ |
| 28 | uarg[1] = p->cbuf; /* user_addr_t */ |
| 29 | uarg[2] = p->nbyte; /* user_size_t */ |
| 30 | break; |
| 31 | } |
| 32 | /* write */ |
| 33 | case 4: { |
| 34 | struct write_args *p = params; |
| 35 | iarg[0] = p->fd; /* int */ |
| 36 | uarg[1] = p->cbuf; /* user_addr_t */ |
| 37 | uarg[2] = p->nbyte; /* user_size_t */ |
| 38 | break; |
| 39 | } |
| 40 | /* open */ |
| 41 | case 5: { |
| 42 | struct open_args *p = params; |
| 43 | uarg[0] = p->path; /* user_addr_t */ |
| 44 | iarg[1] = p->flags; /* int */ |
| 45 | iarg[2] = p->mode; /* int */ |
| 46 | break; |
| 47 | } |
| 48 | /* close */ |
| 49 | case 6: { |
| 50 | struct close_args *p = params; |
| 51 | iarg[0] = p->fd; /* int */ |
| 52 | break; |
| 53 | } |
| 54 | /* wait4 */ |
| 55 | case 7: { |
| 56 | struct wait4_args *p = params; |
| 57 | iarg[0] = p->pid; /* int */ |
| 58 | uarg[1] = p->status; /* user_addr_t */ |
| 59 | iarg[2] = p->options; /* int */ |
| 60 | uarg[3] = p->rusage; /* user_addr_t */ |
| 61 | break; |
| 62 | } |
| 63 | /* link */ |
| 64 | case 9: { |
| 65 | struct link_args *p = params; |
| 66 | uarg[0] = p->path; /* user_addr_t */ |
| 67 | uarg[1] = p->link; /* user_addr_t */ |
| 68 | break; |
| 69 | } |
| 70 | /* unlink */ |
| 71 | case 10: { |
| 72 | struct unlink_args *p = params; |
| 73 | uarg[0] = p->path; /* user_addr_t */ |
| 74 | break; |
| 75 | } |
| 76 | /* chdir */ |
| 77 | case 12: { |
| 78 | struct chdir_args *p = params; |
| 79 | uarg[0] = p->path; /* user_addr_t */ |
| 80 | break; |
| 81 | } |
| 82 | /* fchdir */ |
| 83 | case 13: { |
| 84 | struct fchdir_args *p = params; |
| 85 | iarg[0] = p->fd; /* int */ |
| 86 | break; |
| 87 | } |
| 88 | /* mknod */ |
| 89 | case 14: { |
| 90 | struct mknod_args *p = params; |
| 91 | uarg[0] = p->path; /* user_addr_t */ |
| 92 | iarg[1] = p->mode; /* int */ |
| 93 | iarg[2] = p->dev; /* int */ |
| 94 | break; |
| 95 | } |
| 96 | /* chmod */ |
| 97 | case 15: { |
| 98 | struct chmod_args *p = params; |
| 99 | uarg[0] = p->path; /* user_addr_t */ |
| 100 | iarg[1] = p->mode; /* int */ |
| 101 | break; |
| 102 | } |
| 103 | /* chown */ |
| 104 | case 16: { |
| 105 | struct chown_args *p = params; |
| 106 | uarg[0] = p->path; /* user_addr_t */ |
| 107 | iarg[1] = p->uid; /* int */ |
| 108 | iarg[2] = p->gid; /* int */ |
| 109 | break; |
| 110 | } |
| 111 | /* getfsstat */ |
| 112 | case 18: { |
| 113 | struct getfsstat_args *p = params; |
| 114 | uarg[0] = p->buf; /* user_addr_t */ |
| 115 | iarg[1] = p->bufsize; /* int */ |
| 116 | iarg[2] = 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] = 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] = p->req; /* int */ |
| 141 | iarg[1] = p->pid; /* pid_t */ |
| 142 | uarg[2] = (intptr_t) p->addr; /* caddr_t */ |
| 143 | iarg[3] = p->data; /* int */ |
| 144 | break; |
| 145 | } |
| 146 | #if SOCKETS |
| 147 | /* recvmsg */ |
| 148 | case 27: { |
| 149 | struct recvmsg_args *p = params; |
| 150 | iarg[0] = p->s; /* int */ |
| 151 | uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ |
| 152 | iarg[2] = p->flags; /* int */ |
| 153 | break; |
| 154 | } |
| 155 | /* sendmsg */ |
| 156 | case 28: { |
| 157 | struct sendmsg_args *p = params; |
| 158 | iarg[0] = p->s; /* int */ |
| 159 | uarg[1] = (intptr_t) p->msg; /* caddr_t */ |
| 160 | iarg[2] = p->flags; /* int */ |
| 161 | break; |
| 162 | } |
| 163 | /* recvfrom */ |
| 164 | case 29: { |
| 165 | struct recvfrom_args *p = params; |
| 166 | iarg[0] = p->s; /* int */ |
| 167 | uarg[1] = (intptr_t) p->buf; /* void * */ |
| 168 | uarg[2] = p->len; /* size_t */ |
| 169 | iarg[3] = p->flags; /* int */ |
| 170 | uarg[4] = (intptr_t) p->from; /* struct sockaddr * */ |
| 171 | uarg[5] = (intptr_t) p->fromlenaddr; /* int * */ |
| 172 | break; |
| 173 | } |
| 174 | /* accept */ |
| 175 | case 30: { |
| 176 | struct accept_args *p = params; |
| 177 | iarg[0] = p->s; /* int */ |
| 178 | uarg[1] = (intptr_t) p->name; /* caddr_t */ |
| 179 | uarg[2] = (intptr_t) p->anamelen; /* socklen_t * */ |
| 180 | break; |
| 181 | } |
| 182 | /* getpeername */ |
| 183 | case 31: { |
| 184 | struct getpeername_args *p = params; |
| 185 | iarg[0] = p->fdes; /* int */ |
| 186 | uarg[1] = (intptr_t) p->asa; /* caddr_t */ |
| 187 | uarg[2] = (intptr_t) p->alen; /* socklen_t * */ |
| 188 | break; |
| 189 | } |
| 190 | /* getsockname */ |
| 191 | case 32: { |
| 192 | struct getsockname_args *p = params; |
| 193 | iarg[0] = p->fdes; /* int */ |
| 194 | uarg[1] = (intptr_t) p->asa; /* caddr_t */ |
| 195 | uarg[2] = (intptr_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] = p->path; /* user_addr_t */ |
| 204 | iarg[1] = p->flags; /* int */ |
| 205 | break; |
| 206 | } |
| 207 | /* chflags */ |
| 208 | case 34: { |
| 209 | struct chflags_args *p = params; |
| 210 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 211 | iarg[1] = p->flags; /* int */ |
| 212 | break; |
| 213 | } |
| 214 | /* fchflags */ |
| 215 | case 35: { |
| 216 | struct fchflags_args *p = params; |
| 217 | iarg[0] = p->fd; /* int */ |
| 218 | iarg[1] = 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] = p->pid; /* int */ |
| 229 | iarg[1] = p->signum; /* int */ |
| 230 | iarg[2] = p->posix; /* int */ |
| 231 | break; |
| 232 | } |
| 233 | /* getppid */ |
| 234 | case 39: { |
| 235 | break; |
| 236 | } |
| 237 | /* dup */ |
| 238 | case 41: { |
| 239 | struct dup_args *p = params; |
| 240 | uarg[0] = p->fd; /* u_int */ |
| 241 | break; |
| 242 | } |
| 243 | /* pipe */ |
| 244 | case 42: { |
| 245 | break; |
| 246 | } |
| 247 | /* getegid */ |
| 248 | case 43: { |
| 249 | break; |
| 250 | } |
| 251 | /* sigaction */ |
| 252 | case 46: { |
| 253 | struct sigaction_args *p = params; |
| 254 | iarg[0] = p->signum; /* int */ |
| 255 | uarg[1] = (intptr_t) p->nsa; /* struct __sigaction * */ |
| 256 | uarg[2] = (intptr_t) p->osa; /* struct sigaction * */ |
| 257 | break; |
| 258 | } |
| 259 | /* getgid */ |
| 260 | case 47: { |
| 261 | break; |
| 262 | } |
| 263 | /* sigprocmask */ |
| 264 | case 48: { |
| 265 | struct sigprocmask_args *p = params; |
| 266 | iarg[0] = p->how; /* int */ |
| 267 | uarg[1] = p->mask; /* user_addr_t */ |
| 268 | uarg[2] = p->omask; /* user_addr_t */ |
| 269 | break; |
| 270 | } |
| 271 | /* getlogin */ |
| 272 | case 49: { |
| 273 | struct getlogin_args *p = params; |
| 274 | uarg[0] = (intptr_t) p->namebuf; /* char * */ |
| 275 | uarg[1] = p->namelen; /* u_int */ |
| 276 | break; |
| 277 | } |
| 278 | /* setlogin */ |
| 279 | case 50: { |
| 280 | struct setlogin_args *p = params; |
| 281 | uarg[0] = (intptr_t) p->namebuf; /* char * */ |
| 282 | break; |
| 283 | } |
| 284 | /* acct */ |
| 285 | case 51: { |
| 286 | struct acct_args *p = params; |
| 287 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 288 | break; |
| 289 | } |
| 290 | /* sigpending */ |
| 291 | case 52: { |
| 292 | struct sigpending_args *p = params; |
| 293 | uarg[0] = (intptr_t) p->osv; /* struct sigvec * */ |
| 294 | break; |
| 295 | } |
| 296 | /* sigaltstack */ |
| 297 | case 53: { |
| 298 | struct sigaltstack_args *p = params; |
| 299 | uarg[0] = (intptr_t) p->nss; /* struct sigaltstack * */ |
| 300 | uarg[1] = (intptr_t) p->oss; /* struct sigaltstack * */ |
| 301 | break; |
| 302 | } |
| 303 | /* ioctl */ |
| 304 | case 54: { |
| 305 | struct ioctl_args *p = params; |
| 306 | iarg[0] = p->fd; /* int */ |
| 307 | uarg[1] = p->com; /* u_long */ |
| 308 | uarg[2] = (intptr_t) p->data; /* caddr_t */ |
| 309 | break; |
| 310 | } |
| 311 | /* reboot */ |
| 312 | case 55: { |
| 313 | struct reboot_args *p = params; |
| 314 | iarg[0] = p->opt; /* int */ |
| 315 | uarg[1] = (intptr_t) p->msg; /* char * */ |
| 316 | break; |
| 317 | } |
| 318 | /* revoke */ |
| 319 | case 56: { |
| 320 | struct revoke_args *p = params; |
| 321 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 322 | break; |
| 323 | } |
| 324 | /* symlink */ |
| 325 | case 57: { |
| 326 | struct symlink_args *p = params; |
| 327 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 328 | uarg[1] = (intptr_t) p->link; /* char * */ |
| 329 | break; |
| 330 | } |
| 331 | /* readlink */ |
| 332 | case 58: { |
| 333 | struct readlink_args *p = params; |
| 334 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 335 | uarg[1] = (intptr_t) p->buf; /* char * */ |
| 336 | iarg[2] = p->count; /* int */ |
| 337 | break; |
| 338 | } |
| 339 | /* execve */ |
| 340 | case 59: { |
| 341 | struct execve_args *p = params; |
| 342 | uarg[0] = (intptr_t) p->fname; /* char * */ |
| 343 | uarg[1] = (intptr_t) p->argp; /* char ** */ |
| 344 | uarg[2] = (intptr_t) p->envp; /* char ** */ |
| 345 | break; |
| 346 | } |
| 347 | /* umask */ |
| 348 | case 60: { |
| 349 | struct umask_args *p = params; |
| 350 | iarg[0] = p->newmask; /* int */ |
| 351 | break; |
| 352 | } |
| 353 | /* chroot */ |
| 354 | case 61: { |
| 355 | struct chroot_args *p = params; |
| 356 | uarg[0] = p->path; /* user_addr_t */ |
| 357 | break; |
| 358 | } |
| 359 | /* msync */ |
| 360 | case 65: { |
| 361 | struct msync_args *p = params; |
| 362 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 363 | uarg[1] = p->len; /* size_t */ |
| 364 | iarg[2] = p->flags; /* int */ |
| 365 | break; |
| 366 | } |
| 367 | /* vfork */ |
| 368 | case 66: { |
| 369 | break; |
| 370 | } |
| 371 | /* munmap */ |
| 372 | case 73: { |
| 373 | struct munmap_args *p = params; |
| 374 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 375 | uarg[1] = p->len; /* size_t */ |
| 376 | break; |
| 377 | } |
| 378 | /* mprotect */ |
| 379 | case 74: { |
| 380 | struct mprotect_args *p = params; |
| 381 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 382 | uarg[1] = p->len; /* size_t */ |
| 383 | iarg[2] = p->prot; /* int */ |
| 384 | break; |
| 385 | } |
| 386 | /* madvise */ |
| 387 | case 75: { |
| 388 | struct madvise_args *p = params; |
| 389 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 390 | uarg[1] = p->len; /* size_t */ |
| 391 | iarg[2] = p->behav; /* int */ |
| 392 | break; |
| 393 | } |
| 394 | /* mincore */ |
| 395 | case 78: { |
| 396 | struct mincore_args *p = params; |
| 397 | uarg[0] = p->addr; /* user_addr_t */ |
| 398 | uarg[1] = p->len; /* user_size_t */ |
| 399 | uarg[2] = p->vec; /* user_addr_t */ |
| 400 | break; |
| 401 | } |
| 402 | /* getgroups */ |
| 403 | case 79: { |
| 404 | struct getgroups_args *p = params; |
| 405 | uarg[0] = p->gidsetsize; /* u_int */ |
| 406 | uarg[1] = (intptr_t) p->gidset; /* gid_t * */ |
| 407 | break; |
| 408 | } |
| 409 | /* setgroups */ |
| 410 | case 80: { |
| 411 | struct setgroups_args *p = params; |
| 412 | uarg[0] = p->gidsetsize; /* u_int */ |
| 413 | uarg[1] = (intptr_t) p->gidset; /* gid_t * */ |
| 414 | break; |
| 415 | } |
| 416 | /* getpgrp */ |
| 417 | case 81: { |
| 418 | break; |
| 419 | } |
| 420 | /* setpgid */ |
| 421 | case 82: { |
| 422 | struct setpgid_args *p = params; |
| 423 | iarg[0] = p->pid; /* int */ |
| 424 | iarg[1] = p->pgid; /* int */ |
| 425 | break; |
| 426 | } |
| 427 | /* setitimer */ |
| 428 | case 83: { |
| 429 | struct setitimer_args *p = params; |
| 430 | uarg[0] = p->which; /* u_int */ |
| 431 | uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ |
| 432 | uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */ |
| 433 | break; |
| 434 | } |
| 435 | /* swapon */ |
| 436 | case 85: { |
| 437 | break; |
| 438 | } |
| 439 | /* getitimer */ |
| 440 | case 86: { |
| 441 | struct getitimer_args *p = params; |
| 442 | uarg[0] = p->which; /* u_int */ |
| 443 | uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ |
| 444 | break; |
| 445 | } |
| 446 | /* getdtablesize */ |
| 447 | case 89: { |
| 448 | break; |
| 449 | } |
| 450 | /* dup2 */ |
| 451 | case 90: { |
| 452 | struct dup2_args *p = params; |
| 453 | uarg[0] = p->from; /* u_int */ |
| 454 | uarg[1] = p->to; /* u_int */ |
| 455 | break; |
| 456 | } |
| 457 | /* fcntl */ |
| 458 | case 92: { |
| 459 | struct fcntl_args *p = params; |
| 460 | iarg[0] = p->fd; /* int */ |
| 461 | iarg[1] = p->cmd; /* int */ |
| 462 | iarg[2] = p->arg; /* long */ |
| 463 | break; |
| 464 | } |
| 465 | /* select */ |
| 466 | case 93: { |
| 467 | struct select_args *p = params; |
| 468 | iarg[0] = p->nd; /* int */ |
| 469 | uarg[1] = (intptr_t) p->in; /* u_int32_t * */ |
| 470 | uarg[2] = (intptr_t) p->ou; /* u_int32_t * */ |
| 471 | uarg[3] = (intptr_t) p->ex; /* u_int32_t * */ |
| 472 | uarg[4] = (intptr_t) p->tv; /* struct timeval * */ |
| 473 | break; |
| 474 | } |
| 475 | /* fsync */ |
| 476 | case 95: { |
| 477 | struct fsync_args *p = params; |
| 478 | iarg[0] = p->fd; /* int */ |
| 479 | break; |
| 480 | } |
| 481 | /* setpriority */ |
| 482 | case 96: { |
| 483 | struct setpriority_args *p = params; |
| 484 | iarg[0] = p->which; /* int */ |
| 485 | iarg[1] = p->who; /* id_t */ |
| 486 | iarg[2] = p->prio; /* int */ |
| 487 | break; |
| 488 | } |
| 489 | #if SOCKETS |
| 490 | /* socket */ |
| 491 | case 97: { |
| 492 | struct socket_args *p = params; |
| 493 | iarg[0] = p->domain; /* int */ |
| 494 | iarg[1] = p->type; /* int */ |
| 495 | iarg[2] = p->protocol; /* int */ |
| 496 | break; |
| 497 | } |
| 498 | /* connect */ |
| 499 | case 98: { |
| 500 | struct connect_args *p = params; |
| 501 | iarg[0] = p->s; /* int */ |
| 502 | uarg[1] = (intptr_t) p->name; /* caddr_t */ |
| 503 | iarg[2] = p->namelen; /* socklen_t */ |
| 504 | break; |
| 505 | } |
| 506 | #else |
| 507 | #endif /* SOCKETS */ |
| 508 | /* getpriority */ |
| 509 | case 100: { |
| 510 | struct getpriority_args *p = params; |
| 511 | iarg[0] = p->which; /* int */ |
| 512 | iarg[1] = p->who; /* id_t */ |
| 513 | break; |
| 514 | } |
| 515 | #if SOCKETS |
| 516 | /* bind */ |
| 517 | case 104: { |
| 518 | struct bind_args *p = params; |
| 519 | iarg[0] = p->s; /* int */ |
| 520 | uarg[1] = (intptr_t) p->name; /* caddr_t */ |
| 521 | iarg[2] = p->namelen; /* socklen_t */ |
| 522 | break; |
| 523 | } |
| 524 | /* setsockopt */ |
| 525 | case 105: { |
| 526 | struct setsockopt_args *p = params; |
| 527 | iarg[0] = p->s; /* int */ |
| 528 | iarg[1] = p->level; /* int */ |
| 529 | iarg[2] = p->name; /* int */ |
| 530 | uarg[3] = (intptr_t) p->val; /* caddr_t */ |
| 531 | iarg[4] = p->valsize; /* socklen_t */ |
| 532 | break; |
| 533 | } |
| 534 | /* listen */ |
| 535 | case 106: { |
| 536 | struct listen_args *p = params; |
| 537 | iarg[0] = p->s; /* int */ |
| 538 | iarg[1] = p->backlog; /* int */ |
| 539 | break; |
| 540 | } |
| 541 | #else |
| 542 | #endif /* SOCKETS */ |
| 543 | /* sigsuspend */ |
| 544 | case 111: { |
| 545 | struct sigsuspend_args *p = params; |
| 546 | iarg[0] = p->mask; /* sigset_t */ |
| 547 | break; |
| 548 | } |
| 549 | #if SOCKETS |
| 550 | #else |
| 551 | #endif /* SOCKETS */ |
| 552 | /* gettimeofday */ |
| 553 | case 116: { |
| 554 | struct gettimeofday_args *p = params; |
| 555 | uarg[0] = (intptr_t) p->tp; /* struct timeval * */ |
| 556 | uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ |
| 557 | uarg[2] = (intptr_t) p->mach_absolute_time; /* uint64_t * */ |
| 558 | break; |
| 559 | } |
| 560 | /* getrusage */ |
| 561 | case 117: { |
| 562 | struct getrusage_args *p = params; |
| 563 | iarg[0] = p->who; /* int */ |
| 564 | uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ |
| 565 | break; |
| 566 | } |
| 567 | #if SOCKETS |
| 568 | /* getsockopt */ |
| 569 | case 118: { |
| 570 | struct getsockopt_args *p = params; |
| 571 | iarg[0] = p->s; /* int */ |
| 572 | iarg[1] = p->level; /* int */ |
| 573 | iarg[2] = p->name; /* int */ |
| 574 | uarg[3] = (intptr_t) p->val; /* caddr_t */ |
| 575 | uarg[4] = (intptr_t) p->avalsize; /* socklen_t * */ |
| 576 | break; |
| 577 | } |
| 578 | #else |
| 579 | #endif /* SOCKETS */ |
| 580 | /* readv */ |
| 581 | case 120: { |
| 582 | struct readv_args *p = params; |
| 583 | iarg[0] = p->fd; /* int */ |
| 584 | uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ |
| 585 | uarg[2] = p->iovcnt; /* u_int */ |
| 586 | break; |
| 587 | } |
| 588 | /* writev */ |
| 589 | case 121: { |
| 590 | struct writev_args *p = params; |
| 591 | iarg[0] = p->fd; /* int */ |
| 592 | uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ |
| 593 | uarg[2] = p->iovcnt; /* u_int */ |
| 594 | break; |
| 595 | } |
| 596 | /* settimeofday */ |
| 597 | case 122: { |
| 598 | struct settimeofday_args *p = params; |
| 599 | uarg[0] = (intptr_t) p->tv; /* struct timeval * */ |
| 600 | uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ |
| 601 | break; |
| 602 | } |
| 603 | /* fchown */ |
| 604 | case 123: { |
| 605 | struct fchown_args *p = params; |
| 606 | iarg[0] = p->fd; /* int */ |
| 607 | iarg[1] = p->uid; /* int */ |
| 608 | iarg[2] = p->gid; /* int */ |
| 609 | break; |
| 610 | } |
| 611 | /* fchmod */ |
| 612 | case 124: { |
| 613 | struct fchmod_args *p = params; |
| 614 | iarg[0] = p->fd; /* int */ |
| 615 | iarg[1] = p->mode; /* int */ |
| 616 | break; |
| 617 | } |
| 618 | /* setreuid */ |
| 619 | case 126: { |
| 620 | struct setreuid_args *p = params; |
| 621 | uarg[0] = p->ruid; /* uid_t */ |
| 622 | uarg[1] = p->euid; /* uid_t */ |
| 623 | break; |
| 624 | } |
| 625 | /* setregid */ |
| 626 | case 127: { |
| 627 | struct setregid_args *p = params; |
| 628 | iarg[0] = p->rgid; /* gid_t */ |
| 629 | iarg[1] = p->egid; /* gid_t */ |
| 630 | break; |
| 631 | } |
| 632 | /* rename */ |
| 633 | case 128: { |
| 634 | struct rename_args *p = params; |
| 635 | uarg[0] = (intptr_t) p->from; /* char * */ |
| 636 | uarg[1] = (intptr_t) p->to; /* char * */ |
| 637 | break; |
| 638 | } |
| 639 | /* flock */ |
| 640 | case 131: { |
| 641 | struct flock_args *p = params; |
| 642 | iarg[0] = p->fd; /* int */ |
| 643 | iarg[1] = p->how; /* int */ |
| 644 | break; |
| 645 | } |
| 646 | /* mkfifo */ |
| 647 | case 132: { |
| 648 | struct mkfifo_args *p = params; |
| 649 | uarg[0] = p->path; /* user_addr_t */ |
| 650 | iarg[1] = p->mode; /* int */ |
| 651 | break; |
| 652 | } |
| 653 | #if SOCKETS |
| 654 | /* sendto */ |
| 655 | case 133: { |
| 656 | struct sendto_args *p = params; |
| 657 | iarg[0] = p->s; /* int */ |
| 658 | uarg[1] = (intptr_t) p->buf; /* caddr_t */ |
| 659 | uarg[2] = p->len; /* size_t */ |
| 660 | iarg[3] = p->flags; /* int */ |
| 661 | uarg[4] = (intptr_t) p->to; /* caddr_t */ |
| 662 | iarg[5] = p->tolen; /* socklen_t */ |
| 663 | break; |
| 664 | } |
| 665 | /* shutdown */ |
| 666 | case 134: { |
| 667 | struct shutdown_args *p = params; |
| 668 | iarg[0] = p->s; /* int */ |
| 669 | iarg[1] = p->how; /* int */ |
| 670 | break; |
| 671 | } |
| 672 | /* socketpair */ |
| 673 | case 135: { |
| 674 | struct socketpair_args *p = params; |
| 675 | iarg[0] = p->domain; /* int */ |
| 676 | iarg[1] = p->type; /* int */ |
| 677 | iarg[2] = p->protocol; /* int */ |
| 678 | uarg[3] = (intptr_t) p->rsv; /* int * */ |
| 679 | break; |
| 680 | } |
| 681 | #else |
| 682 | #endif /* SOCKETS */ |
| 683 | /* mkdir */ |
| 684 | case 136: { |
| 685 | struct mkdir_args *p = params; |
| 686 | uarg[0] = p->path; /* user_addr_t */ |
| 687 | iarg[1] = p->mode; /* int */ |
| 688 | break; |
| 689 | } |
| 690 | /* rmdir */ |
| 691 | case 137: { |
| 692 | struct rmdir_args *p = params; |
| 693 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 694 | break; |
| 695 | } |
| 696 | /* utimes */ |
| 697 | case 138: { |
| 698 | struct utimes_args *p = params; |
| 699 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 700 | uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ |
| 701 | break; |
| 702 | } |
| 703 | /* futimes */ |
| 704 | case 139: { |
| 705 | struct futimes_args *p = params; |
| 706 | iarg[0] = p->fd; /* int */ |
| 707 | uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ |
| 708 | break; |
| 709 | } |
| 710 | /* adjtime */ |
| 711 | case 140: { |
| 712 | struct adjtime_args *p = params; |
| 713 | uarg[0] = (intptr_t) p->delta; /* struct timeval * */ |
| 714 | uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */ |
| 715 | break; |
| 716 | } |
| 717 | /* gethostuuid */ |
| 718 | case 142: { |
| 719 | struct gethostuuid_args *p = params; |
| 720 | uarg[0] = (intptr_t) p->uuid_buf; /* unsigned char * */ |
| 721 | uarg[1] = (intptr_t) p->timeoutp; /* const struct timespec * */ |
| 722 | iarg[2] = p->spi; /* int */ |
| 723 | break; |
| 724 | } |
| 725 | /* setsid */ |
| 726 | case 147: { |
| 727 | break; |
| 728 | } |
| 729 | /* getpgid */ |
| 730 | case 151: { |
| 731 | struct getpgid_args *p = params; |
| 732 | iarg[0] = p->pid; /* pid_t */ |
| 733 | break; |
| 734 | } |
| 735 | /* setprivexec */ |
| 736 | case 152: { |
| 737 | struct setprivexec_args *p = params; |
| 738 | iarg[0] = p->flag; /* int */ |
| 739 | break; |
| 740 | } |
| 741 | /* pread */ |
| 742 | case 153: { |
| 743 | struct pread_args *p = params; |
| 744 | iarg[0] = p->fd; /* int */ |
| 745 | uarg[1] = p->buf; /* user_addr_t */ |
| 746 | uarg[2] = p->nbyte; /* user_size_t */ |
| 747 | iarg[3] = p->offset; /* off_t */ |
| 748 | break; |
| 749 | } |
| 750 | /* pwrite */ |
| 751 | case 154: { |
| 752 | struct pwrite_args *p = params; |
| 753 | iarg[0] = p->fd; /* int */ |
| 754 | uarg[1] = p->buf; /* user_addr_t */ |
| 755 | uarg[2] = p->nbyte; /* user_size_t */ |
| 756 | iarg[3] = p->offset; /* off_t */ |
| 757 | break; |
| 758 | } |
| 759 | #if NFSSERVER |
| 760 | /* nfssvc */ |
| 761 | case 155: { |
| 762 | struct nfssvc_args *p = params; |
| 763 | iarg[0] = p->flag; /* int */ |
| 764 | uarg[1] = (intptr_t) p->argp; /* caddr_t */ |
| 765 | break; |
| 766 | } |
| 767 | #else |
| 768 | #endif |
| 769 | /* statfs */ |
| 770 | case 157: { |
| 771 | struct statfs_args *p = params; |
| 772 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 773 | uarg[1] = (intptr_t) p->buf; /* struct statfs * */ |
| 774 | break; |
| 775 | } |
| 776 | /* fstatfs */ |
| 777 | case 158: { |
| 778 | struct fstatfs_args *p = params; |
| 779 | iarg[0] = p->fd; /* int */ |
| 780 | uarg[1] = (intptr_t) p->buf; /* struct statfs * */ |
| 781 | break; |
| 782 | } |
| 783 | /* unmount */ |
| 784 | case 159: { |
| 785 | struct unmount_args *p = params; |
| 786 | uarg[0] = p->path; /* user_addr_t */ |
| 787 | iarg[1] = p->flags; /* int */ |
| 788 | break; |
| 789 | } |
| 790 | #if NFSSERVER |
| 791 | /* getfh */ |
| 792 | case 161: { |
| 793 | struct getfh_args *p = params; |
| 794 | uarg[0] = (intptr_t) p->fname; /* char * */ |
| 795 | uarg[1] = (intptr_t) p->fhp; /* fhandle_t * */ |
| 796 | break; |
| 797 | } |
| 798 | #else |
| 799 | #endif |
| 800 | /* quotactl */ |
| 801 | case 165: { |
| 802 | struct quotactl_args *p = params; |
| 803 | uarg[0] = (intptr_t) p->path; /* const char * */ |
| 804 | iarg[1] = p->cmd; /* int */ |
| 805 | iarg[2] = p->uid; /* int */ |
| 806 | uarg[3] = (intptr_t) p->arg; /* caddr_t */ |
| 807 | break; |
| 808 | } |
| 809 | /* mount */ |
| 810 | case 167: { |
| 811 | struct mount_args *p = params; |
| 812 | uarg[0] = (intptr_t) p->type; /* char * */ |
| 813 | uarg[1] = (intptr_t) p->path; /* char * */ |
| 814 | iarg[2] = p->flags; /* int */ |
| 815 | uarg[3] = (intptr_t) p->data; /* caddr_t */ |
| 816 | break; |
| 817 | } |
| 818 | /* csops */ |
| 819 | case 169: { |
| 820 | struct csops_args *p = params; |
| 821 | iarg[0] = p->pid; /* pid_t */ |
| 822 | uarg[1] = p->ops; /* uint32_t */ |
| 823 | uarg[2] = p->useraddr; /* user_addr_t */ |
| 824 | uarg[3] = p->usersize; /* user_size_t */ |
| 825 | break; |
| 826 | } |
| 827 | /* csops_audittoken */ |
| 828 | case 170: { |
| 829 | struct csops_audittoken_args *p = params; |
| 830 | iarg[0] = p->pid; /* pid_t */ |
| 831 | uarg[1] = p->ops; /* uint32_t */ |
| 832 | uarg[2] = p->useraddr; /* user_addr_t */ |
| 833 | uarg[3] = p->usersize; /* user_size_t */ |
| 834 | uarg[4] = p->uaudittoken; /* user_addr_t */ |
| 835 | break; |
| 836 | } |
| 837 | /* waitid */ |
| 838 | case 173: { |
| 839 | struct waitid_args *p = params; |
| 840 | iarg[0] = p->idtype; /* idtype_t */ |
| 841 | iarg[1] = p->id; /* id_t */ |
| 842 | uarg[2] = (intptr_t) p->infop; /* siginfo_t * */ |
| 843 | iarg[3] = p->options; /* int */ |
| 844 | break; |
| 845 | } |
| 846 | /* kdebug_typefilter */ |
| 847 | case 177: { |
| 848 | struct kdebug_typefilter_args *p = params; |
| 849 | uarg[0] = (intptr_t) p->addr; /* void ** */ |
| 850 | uarg[1] = (intptr_t) p->size; /* size_t * */ |
| 851 | break; |
| 852 | } |
| 853 | /* kdebug_trace_string */ |
| 854 | case 178: { |
| 855 | struct kdebug_trace_string_args *p = params; |
| 856 | uarg[0] = p->debugid; /* uint32_t */ |
| 857 | uarg[1] = p->str_id; /* uint64_t */ |
| 858 | uarg[2] = (intptr_t) p->str; /* const char * */ |
| 859 | break; |
| 860 | } |
| 861 | /* kdebug_trace64 */ |
| 862 | case 179: { |
| 863 | struct kdebug_trace64_args *p = params; |
| 864 | uarg[0] = p->code; /* uint32_t */ |
| 865 | uarg[1] = p->arg1; /* uint64_t */ |
| 866 | uarg[2] = p->arg2; /* uint64_t */ |
| 867 | uarg[3] = p->arg3; /* uint64_t */ |
| 868 | uarg[4] = p->arg4; /* uint64_t */ |
| 869 | break; |
| 870 | } |
| 871 | /* kdebug_trace */ |
| 872 | case 180: { |
| 873 | struct kdebug_trace_args *p = params; |
| 874 | uarg[0] = p->code; /* uint32_t */ |
| 875 | uarg[1] = p->arg1; /* u_long */ |
| 876 | uarg[2] = p->arg2; /* u_long */ |
| 877 | uarg[3] = p->arg3; /* u_long */ |
| 878 | uarg[4] = p->arg4; /* u_long */ |
| 879 | break; |
| 880 | } |
| 881 | /* setgid */ |
| 882 | case 181: { |
| 883 | struct setgid_args *p = params; |
| 884 | iarg[0] = p->gid; /* gid_t */ |
| 885 | break; |
| 886 | } |
| 887 | /* setegid */ |
| 888 | case 182: { |
| 889 | struct setegid_args *p = params; |
| 890 | iarg[0] = p->egid; /* gid_t */ |
| 891 | break; |
| 892 | } |
| 893 | /* seteuid */ |
| 894 | case 183: { |
| 895 | struct seteuid_args *p = params; |
| 896 | uarg[0] = p->euid; /* uid_t */ |
| 897 | break; |
| 898 | } |
| 899 | /* sigreturn */ |
| 900 | case 184: { |
| 901 | struct sigreturn_args *p = params; |
| 902 | uarg[0] = (intptr_t) p->uctx; /* struct ucontext * */ |
| 903 | iarg[1] = p->infostyle; /* int */ |
| 904 | uarg[2] = p->token; /* user_addr_t */ |
| 905 | break; |
| 906 | } |
| 907 | /* thread_selfcounts */ |
| 908 | case 186: { |
| 909 | struct thread_selfcounts_args *p = params; |
| 910 | iarg[0] = p->type; /* int */ |
| 911 | uarg[1] = p->buf; /* user_addr_t */ |
| 912 | uarg[2] = p->nbytes; /* user_size_t */ |
| 913 | break; |
| 914 | } |
| 915 | /* fdatasync */ |
| 916 | case 187: { |
| 917 | struct fdatasync_args *p = params; |
| 918 | iarg[0] = p->fd; /* int */ |
| 919 | break; |
| 920 | } |
| 921 | /* stat */ |
| 922 | case 188: { |
| 923 | struct stat_args *p = params; |
| 924 | uarg[0] = p->path; /* user_addr_t */ |
| 925 | uarg[1] = p->ub; /* user_addr_t */ |
| 926 | break; |
| 927 | } |
| 928 | /* fstat */ |
| 929 | case 189: { |
| 930 | struct fstat_args *p = params; |
| 931 | iarg[0] = p->fd; /* int */ |
| 932 | uarg[1] = p->ub; /* user_addr_t */ |
| 933 | break; |
| 934 | } |
| 935 | /* lstat */ |
| 936 | case 190: { |
| 937 | struct lstat_args *p = params; |
| 938 | uarg[0] = p->path; /* user_addr_t */ |
| 939 | uarg[1] = p->ub; /* user_addr_t */ |
| 940 | break; |
| 941 | } |
| 942 | /* pathconf */ |
| 943 | case 191: { |
| 944 | struct pathconf_args *p = params; |
| 945 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 946 | iarg[1] = p->name; /* int */ |
| 947 | break; |
| 948 | } |
| 949 | /* fpathconf */ |
| 950 | case 192: { |
| 951 | struct fpathconf_args *p = params; |
| 952 | iarg[0] = p->fd; /* int */ |
| 953 | iarg[1] = p->name; /* int */ |
| 954 | break; |
| 955 | } |
| 956 | /* getrlimit */ |
| 957 | case 194: { |
| 958 | struct getrlimit_args *p = params; |
| 959 | uarg[0] = p->which; /* u_int */ |
| 960 | uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ |
| 961 | break; |
| 962 | } |
| 963 | /* setrlimit */ |
| 964 | case 195: { |
| 965 | struct setrlimit_args *p = params; |
| 966 | uarg[0] = p->which; /* u_int */ |
| 967 | uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ |
| 968 | break; |
| 969 | } |
| 970 | /* getdirentries */ |
| 971 | case 196: { |
| 972 | struct getdirentries_args *p = params; |
| 973 | iarg[0] = p->fd; /* int */ |
| 974 | uarg[1] = (intptr_t) p->buf; /* char * */ |
| 975 | uarg[2] = p->count; /* u_int */ |
| 976 | uarg[3] = (intptr_t) p->basep; /* long * */ |
| 977 | break; |
| 978 | } |
| 979 | /* mmap */ |
| 980 | case 197: { |
| 981 | struct mmap_args *p = params; |
| 982 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 983 | uarg[1] = p->len; /* size_t */ |
| 984 | iarg[2] = p->prot; /* int */ |
| 985 | iarg[3] = p->flags; /* int */ |
| 986 | iarg[4] = p->fd; /* int */ |
| 987 | iarg[5] = p->pos; /* off_t */ |
| 988 | break; |
| 989 | } |
| 990 | /* lseek */ |
| 991 | case 199: { |
| 992 | struct lseek_args *p = params; |
| 993 | iarg[0] = p->fd; /* int */ |
| 994 | iarg[1] = p->offset; /* off_t */ |
| 995 | iarg[2] = p->whence; /* int */ |
| 996 | break; |
| 997 | } |
| 998 | /* truncate */ |
| 999 | case 200: { |
| 1000 | struct truncate_args *p = params; |
| 1001 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 1002 | iarg[1] = p->length; /* off_t */ |
| 1003 | break; |
| 1004 | } |
| 1005 | /* ftruncate */ |
| 1006 | case 201: { |
| 1007 | struct ftruncate_args *p = params; |
| 1008 | iarg[0] = p->fd; /* int */ |
| 1009 | iarg[1] = p->length; /* off_t */ |
| 1010 | break; |
| 1011 | } |
| 1012 | /* sysctl */ |
| 1013 | case 202: { |
| 1014 | struct sysctl_args *p = params; |
| 1015 | uarg[0] = (intptr_t) p->name; /* int * */ |
| 1016 | uarg[1] = p->namelen; /* u_int */ |
| 1017 | uarg[2] = (intptr_t) p->old; /* void * */ |
| 1018 | uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ |
| 1019 | uarg[4] = (intptr_t) p->new; /* void * */ |
| 1020 | uarg[5] = p->newlen; /* size_t */ |
| 1021 | break; |
| 1022 | } |
| 1023 | /* mlock */ |
| 1024 | case 203: { |
| 1025 | struct mlock_args *p = params; |
| 1026 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 1027 | uarg[1] = p->len; /* size_t */ |
| 1028 | break; |
| 1029 | } |
| 1030 | /* munlock */ |
| 1031 | case 204: { |
| 1032 | struct munlock_args *p = params; |
| 1033 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 1034 | uarg[1] = p->len; /* size_t */ |
| 1035 | break; |
| 1036 | } |
| 1037 | /* undelete */ |
| 1038 | case 205: { |
| 1039 | struct undelete_args *p = params; |
| 1040 | uarg[0] = p->path; /* user_addr_t */ |
| 1041 | break; |
| 1042 | } |
| 1043 | /* open_dprotected_np */ |
| 1044 | case 216: { |
| 1045 | struct open_dprotected_np_args *p = params; |
| 1046 | uarg[0] = p->path; /* user_addr_t */ |
| 1047 | iarg[1] = p->flags; /* int */ |
| 1048 | iarg[2] = p->class; /* int */ |
| 1049 | iarg[3] = p->dpflags; /* int */ |
| 1050 | iarg[4] = p->mode; /* int */ |
| 1051 | break; |
| 1052 | } |
| 1053 | /* getattrlist */ |
| 1054 | case 220: { |
| 1055 | struct getattrlist_args *p = params; |
| 1056 | uarg[0] = (intptr_t) p->path; /* const char * */ |
| 1057 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 1058 | uarg[2] = (intptr_t) p->attributeBuffer; /* void * */ |
| 1059 | uarg[3] = p->bufferSize; /* size_t */ |
| 1060 | uarg[4] = p->options; /* u_long */ |
| 1061 | break; |
| 1062 | } |
| 1063 | /* setattrlist */ |
| 1064 | case 221: { |
| 1065 | struct setattrlist_args *p = params; |
| 1066 | uarg[0] = (intptr_t) p->path; /* const char * */ |
| 1067 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 1068 | uarg[2] = (intptr_t) p->attributeBuffer; /* void * */ |
| 1069 | uarg[3] = p->bufferSize; /* size_t */ |
| 1070 | uarg[4] = p->options; /* u_long */ |
| 1071 | break; |
| 1072 | } |
| 1073 | /* getdirentriesattr */ |
| 1074 | case 222: { |
| 1075 | struct getdirentriesattr_args *p = params; |
| 1076 | iarg[0] = p->fd; /* int */ |
| 1077 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 1078 | uarg[2] = (intptr_t) p->buffer; /* void * */ |
| 1079 | uarg[3] = p->buffersize; /* size_t */ |
| 1080 | uarg[4] = (intptr_t) p->count; /* u_long * */ |
| 1081 | uarg[5] = (intptr_t) p->basep; /* u_long * */ |
| 1082 | uarg[6] = (intptr_t) p->newstate; /* u_long * */ |
| 1083 | uarg[7] = p->options; /* u_long */ |
| 1084 | break; |
| 1085 | } |
| 1086 | /* exchangedata */ |
| 1087 | case 223: { |
| 1088 | struct exchangedata_args *p = params; |
| 1089 | uarg[0] = (intptr_t) p->path1; /* const char * */ |
| 1090 | uarg[1] = (intptr_t) p->path2; /* const char * */ |
| 1091 | uarg[2] = p->options; /* u_long */ |
| 1092 | break; |
| 1093 | } |
| 1094 | /* searchfs */ |
| 1095 | case 225: { |
| 1096 | struct searchfs_args *p = params; |
| 1097 | uarg[0] = (intptr_t) p->path; /* const char * */ |
| 1098 | uarg[1] = (intptr_t) p->searchblock; /* struct fssearchblock * */ |
| 1099 | uarg[2] = (intptr_t) p->nummatches; /* uint32_t * */ |
| 1100 | uarg[3] = p->scriptcode; /* uint32_t */ |
| 1101 | uarg[4] = p->options; /* uint32_t */ |
| 1102 | uarg[5] = (intptr_t) p->state; /* struct searchstate * */ |
| 1103 | break; |
| 1104 | } |
| 1105 | /* delete */ |
| 1106 | case 226: { |
| 1107 | struct delete_args *p = params; |
| 1108 | uarg[0] = p->path; /* user_addr_t */ |
| 1109 | break; |
| 1110 | } |
| 1111 | /* copyfile */ |
| 1112 | case 227: { |
| 1113 | struct copyfile_args *p = params; |
| 1114 | uarg[0] = (intptr_t) p->from; /* char * */ |
| 1115 | uarg[1] = (intptr_t) p->to; /* char * */ |
| 1116 | iarg[2] = p->mode; /* int */ |
| 1117 | iarg[3] = p->flags; /* int */ |
| 1118 | break; |
| 1119 | } |
| 1120 | /* fgetattrlist */ |
| 1121 | case 228: { |
| 1122 | struct fgetattrlist_args *p = params; |
| 1123 | iarg[0] = p->fd; /* int */ |
| 1124 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 1125 | uarg[2] = (intptr_t) p->attributeBuffer; /* void * */ |
| 1126 | uarg[3] = p->bufferSize; /* size_t */ |
| 1127 | uarg[4] = p->options; /* u_long */ |
| 1128 | break; |
| 1129 | } |
| 1130 | /* fsetattrlist */ |
| 1131 | case 229: { |
| 1132 | struct fsetattrlist_args *p = params; |
| 1133 | iarg[0] = p->fd; /* int */ |
| 1134 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 1135 | uarg[2] = (intptr_t) p->attributeBuffer; /* void * */ |
| 1136 | uarg[3] = p->bufferSize; /* size_t */ |
| 1137 | uarg[4] = p->options; /* u_long */ |
| 1138 | break; |
| 1139 | } |
| 1140 | /* poll */ |
| 1141 | case 230: { |
| 1142 | struct poll_args *p = params; |
| 1143 | uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ |
| 1144 | uarg[1] = p->nfds; /* u_int */ |
| 1145 | iarg[2] = p->timeout; /* int */ |
| 1146 | break; |
| 1147 | } |
| 1148 | /* watchevent */ |
| 1149 | case 231: { |
| 1150 | struct watchevent_args *p = params; |
| 1151 | uarg[0] = (intptr_t) p->u_req; /* struct eventreq * */ |
| 1152 | iarg[1] = p->u_eventmask; /* int */ |
| 1153 | break; |
| 1154 | } |
| 1155 | /* waitevent */ |
| 1156 | case 232: { |
| 1157 | struct waitevent_args *p = params; |
| 1158 | uarg[0] = (intptr_t) p->u_req; /* struct eventreq * */ |
| 1159 | uarg[1] = (intptr_t) p->tv; /* struct timeval * */ |
| 1160 | break; |
| 1161 | } |
| 1162 | /* modwatch */ |
| 1163 | case 233: { |
| 1164 | struct modwatch_args *p = params; |
| 1165 | uarg[0] = (intptr_t) p->u_req; /* struct eventreq * */ |
| 1166 | iarg[1] = p->u_eventmask; /* int */ |
| 1167 | break; |
| 1168 | } |
| 1169 | /* getxattr */ |
| 1170 | case 234: { |
| 1171 | struct getxattr_args *p = params; |
| 1172 | uarg[0] = p->path; /* user_addr_t */ |
| 1173 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1174 | uarg[2] = p->value; /* user_addr_t */ |
| 1175 | uarg[3] = p->size; /* size_t */ |
| 1176 | uarg[4] = p->position; /* uint32_t */ |
| 1177 | iarg[5] = p->options; /* int */ |
| 1178 | break; |
| 1179 | } |
| 1180 | /* fgetxattr */ |
| 1181 | case 235: { |
| 1182 | struct fgetxattr_args *p = params; |
| 1183 | iarg[0] = p->fd; /* int */ |
| 1184 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1185 | uarg[2] = p->value; /* user_addr_t */ |
| 1186 | uarg[3] = p->size; /* size_t */ |
| 1187 | uarg[4] = p->position; /* uint32_t */ |
| 1188 | iarg[5] = p->options; /* int */ |
| 1189 | break; |
| 1190 | } |
| 1191 | /* setxattr */ |
| 1192 | case 236: { |
| 1193 | struct setxattr_args *p = params; |
| 1194 | uarg[0] = p->path; /* user_addr_t */ |
| 1195 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1196 | uarg[2] = p->value; /* user_addr_t */ |
| 1197 | uarg[3] = p->size; /* size_t */ |
| 1198 | uarg[4] = p->position; /* uint32_t */ |
| 1199 | iarg[5] = p->options; /* int */ |
| 1200 | break; |
| 1201 | } |
| 1202 | /* fsetxattr */ |
| 1203 | case 237: { |
| 1204 | struct fsetxattr_args *p = params; |
| 1205 | iarg[0] = p->fd; /* int */ |
| 1206 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1207 | uarg[2] = p->value; /* user_addr_t */ |
| 1208 | uarg[3] = p->size; /* size_t */ |
| 1209 | uarg[4] = p->position; /* uint32_t */ |
| 1210 | iarg[5] = p->options; /* int */ |
| 1211 | break; |
| 1212 | } |
| 1213 | /* removexattr */ |
| 1214 | case 238: { |
| 1215 | struct removexattr_args *p = params; |
| 1216 | uarg[0] = p->path; /* user_addr_t */ |
| 1217 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1218 | iarg[2] = p->options; /* int */ |
| 1219 | break; |
| 1220 | } |
| 1221 | /* fremovexattr */ |
| 1222 | case 239: { |
| 1223 | struct fremovexattr_args *p = params; |
| 1224 | iarg[0] = p->fd; /* int */ |
| 1225 | uarg[1] = p->attrname; /* user_addr_t */ |
| 1226 | iarg[2] = p->options; /* int */ |
| 1227 | break; |
| 1228 | } |
| 1229 | /* listxattr */ |
| 1230 | case 240: { |
| 1231 | struct listxattr_args *p = params; |
| 1232 | uarg[0] = p->path; /* user_addr_t */ |
| 1233 | uarg[1] = p->namebuf; /* user_addr_t */ |
| 1234 | uarg[2] = p->bufsize; /* size_t */ |
| 1235 | iarg[3] = p->options; /* int */ |
| 1236 | break; |
| 1237 | } |
| 1238 | /* flistxattr */ |
| 1239 | case 241: { |
| 1240 | struct flistxattr_args *p = params; |
| 1241 | iarg[0] = p->fd; /* int */ |
| 1242 | uarg[1] = p->namebuf; /* user_addr_t */ |
| 1243 | uarg[2] = p->bufsize; /* size_t */ |
| 1244 | iarg[3] = p->options; /* int */ |
| 1245 | break; |
| 1246 | } |
| 1247 | /* fsctl */ |
| 1248 | case 242: { |
| 1249 | struct fsctl_args *p = params; |
| 1250 | uarg[0] = (intptr_t) p->path; /* const char * */ |
| 1251 | uarg[1] = p->cmd; /* u_long */ |
| 1252 | uarg[2] = (intptr_t) p->data; /* caddr_t */ |
| 1253 | uarg[3] = p->options; /* u_int */ |
| 1254 | break; |
| 1255 | } |
| 1256 | /* initgroups */ |
| 1257 | case 243: { |
| 1258 | struct initgroups_args *p = params; |
| 1259 | uarg[0] = p->gidsetsize; /* u_int */ |
| 1260 | uarg[1] = (intptr_t) p->gidset; /* gid_t * */ |
| 1261 | iarg[2] = p->gmuid; /* int */ |
| 1262 | break; |
| 1263 | } |
| 1264 | /* posix_spawn */ |
| 1265 | case 244: { |
| 1266 | struct posix_spawn_args *p = params; |
| 1267 | uarg[0] = (intptr_t) p->pid; /* pid_t * */ |
| 1268 | uarg[1] = (intptr_t) p->path; /* const char * */ |
| 1269 | uarg[2] = (intptr_t) p->adesc; /* const struct _posix_spawn_args_desc * */ |
| 1270 | uarg[3] = (intptr_t) p->argv; /* char ** */ |
| 1271 | uarg[4] = (intptr_t) p->envp; /* char ** */ |
| 1272 | break; |
| 1273 | } |
| 1274 | /* ffsctl */ |
| 1275 | case 245: { |
| 1276 | struct ffsctl_args *p = params; |
| 1277 | iarg[0] = p->fd; /* int */ |
| 1278 | uarg[1] = p->cmd; /* u_long */ |
| 1279 | uarg[2] = (intptr_t) p->data; /* caddr_t */ |
| 1280 | uarg[3] = p->options; /* u_int */ |
| 1281 | break; |
| 1282 | } |
| 1283 | #if NFSCLIENT |
| 1284 | /* nfsclnt */ |
| 1285 | case 247: { |
| 1286 | struct nfsclnt_args *p = params; |
| 1287 | iarg[0] = p->flag; /* int */ |
| 1288 | uarg[1] = (intptr_t) p->argp; /* caddr_t */ |
| 1289 | break; |
| 1290 | } |
| 1291 | #else |
| 1292 | #endif |
| 1293 | #if NFSSERVER |
| 1294 | /* fhopen */ |
| 1295 | case 248: { |
| 1296 | struct fhopen_args *p = params; |
| 1297 | uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ |
| 1298 | iarg[1] = p->flags; /* int */ |
| 1299 | break; |
| 1300 | } |
| 1301 | #else |
| 1302 | #endif |
| 1303 | /* minherit */ |
| 1304 | case 250: { |
| 1305 | struct minherit_args *p = params; |
| 1306 | uarg[0] = (intptr_t) p->addr; /* void * */ |
| 1307 | uarg[1] = p->len; /* size_t */ |
| 1308 | iarg[2] = p->inherit; /* int */ |
| 1309 | break; |
| 1310 | } |
| 1311 | #if SYSV_SEM |
| 1312 | /* semsys */ |
| 1313 | case 251: { |
| 1314 | struct semsys_args *p = params; |
| 1315 | uarg[0] = p->which; /* u_int */ |
| 1316 | iarg[1] = p->a2; /* int */ |
| 1317 | iarg[2] = p->a3; /* int */ |
| 1318 | iarg[3] = p->a4; /* int */ |
| 1319 | iarg[4] = p->a5; /* int */ |
| 1320 | break; |
| 1321 | } |
| 1322 | #else |
| 1323 | #endif |
| 1324 | #if SYSV_MSG |
| 1325 | /* msgsys */ |
| 1326 | case 252: { |
| 1327 | struct msgsys_args *p = params; |
| 1328 | uarg[0] = p->which; /* u_int */ |
| 1329 | iarg[1] = p->a2; /* int */ |
| 1330 | iarg[2] = p->a3; /* int */ |
| 1331 | iarg[3] = p->a4; /* int */ |
| 1332 | iarg[4] = p->a5; /* int */ |
| 1333 | break; |
| 1334 | } |
| 1335 | #else |
| 1336 | #endif |
| 1337 | #if SYSV_SHM |
| 1338 | /* shmsys */ |
| 1339 | case 253: { |
| 1340 | struct shmsys_args *p = params; |
| 1341 | uarg[0] = p->which; /* u_int */ |
| 1342 | iarg[1] = p->a2; /* int */ |
| 1343 | iarg[2] = p->a3; /* int */ |
| 1344 | iarg[3] = p->a4; /* int */ |
| 1345 | break; |
| 1346 | } |
| 1347 | #else |
| 1348 | #endif |
| 1349 | #if SYSV_SEM |
| 1350 | /* semctl */ |
| 1351 | case 254: { |
| 1352 | struct semctl_args *p = params; |
| 1353 | iarg[0] = p->semid; /* int */ |
| 1354 | iarg[1] = p->semnum; /* int */ |
| 1355 | iarg[2] = p->cmd; /* int */ |
| 1356 | iarg[3] = p->arg; /* semun_t */ |
| 1357 | break; |
| 1358 | } |
| 1359 | /* semget */ |
| 1360 | case 255: { |
| 1361 | struct semget_args *p = params; |
| 1362 | iarg[0] = p->key; /* key_t */ |
| 1363 | iarg[1] = p->nsems; /* int */ |
| 1364 | iarg[2] = p->semflg; /* int */ |
| 1365 | break; |
| 1366 | } |
| 1367 | /* semop */ |
| 1368 | case 256: { |
| 1369 | struct semop_args *p = params; |
| 1370 | iarg[0] = p->semid; /* int */ |
| 1371 | uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ |
| 1372 | iarg[2] = p->nsops; /* int */ |
| 1373 | break; |
| 1374 | } |
| 1375 | #else |
| 1376 | #endif |
| 1377 | #if SYSV_MSG |
| 1378 | /* msgctl */ |
| 1379 | case 258: { |
| 1380 | struct msgctl_args *p = params; |
| 1381 | iarg[0] = p->msqid; /* int */ |
| 1382 | iarg[1] = p->cmd; /* int */ |
| 1383 | uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */ |
| 1384 | break; |
| 1385 | } |
| 1386 | /* msgget */ |
| 1387 | case 259: { |
| 1388 | struct msgget_args *p = params; |
| 1389 | iarg[0] = p->key; /* key_t */ |
| 1390 | iarg[1] = p->msgflg; /* int */ |
| 1391 | break; |
| 1392 | } |
| 1393 | /* msgsnd */ |
| 1394 | case 260: { |
| 1395 | struct msgsnd_args *p = params; |
| 1396 | iarg[0] = p->msqid; /* int */ |
| 1397 | uarg[1] = (intptr_t) p->msgp; /* void * */ |
| 1398 | uarg[2] = p->msgsz; /* size_t */ |
| 1399 | iarg[3] = p->msgflg; /* int */ |
| 1400 | break; |
| 1401 | } |
| 1402 | /* msgrcv */ |
| 1403 | case 261: { |
| 1404 | struct msgrcv_args *p = params; |
| 1405 | iarg[0] = p->msqid; /* int */ |
| 1406 | uarg[1] = (intptr_t) p->msgp; /* void * */ |
| 1407 | uarg[2] = p->msgsz; /* size_t */ |
| 1408 | iarg[3] = p->msgtyp; /* long */ |
| 1409 | iarg[4] = p->msgflg; /* int */ |
| 1410 | break; |
| 1411 | } |
| 1412 | #else |
| 1413 | #endif |
| 1414 | #if SYSV_SHM |
| 1415 | /* shmat */ |
| 1416 | case 262: { |
| 1417 | struct shmat_args *p = params; |
| 1418 | iarg[0] = p->shmid; /* int */ |
| 1419 | uarg[1] = (intptr_t) p->shmaddr; /* void * */ |
| 1420 | iarg[2] = p->shmflg; /* int */ |
| 1421 | break; |
| 1422 | } |
| 1423 | /* shmctl */ |
| 1424 | case 263: { |
| 1425 | struct shmctl_args *p = params; |
| 1426 | iarg[0] = p->shmid; /* int */ |
| 1427 | iarg[1] = p->cmd; /* int */ |
| 1428 | uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */ |
| 1429 | break; |
| 1430 | } |
| 1431 | /* shmdt */ |
| 1432 | case 264: { |
| 1433 | struct shmdt_args *p = params; |
| 1434 | uarg[0] = (intptr_t) p->shmaddr; /* void * */ |
| 1435 | break; |
| 1436 | } |
| 1437 | /* shmget */ |
| 1438 | case 265: { |
| 1439 | struct shmget_args *p = params; |
| 1440 | iarg[0] = p->key; /* key_t */ |
| 1441 | uarg[1] = p->size; /* size_t */ |
| 1442 | iarg[2] = p->shmflg; /* int */ |
| 1443 | break; |
| 1444 | } |
| 1445 | #else |
| 1446 | #endif |
| 1447 | /* shm_open */ |
| 1448 | case 266: { |
| 1449 | struct shm_open_args *p = params; |
| 1450 | uarg[0] = (intptr_t) p->name; /* const char * */ |
| 1451 | iarg[1] = p->oflag; /* int */ |
| 1452 | iarg[2] = p->mode; /* int */ |
| 1453 | break; |
| 1454 | } |
| 1455 | /* shm_unlink */ |
| 1456 | case 267: { |
| 1457 | struct shm_unlink_args *p = params; |
| 1458 | uarg[0] = (intptr_t) p->name; /* const char * */ |
| 1459 | break; |
| 1460 | } |
| 1461 | /* sem_open */ |
| 1462 | case 268: { |
| 1463 | struct sem_open_args *p = params; |
| 1464 | uarg[0] = (intptr_t) p->name; /* const char * */ |
| 1465 | iarg[1] = p->oflag; /* int */ |
| 1466 | iarg[2] = p->mode; /* int */ |
| 1467 | iarg[3] = p->value; /* int */ |
| 1468 | break; |
| 1469 | } |
| 1470 | /* sem_close */ |
| 1471 | case 269: { |
| 1472 | struct sem_close_args *p = params; |
| 1473 | uarg[0] = (intptr_t) p->sem; /* sem_t * */ |
| 1474 | break; |
| 1475 | } |
| 1476 | /* sem_unlink */ |
| 1477 | case 270: { |
| 1478 | struct sem_unlink_args *p = params; |
| 1479 | uarg[0] = (intptr_t) p->name; /* const char * */ |
| 1480 | break; |
| 1481 | } |
| 1482 | /* sem_wait */ |
| 1483 | case 271: { |
| 1484 | struct sem_wait_args *p = params; |
| 1485 | uarg[0] = (intptr_t) p->sem; /* sem_t * */ |
| 1486 | break; |
| 1487 | } |
| 1488 | /* sem_trywait */ |
| 1489 | case 272: { |
| 1490 | struct sem_trywait_args *p = params; |
| 1491 | uarg[0] = (intptr_t) p->sem; /* sem_t * */ |
| 1492 | break; |
| 1493 | } |
| 1494 | /* sem_post */ |
| 1495 | case 273: { |
| 1496 | struct sem_post_args *p = params; |
| 1497 | uarg[0] = (intptr_t) p->sem; /* sem_t * */ |
| 1498 | break; |
| 1499 | } |
| 1500 | /* sysctlbyname */ |
| 1501 | case 274: { |
| 1502 | struct sysctlbyname_args *p = params; |
| 1503 | uarg[0] = (intptr_t) p->name; /* const char * */ |
| 1504 | uarg[1] = p->namelen; /* size_t */ |
| 1505 | uarg[2] = (intptr_t) p->old; /* void * */ |
| 1506 | uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ |
| 1507 | uarg[4] = (intptr_t) p->new; /* void * */ |
| 1508 | uarg[5] = p->newlen; /* size_t */ |
| 1509 | break; |
| 1510 | } |
| 1511 | /* open_extended */ |
| 1512 | case 277: { |
| 1513 | struct open_extended_args *p = params; |
| 1514 | uarg[0] = p->path; /* user_addr_t */ |
| 1515 | iarg[1] = p->flags; /* int */ |
| 1516 | uarg[2] = p->uid; /* uid_t */ |
| 1517 | iarg[3] = p->gid; /* gid_t */ |
| 1518 | iarg[4] = p->mode; /* int */ |
| 1519 | uarg[5] = p->xsecurity; /* user_addr_t */ |
| 1520 | break; |
| 1521 | } |
| 1522 | /* umask_extended */ |
| 1523 | case 278: { |
| 1524 | struct umask_extended_args *p = params; |
| 1525 | iarg[0] = p->newmask; /* int */ |
| 1526 | uarg[1] = p->xsecurity; /* user_addr_t */ |
| 1527 | break; |
| 1528 | } |
| 1529 | /* stat_extended */ |
| 1530 | case 279: { |
| 1531 | struct stat_extended_args *p = params; |
| 1532 | uarg[0] = p->path; /* user_addr_t */ |
| 1533 | uarg[1] = p->ub; /* user_addr_t */ |
| 1534 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 1535 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 1536 | break; |
| 1537 | } |
| 1538 | /* lstat_extended */ |
| 1539 | case 280: { |
| 1540 | struct lstat_extended_args *p = params; |
| 1541 | uarg[0] = p->path; /* user_addr_t */ |
| 1542 | uarg[1] = p->ub; /* user_addr_t */ |
| 1543 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 1544 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 1545 | break; |
| 1546 | } |
| 1547 | /* fstat_extended */ |
| 1548 | case 281: { |
| 1549 | struct fstat_extended_args *p = params; |
| 1550 | iarg[0] = p->fd; /* int */ |
| 1551 | uarg[1] = p->ub; /* user_addr_t */ |
| 1552 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 1553 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 1554 | break; |
| 1555 | } |
| 1556 | /* chmod_extended */ |
| 1557 | case 282: { |
| 1558 | struct chmod_extended_args *p = params; |
| 1559 | uarg[0] = p->path; /* user_addr_t */ |
| 1560 | uarg[1] = p->uid; /* uid_t */ |
| 1561 | iarg[2] = p->gid; /* gid_t */ |
| 1562 | iarg[3] = p->mode; /* int */ |
| 1563 | uarg[4] = p->xsecurity; /* user_addr_t */ |
| 1564 | break; |
| 1565 | } |
| 1566 | /* fchmod_extended */ |
| 1567 | case 283: { |
| 1568 | struct fchmod_extended_args *p = params; |
| 1569 | iarg[0] = p->fd; /* int */ |
| 1570 | uarg[1] = p->uid; /* uid_t */ |
| 1571 | iarg[2] = p->gid; /* gid_t */ |
| 1572 | iarg[3] = p->mode; /* int */ |
| 1573 | uarg[4] = p->xsecurity; /* user_addr_t */ |
| 1574 | break; |
| 1575 | } |
| 1576 | /* access_extended */ |
| 1577 | case 284: { |
| 1578 | struct access_extended_args *p = params; |
| 1579 | uarg[0] = p->entries; /* user_addr_t */ |
| 1580 | uarg[1] = p->size; /* size_t */ |
| 1581 | uarg[2] = p->results; /* user_addr_t */ |
| 1582 | uarg[3] = p->uid; /* uid_t */ |
| 1583 | break; |
| 1584 | } |
| 1585 | /* settid */ |
| 1586 | case 285: { |
| 1587 | struct settid_args *p = params; |
| 1588 | uarg[0] = p->uid; /* uid_t */ |
| 1589 | iarg[1] = p->gid; /* gid_t */ |
| 1590 | break; |
| 1591 | } |
| 1592 | /* gettid */ |
| 1593 | case 286: { |
| 1594 | struct gettid_args *p = params; |
| 1595 | uarg[0] = (intptr_t) p->uidp; /* uid_t * */ |
| 1596 | uarg[1] = (intptr_t) p->gidp; /* gid_t * */ |
| 1597 | break; |
| 1598 | } |
| 1599 | /* setsgroups */ |
| 1600 | case 287: { |
| 1601 | struct setsgroups_args *p = params; |
| 1602 | iarg[0] = p->setlen; /* int */ |
| 1603 | uarg[1] = p->guidset; /* user_addr_t */ |
| 1604 | break; |
| 1605 | } |
| 1606 | /* getsgroups */ |
| 1607 | case 288: { |
| 1608 | struct getsgroups_args *p = params; |
| 1609 | uarg[0] = p->setlen; /* user_addr_t */ |
| 1610 | uarg[1] = p->guidset; /* user_addr_t */ |
| 1611 | break; |
| 1612 | } |
| 1613 | /* setwgroups */ |
| 1614 | case 289: { |
| 1615 | struct setwgroups_args *p = params; |
| 1616 | iarg[0] = p->setlen; /* int */ |
| 1617 | uarg[1] = p->guidset; /* user_addr_t */ |
| 1618 | break; |
| 1619 | } |
| 1620 | /* getwgroups */ |
| 1621 | case 290: { |
| 1622 | struct getwgroups_args *p = params; |
| 1623 | uarg[0] = p->setlen; /* user_addr_t */ |
| 1624 | uarg[1] = p->guidset; /* user_addr_t */ |
| 1625 | break; |
| 1626 | } |
| 1627 | /* mkfifo_extended */ |
| 1628 | case 291: { |
| 1629 | struct mkfifo_extended_args *p = params; |
| 1630 | uarg[0] = p->path; /* user_addr_t */ |
| 1631 | uarg[1] = p->uid; /* uid_t */ |
| 1632 | iarg[2] = p->gid; /* gid_t */ |
| 1633 | iarg[3] = p->mode; /* int */ |
| 1634 | uarg[4] = p->xsecurity; /* user_addr_t */ |
| 1635 | break; |
| 1636 | } |
| 1637 | /* mkdir_extended */ |
| 1638 | case 292: { |
| 1639 | struct mkdir_extended_args *p = params; |
| 1640 | uarg[0] = p->path; /* user_addr_t */ |
| 1641 | uarg[1] = p->uid; /* uid_t */ |
| 1642 | iarg[2] = p->gid; /* gid_t */ |
| 1643 | iarg[3] = p->mode; /* int */ |
| 1644 | uarg[4] = p->xsecurity; /* user_addr_t */ |
| 1645 | break; |
| 1646 | } |
| 1647 | #if CONFIG_EXT_RESOLVER |
| 1648 | /* identitysvc */ |
| 1649 | case 293: { |
| 1650 | struct identitysvc_args *p = params; |
| 1651 | iarg[0] = p->opcode; /* int */ |
| 1652 | uarg[1] = p->message; /* user_addr_t */ |
| 1653 | break; |
| 1654 | } |
| 1655 | #else |
| 1656 | #endif |
| 1657 | /* shared_region_check_np */ |
| 1658 | case 294: { |
| 1659 | struct shared_region_check_np_args *p = params; |
| 1660 | uarg[0] = (intptr_t) p->start_address; /* uint64_t * */ |
| 1661 | break; |
| 1662 | } |
| 1663 | /* vm_pressure_monitor */ |
| 1664 | case 296: { |
| 1665 | struct vm_pressure_monitor_args *p = params; |
| 1666 | iarg[0] = p->wait_for_pressure; /* int */ |
| 1667 | iarg[1] = p->nsecs_monitored; /* int */ |
| 1668 | uarg[2] = (intptr_t) p->pages_reclaimed; /* uint32_t * */ |
| 1669 | break; |
| 1670 | } |
| 1671 | #if PSYNCH |
| 1672 | /* psynch_rw_longrdlock */ |
| 1673 | case 297: { |
| 1674 | struct psynch_rw_longrdlock_args *p = params; |
| 1675 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1676 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1677 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1678 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1679 | iarg[4] = p->flags; /* int */ |
| 1680 | break; |
| 1681 | } |
| 1682 | /* psynch_rw_yieldwrlock */ |
| 1683 | case 298: { |
| 1684 | struct psynch_rw_yieldwrlock_args *p = params; |
| 1685 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1686 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1687 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1688 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1689 | iarg[4] = p->flags; /* int */ |
| 1690 | break; |
| 1691 | } |
| 1692 | /* psynch_rw_downgrade */ |
| 1693 | case 299: { |
| 1694 | struct psynch_rw_downgrade_args *p = params; |
| 1695 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1696 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1697 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1698 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1699 | iarg[4] = p->flags; /* int */ |
| 1700 | break; |
| 1701 | } |
| 1702 | /* psynch_rw_upgrade */ |
| 1703 | case 300: { |
| 1704 | struct psynch_rw_upgrade_args *p = params; |
| 1705 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1706 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1707 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1708 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1709 | iarg[4] = p->flags; /* int */ |
| 1710 | break; |
| 1711 | } |
| 1712 | /* psynch_mutexwait */ |
| 1713 | case 301: { |
| 1714 | struct psynch_mutexwait_args *p = params; |
| 1715 | uarg[0] = p->mutex; /* user_addr_t */ |
| 1716 | uarg[1] = p->mgen; /* uint32_t */ |
| 1717 | uarg[2] = p->ugen; /* uint32_t */ |
| 1718 | uarg[3] = p->tid; /* uint64_t */ |
| 1719 | uarg[4] = p->flags; /* uint32_t */ |
| 1720 | break; |
| 1721 | } |
| 1722 | /* psynch_mutexdrop */ |
| 1723 | case 302: { |
| 1724 | struct psynch_mutexdrop_args *p = params; |
| 1725 | uarg[0] = p->mutex; /* user_addr_t */ |
| 1726 | uarg[1] = p->mgen; /* uint32_t */ |
| 1727 | uarg[2] = p->ugen; /* uint32_t */ |
| 1728 | uarg[3] = p->tid; /* uint64_t */ |
| 1729 | uarg[4] = p->flags; /* uint32_t */ |
| 1730 | break; |
| 1731 | } |
| 1732 | /* psynch_cvbroad */ |
| 1733 | case 303: { |
| 1734 | struct psynch_cvbroad_args *p = params; |
| 1735 | uarg[0] = p->cv; /* user_addr_t */ |
| 1736 | uarg[1] = p->cvlsgen; /* uint64_t */ |
| 1737 | uarg[2] = p->cvudgen; /* uint64_t */ |
| 1738 | uarg[3] = p->flags; /* uint32_t */ |
| 1739 | uarg[4] = p->mutex; /* user_addr_t */ |
| 1740 | uarg[5] = p->mugen; /* uint64_t */ |
| 1741 | uarg[6] = p->tid; /* uint64_t */ |
| 1742 | break; |
| 1743 | } |
| 1744 | /* psynch_cvsignal */ |
| 1745 | case 304: { |
| 1746 | struct psynch_cvsignal_args *p = params; |
| 1747 | uarg[0] = p->cv; /* user_addr_t */ |
| 1748 | uarg[1] = p->cvlsgen; /* uint64_t */ |
| 1749 | uarg[2] = p->cvugen; /* uint32_t */ |
| 1750 | iarg[3] = p->thread_port; /* int */ |
| 1751 | uarg[4] = p->mutex; /* user_addr_t */ |
| 1752 | uarg[5] = p->mugen; /* uint64_t */ |
| 1753 | uarg[6] = p->tid; /* uint64_t */ |
| 1754 | uarg[7] = p->flags; /* uint32_t */ |
| 1755 | break; |
| 1756 | } |
| 1757 | /* psynch_cvwait */ |
| 1758 | case 305: { |
| 1759 | struct psynch_cvwait_args *p = params; |
| 1760 | uarg[0] = p->cv; /* user_addr_t */ |
| 1761 | uarg[1] = p->cvlsgen; /* uint64_t */ |
| 1762 | uarg[2] = p->cvugen; /* uint32_t */ |
| 1763 | uarg[3] = p->mutex; /* user_addr_t */ |
| 1764 | uarg[4] = p->mugen; /* uint64_t */ |
| 1765 | uarg[5] = p->flags; /* uint32_t */ |
| 1766 | iarg[6] = p->sec; /* int64_t */ |
| 1767 | uarg[7] = p->nsec; /* uint32_t */ |
| 1768 | break; |
| 1769 | } |
| 1770 | /* psynch_rw_rdlock */ |
| 1771 | case 306: { |
| 1772 | struct psynch_rw_rdlock_args *p = params; |
| 1773 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1774 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1775 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1776 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1777 | iarg[4] = p->flags; /* int */ |
| 1778 | break; |
| 1779 | } |
| 1780 | /* psynch_rw_wrlock */ |
| 1781 | case 307: { |
| 1782 | struct psynch_rw_wrlock_args *p = params; |
| 1783 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1784 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1785 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1786 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1787 | iarg[4] = p->flags; /* int */ |
| 1788 | break; |
| 1789 | } |
| 1790 | /* psynch_rw_unlock */ |
| 1791 | case 308: { |
| 1792 | struct psynch_rw_unlock_args *p = params; |
| 1793 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1794 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1795 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1796 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1797 | iarg[4] = p->flags; /* int */ |
| 1798 | break; |
| 1799 | } |
| 1800 | /* psynch_rw_unlock2 */ |
| 1801 | case 309: { |
| 1802 | struct psynch_rw_unlock2_args *p = params; |
| 1803 | uarg[0] = p->rwlock; /* user_addr_t */ |
| 1804 | uarg[1] = p->lgenval; /* uint32_t */ |
| 1805 | uarg[2] = p->ugenval; /* uint32_t */ |
| 1806 | uarg[3] = p->rw_wc; /* uint32_t */ |
| 1807 | iarg[4] = p->flags; /* int */ |
| 1808 | break; |
| 1809 | } |
| 1810 | #else |
| 1811 | #endif |
| 1812 | /* getsid */ |
| 1813 | case 310: { |
| 1814 | struct getsid_args *p = params; |
| 1815 | iarg[0] = p->pid; /* pid_t */ |
| 1816 | break; |
| 1817 | } |
| 1818 | /* settid_with_pid */ |
| 1819 | case 311: { |
| 1820 | struct settid_with_pid_args *p = params; |
| 1821 | iarg[0] = p->pid; /* pid_t */ |
| 1822 | iarg[1] = p->assume; /* int */ |
| 1823 | break; |
| 1824 | } |
| 1825 | #if PSYNCH |
| 1826 | /* psynch_cvclrprepost */ |
| 1827 | case 312: { |
| 1828 | struct psynch_cvclrprepost_args *p = params; |
| 1829 | uarg[0] = p->cv; /* user_addr_t */ |
| 1830 | uarg[1] = p->cvgen; /* uint32_t */ |
| 1831 | uarg[2] = p->cvugen; /* uint32_t */ |
| 1832 | uarg[3] = p->cvsgen; /* uint32_t */ |
| 1833 | uarg[4] = p->prepocnt; /* uint32_t */ |
| 1834 | uarg[5] = p->preposeq; /* uint32_t */ |
| 1835 | uarg[6] = p->flags; /* uint32_t */ |
| 1836 | break; |
| 1837 | } |
| 1838 | #else |
| 1839 | #endif |
| 1840 | /* aio_fsync */ |
| 1841 | case 313: { |
| 1842 | struct aio_fsync_args *p = params; |
| 1843 | iarg[0] = p->op; /* int */ |
| 1844 | uarg[1] = p->aiocbp; /* user_addr_t */ |
| 1845 | break; |
| 1846 | } |
| 1847 | /* aio_return */ |
| 1848 | case 314: { |
| 1849 | struct aio_return_args *p = params; |
| 1850 | uarg[0] = p->aiocbp; /* user_addr_t */ |
| 1851 | break; |
| 1852 | } |
| 1853 | /* aio_suspend */ |
| 1854 | case 315: { |
| 1855 | struct aio_suspend_args *p = params; |
| 1856 | uarg[0] = p->aiocblist; /* user_addr_t */ |
| 1857 | iarg[1] = p->nent; /* int */ |
| 1858 | uarg[2] = p->timeoutp; /* user_addr_t */ |
| 1859 | break; |
| 1860 | } |
| 1861 | /* aio_cancel */ |
| 1862 | case 316: { |
| 1863 | struct aio_cancel_args *p = params; |
| 1864 | iarg[0] = p->fd; /* int */ |
| 1865 | uarg[1] = p->aiocbp; /* user_addr_t */ |
| 1866 | break; |
| 1867 | } |
| 1868 | /* aio_error */ |
| 1869 | case 317: { |
| 1870 | struct aio_error_args *p = params; |
| 1871 | uarg[0] = p->aiocbp; /* user_addr_t */ |
| 1872 | break; |
| 1873 | } |
| 1874 | /* aio_read */ |
| 1875 | case 318: { |
| 1876 | struct aio_read_args *p = params; |
| 1877 | uarg[0] = p->aiocbp; /* user_addr_t */ |
| 1878 | break; |
| 1879 | } |
| 1880 | /* aio_write */ |
| 1881 | case 319: { |
| 1882 | struct aio_write_args *p = params; |
| 1883 | uarg[0] = p->aiocbp; /* user_addr_t */ |
| 1884 | break; |
| 1885 | } |
| 1886 | /* lio_listio */ |
| 1887 | case 320: { |
| 1888 | struct lio_listio_args *p = params; |
| 1889 | iarg[0] = p->mode; /* int */ |
| 1890 | uarg[1] = p->aiocblist; /* user_addr_t */ |
| 1891 | iarg[2] = p->nent; /* int */ |
| 1892 | uarg[3] = p->sigp; /* user_addr_t */ |
| 1893 | break; |
| 1894 | } |
| 1895 | /* iopolicysys */ |
| 1896 | case 322: { |
| 1897 | struct iopolicysys_args *p = params; |
| 1898 | iarg[0] = p->cmd; /* int */ |
| 1899 | uarg[1] = (intptr_t) p->arg; /* void * */ |
| 1900 | break; |
| 1901 | } |
| 1902 | /* process_policy */ |
| 1903 | case 323: { |
| 1904 | struct process_policy_args *p = params; |
| 1905 | iarg[0] = p->scope; /* int */ |
| 1906 | iarg[1] = p->action; /* int */ |
| 1907 | iarg[2] = p->policy; /* int */ |
| 1908 | iarg[3] = p->policy_subtype; /* int */ |
| 1909 | uarg[4] = p->attrp; /* user_addr_t */ |
| 1910 | iarg[5] = p->target_pid; /* pid_t */ |
| 1911 | uarg[6] = p->target_threadid; /* uint64_t */ |
| 1912 | break; |
| 1913 | } |
| 1914 | /* mlockall */ |
| 1915 | case 324: { |
| 1916 | struct mlockall_args *p = params; |
| 1917 | iarg[0] = p->how; /* int */ |
| 1918 | break; |
| 1919 | } |
| 1920 | /* munlockall */ |
| 1921 | case 325: { |
| 1922 | struct munlockall_args *p = params; |
| 1923 | iarg[0] = p->how; /* int */ |
| 1924 | break; |
| 1925 | } |
| 1926 | /* issetugid */ |
| 1927 | case 327: { |
| 1928 | break; |
| 1929 | } |
| 1930 | /* __pthread_kill */ |
| 1931 | case 328: { |
| 1932 | struct __pthread_kill_args *p = params; |
| 1933 | iarg[0] = p->thread_port; /* int */ |
| 1934 | iarg[1] = p->sig; /* int */ |
| 1935 | break; |
| 1936 | } |
| 1937 | /* __pthread_sigmask */ |
| 1938 | case 329: { |
| 1939 | struct __pthread_sigmask_args *p = params; |
| 1940 | iarg[0] = p->how; /* int */ |
| 1941 | uarg[1] = p->set; /* user_addr_t */ |
| 1942 | uarg[2] = p->oset; /* user_addr_t */ |
| 1943 | break; |
| 1944 | } |
| 1945 | /* __sigwait */ |
| 1946 | case 330: { |
| 1947 | struct __sigwait_args *p = params; |
| 1948 | uarg[0] = p->set; /* user_addr_t */ |
| 1949 | uarg[1] = p->sig; /* user_addr_t */ |
| 1950 | break; |
| 1951 | } |
| 1952 | /* __disable_threadsignal */ |
| 1953 | case 331: { |
| 1954 | struct __disable_threadsignal_args *p = params; |
| 1955 | iarg[0] = p->value; /* int */ |
| 1956 | break; |
| 1957 | } |
| 1958 | /* __pthread_markcancel */ |
| 1959 | case 332: { |
| 1960 | struct __pthread_markcancel_args *p = params; |
| 1961 | iarg[0] = p->thread_port; /* int */ |
| 1962 | break; |
| 1963 | } |
| 1964 | /* __pthread_canceled */ |
| 1965 | case 333: { |
| 1966 | struct __pthread_canceled_args *p = params; |
| 1967 | iarg[0] = p->action; /* int */ |
| 1968 | break; |
| 1969 | } |
| 1970 | /* __semwait_signal */ |
| 1971 | case 334: { |
| 1972 | struct __semwait_signal_args *p = params; |
| 1973 | iarg[0] = p->cond_sem; /* int */ |
| 1974 | iarg[1] = p->mutex_sem; /* int */ |
| 1975 | iarg[2] = p->timeout; /* int */ |
| 1976 | iarg[3] = p->relative; /* int */ |
| 1977 | iarg[4] = p->tv_sec; /* int64_t */ |
| 1978 | iarg[5] = p->tv_nsec; /* int32_t */ |
| 1979 | break; |
| 1980 | } |
| 1981 | /* proc_info */ |
| 1982 | case 336: { |
| 1983 | struct proc_info_args *p = params; |
| 1984 | iarg[0] = p->callnum; /* int32_t */ |
| 1985 | iarg[1] = p->pid; /* int32_t */ |
| 1986 | uarg[2] = p->flavor; /* uint32_t */ |
| 1987 | uarg[3] = p->arg; /* uint64_t */ |
| 1988 | uarg[4] = p->buffer; /* user_addr_t */ |
| 1989 | iarg[5] = p->buffersize; /* int32_t */ |
| 1990 | break; |
| 1991 | } |
| 1992 | #if SENDFILE |
| 1993 | /* sendfile */ |
| 1994 | case 337: { |
| 1995 | struct sendfile_args *p = params; |
| 1996 | iarg[0] = p->fd; /* int */ |
| 1997 | iarg[1] = p->s; /* int */ |
| 1998 | iarg[2] = p->offset; /* off_t */ |
| 1999 | uarg[3] = (intptr_t) p->nbytes; /* off_t * */ |
| 2000 | uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */ |
| 2001 | iarg[5] = p->flags; /* int */ |
| 2002 | break; |
| 2003 | } |
| 2004 | #else /* !SENDFILE */ |
| 2005 | #endif /* SENDFILE */ |
| 2006 | /* stat64 */ |
| 2007 | case 338: { |
| 2008 | struct stat64_args *p = params; |
| 2009 | uarg[0] = p->path; /* user_addr_t */ |
| 2010 | uarg[1] = p->ub; /* user_addr_t */ |
| 2011 | break; |
| 2012 | } |
| 2013 | /* fstat64 */ |
| 2014 | case 339: { |
| 2015 | struct fstat64_args *p = params; |
| 2016 | iarg[0] = p->fd; /* int */ |
| 2017 | uarg[1] = p->ub; /* user_addr_t */ |
| 2018 | break; |
| 2019 | } |
| 2020 | /* lstat64 */ |
| 2021 | case 340: { |
| 2022 | struct lstat64_args *p = params; |
| 2023 | uarg[0] = p->path; /* user_addr_t */ |
| 2024 | uarg[1] = p->ub; /* user_addr_t */ |
| 2025 | break; |
| 2026 | } |
| 2027 | /* stat64_extended */ |
| 2028 | case 341: { |
| 2029 | struct stat64_extended_args *p = params; |
| 2030 | uarg[0] = p->path; /* user_addr_t */ |
| 2031 | uarg[1] = p->ub; /* user_addr_t */ |
| 2032 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 2033 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 2034 | break; |
| 2035 | } |
| 2036 | /* lstat64_extended */ |
| 2037 | case 342: { |
| 2038 | struct lstat64_extended_args *p = params; |
| 2039 | uarg[0] = p->path; /* user_addr_t */ |
| 2040 | uarg[1] = p->ub; /* user_addr_t */ |
| 2041 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 2042 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 2043 | break; |
| 2044 | } |
| 2045 | /* fstat64_extended */ |
| 2046 | case 343: { |
| 2047 | struct fstat64_extended_args *p = params; |
| 2048 | iarg[0] = p->fd; /* int */ |
| 2049 | uarg[1] = p->ub; /* user_addr_t */ |
| 2050 | uarg[2] = p->xsecurity; /* user_addr_t */ |
| 2051 | uarg[3] = p->xsecurity_size; /* user_addr_t */ |
| 2052 | break; |
| 2053 | } |
| 2054 | /* getdirentries64 */ |
| 2055 | case 344: { |
| 2056 | struct getdirentries64_args *p = params; |
| 2057 | iarg[0] = p->fd; /* int */ |
| 2058 | uarg[1] = (intptr_t) p->buf; /* void * */ |
| 2059 | uarg[2] = p->bufsize; /* user_size_t */ |
| 2060 | uarg[3] = (intptr_t) p->position; /* off_t * */ |
| 2061 | break; |
| 2062 | } |
| 2063 | /* statfs64 */ |
| 2064 | case 345: { |
| 2065 | struct statfs64_args *p = params; |
| 2066 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 2067 | uarg[1] = (intptr_t) p->buf; /* struct statfs64 * */ |
| 2068 | break; |
| 2069 | } |
| 2070 | /* fstatfs64 */ |
| 2071 | case 346: { |
| 2072 | struct fstatfs64_args *p = params; |
| 2073 | iarg[0] = p->fd; /* int */ |
| 2074 | uarg[1] = (intptr_t) p->buf; /* struct statfs64 * */ |
| 2075 | break; |
| 2076 | } |
| 2077 | /* getfsstat64 */ |
| 2078 | case 347: { |
| 2079 | struct getfsstat64_args *p = params; |
| 2080 | uarg[0] = p->buf; /* user_addr_t */ |
| 2081 | iarg[1] = p->bufsize; /* int */ |
| 2082 | iarg[2] = p->flags; /* int */ |
| 2083 | break; |
| 2084 | } |
| 2085 | /* __pthread_chdir */ |
| 2086 | case 348: { |
| 2087 | struct __pthread_chdir_args *p = params; |
| 2088 | uarg[0] = p->path; /* user_addr_t */ |
| 2089 | break; |
| 2090 | } |
| 2091 | /* __pthread_fchdir */ |
| 2092 | case 349: { |
| 2093 | struct __pthread_fchdir_args *p = params; |
| 2094 | iarg[0] = p->fd; /* int */ |
| 2095 | break; |
| 2096 | } |
| 2097 | /* audit */ |
| 2098 | case 350: { |
| 2099 | struct audit_args *p = params; |
| 2100 | uarg[0] = (intptr_t) p->record; /* void * */ |
| 2101 | iarg[1] = p->length; /* int */ |
| 2102 | break; |
| 2103 | } |
| 2104 | /* auditon */ |
| 2105 | case 351: { |
| 2106 | struct auditon_args *p = params; |
| 2107 | iarg[0] = p->cmd; /* int */ |
| 2108 | uarg[1] = (intptr_t) p->data; /* void * */ |
| 2109 | iarg[2] = p->length; /* int */ |
| 2110 | break; |
| 2111 | } |
| 2112 | /* getauid */ |
| 2113 | case 353: { |
| 2114 | struct getauid_args *p = params; |
| 2115 | uarg[0] = (intptr_t) p->auid; /* au_id_t * */ |
| 2116 | break; |
| 2117 | } |
| 2118 | /* setauid */ |
| 2119 | case 354: { |
| 2120 | struct setauid_args *p = params; |
| 2121 | uarg[0] = (intptr_t) p->auid; /* au_id_t * */ |
| 2122 | break; |
| 2123 | } |
| 2124 | /* getaudit_addr */ |
| 2125 | case 357: { |
| 2126 | struct getaudit_addr_args *p = params; |
| 2127 | uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ |
| 2128 | iarg[1] = p->length; /* int */ |
| 2129 | break; |
| 2130 | } |
| 2131 | /* setaudit_addr */ |
| 2132 | case 358: { |
| 2133 | struct setaudit_addr_args *p = params; |
| 2134 | uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ |
| 2135 | iarg[1] = p->length; /* int */ |
| 2136 | break; |
| 2137 | } |
| 2138 | /* auditctl */ |
| 2139 | case 359: { |
| 2140 | struct auditctl_args *p = params; |
| 2141 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 2142 | break; |
| 2143 | } |
| 2144 | #if CONFIG_WORKQUEUE |
| 2145 | /* bsdthread_create */ |
| 2146 | case 360: { |
| 2147 | struct bsdthread_create_args *p = params; |
| 2148 | uarg[0] = p->func; /* user_addr_t */ |
| 2149 | uarg[1] = p->func_arg; /* user_addr_t */ |
| 2150 | uarg[2] = p->stack; /* user_addr_t */ |
| 2151 | uarg[3] = p->pthread; /* user_addr_t */ |
| 2152 | uarg[4] = p->flags; /* uint32_t */ |
| 2153 | break; |
| 2154 | } |
| 2155 | /* bsdthread_terminate */ |
| 2156 | case 361: { |
| 2157 | struct bsdthread_terminate_args *p = params; |
| 2158 | uarg[0] = p->stackaddr; /* user_addr_t */ |
| 2159 | uarg[1] = p->freesize; /* size_t */ |
| 2160 | uarg[2] = p->port; /* uint32_t */ |
| 2161 | uarg[3] = p->sem; /* uint32_t */ |
| 2162 | break; |
| 2163 | } |
| 2164 | #else |
| 2165 | #endif /* CONFIG_WORKQUEUE */ |
| 2166 | /* kqueue */ |
| 2167 | case 362: { |
| 2168 | break; |
| 2169 | } |
| 2170 | /* kevent */ |
| 2171 | case 363: { |
| 2172 | struct kevent_args *p = params; |
| 2173 | iarg[0] = p->fd; /* int */ |
| 2174 | uarg[1] = (intptr_t) p->changelist; /* const struct kevent * */ |
| 2175 | iarg[2] = p->nchanges; /* int */ |
| 2176 | uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */ |
| 2177 | iarg[4] = p->nevents; /* int */ |
| 2178 | uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */ |
| 2179 | break; |
| 2180 | } |
| 2181 | /* lchown */ |
| 2182 | case 364: { |
| 2183 | struct lchown_args *p = params; |
| 2184 | uarg[0] = p->path; /* user_addr_t */ |
| 2185 | uarg[1] = p->owner; /* uid_t */ |
| 2186 | iarg[2] = p->group; /* gid_t */ |
| 2187 | break; |
| 2188 | } |
| 2189 | #if CONFIG_WORKQUEUE |
| 2190 | /* bsdthread_register */ |
| 2191 | case 366: { |
| 2192 | struct bsdthread_register_args *p = params; |
| 2193 | uarg[0] = p->threadstart; /* user_addr_t */ |
| 2194 | uarg[1] = p->wqthread; /* user_addr_t */ |
| 2195 | uarg[2] = p->flags; /* uint32_t */ |
| 2196 | uarg[3] = p->stack_addr_hint; /* user_addr_t */ |
| 2197 | uarg[4] = p->targetconc_ptr; /* user_addr_t */ |
| 2198 | uarg[5] = p->dispatchqueue_offset; /* uint32_t */ |
| 2199 | uarg[6] = p->tsd_offset; /* uint32_t */ |
| 2200 | break; |
| 2201 | } |
| 2202 | /* workq_open */ |
| 2203 | case 367: { |
| 2204 | break; |
| 2205 | } |
| 2206 | /* workq_kernreturn */ |
| 2207 | case 368: { |
| 2208 | struct workq_kernreturn_args *p = params; |
| 2209 | iarg[0] = p->options; /* int */ |
| 2210 | uarg[1] = p->item; /* user_addr_t */ |
| 2211 | iarg[2] = p->affinity; /* int */ |
| 2212 | iarg[3] = p->prio; /* int */ |
| 2213 | break; |
| 2214 | } |
| 2215 | #else |
| 2216 | #endif /* CONFIG_WORKQUEUE */ |
| 2217 | /* kevent64 */ |
| 2218 | case 369: { |
| 2219 | struct kevent64_args *p = params; |
| 2220 | iarg[0] = p->fd; /* int */ |
| 2221 | uarg[1] = (intptr_t) p->changelist; /* const struct kevent64_s * */ |
| 2222 | iarg[2] = p->nchanges; /* int */ |
| 2223 | uarg[3] = (intptr_t) p->eventlist; /* struct kevent64_s * */ |
| 2224 | iarg[4] = p->nevents; /* int */ |
| 2225 | uarg[5] = p->flags; /* unsigned int */ |
| 2226 | uarg[6] = (intptr_t) p->timeout; /* const struct timespec * */ |
| 2227 | break; |
| 2228 | } |
| 2229 | #if OLD_SEMWAIT_SIGNAL |
| 2230 | /* __old_semwait_signal */ |
| 2231 | case 370: { |
| 2232 | struct __old_semwait_signal_args *p = params; |
| 2233 | iarg[0] = p->cond_sem; /* int */ |
| 2234 | iarg[1] = p->mutex_sem; /* int */ |
| 2235 | iarg[2] = p->timeout; /* int */ |
| 2236 | iarg[3] = p->relative; /* int */ |
| 2237 | uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ |
| 2238 | break; |
| 2239 | } |
| 2240 | /* __old_semwait_signal_nocancel */ |
| 2241 | case 371: { |
| 2242 | struct __old_semwait_signal_nocancel_args *p = params; |
| 2243 | iarg[0] = p->cond_sem; /* int */ |
| 2244 | iarg[1] = p->mutex_sem; /* int */ |
| 2245 | iarg[2] = p->timeout; /* int */ |
| 2246 | iarg[3] = p->relative; /* int */ |
| 2247 | uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ |
| 2248 | break; |
| 2249 | } |
| 2250 | #else |
| 2251 | #endif |
| 2252 | /* thread_selfid */ |
| 2253 | case 372: { |
| 2254 | break; |
| 2255 | } |
| 2256 | /* ledger */ |
| 2257 | case 373: { |
| 2258 | struct ledger_args *p = params; |
| 2259 | iarg[0] = p->cmd; /* int */ |
| 2260 | uarg[1] = (intptr_t) p->arg1; /* caddr_t */ |
| 2261 | uarg[2] = (intptr_t) p->arg2; /* caddr_t */ |
| 2262 | uarg[3] = (intptr_t) p->arg3; /* caddr_t */ |
| 2263 | break; |
| 2264 | } |
| 2265 | /* kevent_qos */ |
| 2266 | case 374: { |
| 2267 | struct kevent_qos_args *p = params; |
| 2268 | iarg[0] = p->fd; /* int */ |
| 2269 | uarg[1] = (intptr_t) p->changelist; /* const struct kevent_qos_s * */ |
| 2270 | iarg[2] = p->nchanges; /* int */ |
| 2271 | uarg[3] = (intptr_t) p->eventlist; /* struct kevent_qos_s * */ |
| 2272 | iarg[4] = p->nevents; /* int */ |
| 2273 | uarg[5] = (intptr_t) p->data_out; /* void * */ |
| 2274 | uarg[6] = (intptr_t) p->data_available; /* size_t * */ |
| 2275 | uarg[7] = p->flags; /* unsigned int */ |
| 2276 | break; |
| 2277 | } |
| 2278 | /* kevent_id */ |
| 2279 | case 375: { |
| 2280 | struct kevent_id_args *p = params; |
| 2281 | uarg[0] = p->id; /* uint64_t */ |
| 2282 | uarg[1] = (intptr_t) p->changelist; /* const struct kevent_qos_s * */ |
| 2283 | iarg[2] = p->nchanges; /* int */ |
| 2284 | uarg[3] = (intptr_t) p->eventlist; /* struct kevent_qos_s * */ |
| 2285 | iarg[4] = p->nevents; /* int */ |
| 2286 | uarg[5] = (intptr_t) p->data_out; /* void * */ |
| 2287 | uarg[6] = (intptr_t) p->data_available; /* size_t * */ |
| 2288 | uarg[7] = p->flags; /* unsigned int */ |
| 2289 | break; |
| 2290 | } |
| 2291 | /* __mac_execve */ |
| 2292 | case 380: { |
| 2293 | struct __mac_execve_args *p = params; |
| 2294 | uarg[0] = (intptr_t) p->fname; /* char * */ |
| 2295 | uarg[1] = (intptr_t) p->argp; /* char ** */ |
| 2296 | uarg[2] = (intptr_t) p->envp; /* char ** */ |
| 2297 | uarg[3] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2298 | break; |
| 2299 | } |
| 2300 | #if CONFIG_MACF |
| 2301 | /* __mac_syscall */ |
| 2302 | case 381: { |
| 2303 | struct __mac_syscall_args *p = params; |
| 2304 | uarg[0] = (intptr_t) p->policy; /* char * */ |
| 2305 | iarg[1] = p->call; /* int */ |
| 2306 | uarg[2] = p->arg; /* user_addr_t */ |
| 2307 | break; |
| 2308 | } |
| 2309 | /* __mac_get_file */ |
| 2310 | case 382: { |
| 2311 | struct __mac_get_file_args *p = params; |
| 2312 | uarg[0] = (intptr_t) p->path_p; /* char * */ |
| 2313 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2314 | break; |
| 2315 | } |
| 2316 | /* __mac_set_file */ |
| 2317 | case 383: { |
| 2318 | struct __mac_set_file_args *p = params; |
| 2319 | uarg[0] = (intptr_t) p->path_p; /* char * */ |
| 2320 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2321 | break; |
| 2322 | } |
| 2323 | /* __mac_get_link */ |
| 2324 | case 384: { |
| 2325 | struct __mac_get_link_args *p = params; |
| 2326 | uarg[0] = (intptr_t) p->path_p; /* char * */ |
| 2327 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2328 | break; |
| 2329 | } |
| 2330 | /* __mac_set_link */ |
| 2331 | case 385: { |
| 2332 | struct __mac_set_link_args *p = params; |
| 2333 | uarg[0] = (intptr_t) p->path_p; /* char * */ |
| 2334 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2335 | break; |
| 2336 | } |
| 2337 | /* __mac_get_proc */ |
| 2338 | case 386: { |
| 2339 | struct __mac_get_proc_args *p = params; |
| 2340 | uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2341 | break; |
| 2342 | } |
| 2343 | /* __mac_set_proc */ |
| 2344 | case 387: { |
| 2345 | struct __mac_set_proc_args *p = params; |
| 2346 | uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2347 | break; |
| 2348 | } |
| 2349 | /* __mac_get_fd */ |
| 2350 | case 388: { |
| 2351 | struct __mac_get_fd_args *p = params; |
| 2352 | iarg[0] = p->fd; /* int */ |
| 2353 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2354 | break; |
| 2355 | } |
| 2356 | /* __mac_set_fd */ |
| 2357 | case 389: { |
| 2358 | struct __mac_set_fd_args *p = params; |
| 2359 | iarg[0] = p->fd; /* int */ |
| 2360 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2361 | break; |
| 2362 | } |
| 2363 | /* __mac_get_pid */ |
| 2364 | case 390: { |
| 2365 | struct __mac_get_pid_args *p = params; |
| 2366 | iarg[0] = p->pid; /* pid_t */ |
| 2367 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2368 | break; |
| 2369 | } |
| 2370 | #else |
| 2371 | #endif |
| 2372 | /* pselect */ |
| 2373 | case 394: { |
| 2374 | struct pselect_args *p = params; |
| 2375 | iarg[0] = p->nd; /* int */ |
| 2376 | uarg[1] = (intptr_t) p->in; /* u_int32_t * */ |
| 2377 | uarg[2] = (intptr_t) p->ou; /* u_int32_t * */ |
| 2378 | uarg[3] = (intptr_t) p->ex; /* u_int32_t * */ |
| 2379 | uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ |
| 2380 | uarg[5] = (intptr_t) p->mask; /* const struct sigset_t * */ |
| 2381 | break; |
| 2382 | } |
| 2383 | /* pselect_nocancel */ |
| 2384 | case 395: { |
| 2385 | struct pselect_nocancel_args *p = params; |
| 2386 | iarg[0] = p->nd; /* int */ |
| 2387 | uarg[1] = (intptr_t) p->in; /* u_int32_t * */ |
| 2388 | uarg[2] = (intptr_t) p->ou; /* u_int32_t * */ |
| 2389 | uarg[3] = (intptr_t) p->ex; /* u_int32_t * */ |
| 2390 | uarg[4] = (intptr_t) p->ts; /* const struct timespec * */ |
| 2391 | uarg[5] = (intptr_t) p->mask; /* const struct sigset_t * */ |
| 2392 | break; |
| 2393 | } |
| 2394 | /* read_nocancel */ |
| 2395 | case 396: { |
| 2396 | struct read_nocancel_args *p = params; |
| 2397 | iarg[0] = p->fd; /* int */ |
| 2398 | uarg[1] = p->cbuf; /* user_addr_t */ |
| 2399 | uarg[2] = p->nbyte; /* user_size_t */ |
| 2400 | break; |
| 2401 | } |
| 2402 | /* write_nocancel */ |
| 2403 | case 397: { |
| 2404 | struct write_nocancel_args *p = params; |
| 2405 | iarg[0] = p->fd; /* int */ |
| 2406 | uarg[1] = p->cbuf; /* user_addr_t */ |
| 2407 | uarg[2] = p->nbyte; /* user_size_t */ |
| 2408 | break; |
| 2409 | } |
| 2410 | /* open_nocancel */ |
| 2411 | case 398: { |
| 2412 | struct open_nocancel_args *p = params; |
| 2413 | uarg[0] = p->path; /* user_addr_t */ |
| 2414 | iarg[1] = p->flags; /* int */ |
| 2415 | iarg[2] = p->mode; /* int */ |
| 2416 | break; |
| 2417 | } |
| 2418 | /* close_nocancel */ |
| 2419 | case 399: { |
| 2420 | struct close_nocancel_args *p = params; |
| 2421 | iarg[0] = p->fd; /* int */ |
| 2422 | break; |
| 2423 | } |
| 2424 | /* wait4_nocancel */ |
| 2425 | case 400: { |
| 2426 | struct wait4_nocancel_args *p = params; |
| 2427 | iarg[0] = p->pid; /* int */ |
| 2428 | uarg[1] = p->status; /* user_addr_t */ |
| 2429 | iarg[2] = p->options; /* int */ |
| 2430 | uarg[3] = p->rusage; /* user_addr_t */ |
| 2431 | break; |
| 2432 | } |
| 2433 | #if SOCKETS |
| 2434 | /* recvmsg_nocancel */ |
| 2435 | case 401: { |
| 2436 | struct recvmsg_nocancel_args *p = params; |
| 2437 | iarg[0] = p->s; /* int */ |
| 2438 | uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ |
| 2439 | iarg[2] = p->flags; /* int */ |
| 2440 | break; |
| 2441 | } |
| 2442 | /* sendmsg_nocancel */ |
| 2443 | case 402: { |
| 2444 | struct sendmsg_nocancel_args *p = params; |
| 2445 | iarg[0] = p->s; /* int */ |
| 2446 | uarg[1] = (intptr_t) p->msg; /* caddr_t */ |
| 2447 | iarg[2] = p->flags; /* int */ |
| 2448 | break; |
| 2449 | } |
| 2450 | /* recvfrom_nocancel */ |
| 2451 | case 403: { |
| 2452 | struct recvfrom_nocancel_args *p = params; |
| 2453 | iarg[0] = p->s; /* int */ |
| 2454 | uarg[1] = (intptr_t) p->buf; /* void * */ |
| 2455 | uarg[2] = p->len; /* size_t */ |
| 2456 | iarg[3] = p->flags; /* int */ |
| 2457 | uarg[4] = (intptr_t) p->from; /* struct sockaddr * */ |
| 2458 | uarg[5] = (intptr_t) p->fromlenaddr; /* int * */ |
| 2459 | break; |
| 2460 | } |
| 2461 | /* accept_nocancel */ |
| 2462 | case 404: { |
| 2463 | struct accept_nocancel_args *p = params; |
| 2464 | iarg[0] = p->s; /* int */ |
| 2465 | uarg[1] = (intptr_t) p->name; /* caddr_t */ |
| 2466 | uarg[2] = (intptr_t) p->anamelen; /* socklen_t * */ |
| 2467 | break; |
| 2468 | } |
| 2469 | #else |
| 2470 | #endif /* SOCKETS */ |
| 2471 | /* msync_nocancel */ |
| 2472 | case 405: { |
| 2473 | struct msync_nocancel_args *p = params; |
| 2474 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 2475 | uarg[1] = p->len; /* size_t */ |
| 2476 | iarg[2] = p->flags; /* int */ |
| 2477 | break; |
| 2478 | } |
| 2479 | /* fcntl_nocancel */ |
| 2480 | case 406: { |
| 2481 | struct fcntl_nocancel_args *p = params; |
| 2482 | iarg[0] = p->fd; /* int */ |
| 2483 | iarg[1] = p->cmd; /* int */ |
| 2484 | iarg[2] = p->arg; /* long */ |
| 2485 | break; |
| 2486 | } |
| 2487 | /* select_nocancel */ |
| 2488 | case 407: { |
| 2489 | struct select_nocancel_args *p = params; |
| 2490 | iarg[0] = p->nd; /* int */ |
| 2491 | uarg[1] = (intptr_t) p->in; /* u_int32_t * */ |
| 2492 | uarg[2] = (intptr_t) p->ou; /* u_int32_t * */ |
| 2493 | uarg[3] = (intptr_t) p->ex; /* u_int32_t * */ |
| 2494 | uarg[4] = (intptr_t) p->tv; /* struct timeval * */ |
| 2495 | break; |
| 2496 | } |
| 2497 | /* fsync_nocancel */ |
| 2498 | case 408: { |
| 2499 | struct fsync_nocancel_args *p = params; |
| 2500 | iarg[0] = p->fd; /* int */ |
| 2501 | break; |
| 2502 | } |
| 2503 | #if SOCKETS |
| 2504 | /* connect_nocancel */ |
| 2505 | case 409: { |
| 2506 | struct connect_nocancel_args *p = params; |
| 2507 | iarg[0] = p->s; /* int */ |
| 2508 | uarg[1] = (intptr_t) p->name; /* caddr_t */ |
| 2509 | iarg[2] = p->namelen; /* socklen_t */ |
| 2510 | break; |
| 2511 | } |
| 2512 | #else |
| 2513 | #endif /* SOCKETS */ |
| 2514 | /* sigsuspend_nocancel */ |
| 2515 | case 410: { |
| 2516 | struct sigsuspend_nocancel_args *p = params; |
| 2517 | iarg[0] = p->mask; /* sigset_t */ |
| 2518 | break; |
| 2519 | } |
| 2520 | /* readv_nocancel */ |
| 2521 | case 411: { |
| 2522 | struct readv_nocancel_args *p = params; |
| 2523 | iarg[0] = p->fd; /* int */ |
| 2524 | uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ |
| 2525 | uarg[2] = p->iovcnt; /* u_int */ |
| 2526 | break; |
| 2527 | } |
| 2528 | /* writev_nocancel */ |
| 2529 | case 412: { |
| 2530 | struct writev_nocancel_args *p = params; |
| 2531 | iarg[0] = p->fd; /* int */ |
| 2532 | uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ |
| 2533 | uarg[2] = p->iovcnt; /* u_int */ |
| 2534 | break; |
| 2535 | } |
| 2536 | #if SOCKETS |
| 2537 | /* sendto_nocancel */ |
| 2538 | case 413: { |
| 2539 | struct sendto_nocancel_args *p = params; |
| 2540 | iarg[0] = p->s; /* int */ |
| 2541 | uarg[1] = (intptr_t) p->buf; /* caddr_t */ |
| 2542 | uarg[2] = p->len; /* size_t */ |
| 2543 | iarg[3] = p->flags; /* int */ |
| 2544 | uarg[4] = (intptr_t) p->to; /* caddr_t */ |
| 2545 | iarg[5] = p->tolen; /* socklen_t */ |
| 2546 | break; |
| 2547 | } |
| 2548 | #else |
| 2549 | #endif /* SOCKETS */ |
| 2550 | /* pread_nocancel */ |
| 2551 | case 414: { |
| 2552 | struct pread_nocancel_args *p = params; |
| 2553 | iarg[0] = p->fd; /* int */ |
| 2554 | uarg[1] = p->buf; /* user_addr_t */ |
| 2555 | uarg[2] = p->nbyte; /* user_size_t */ |
| 2556 | iarg[3] = p->offset; /* off_t */ |
| 2557 | break; |
| 2558 | } |
| 2559 | /* pwrite_nocancel */ |
| 2560 | case 415: { |
| 2561 | struct pwrite_nocancel_args *p = params; |
| 2562 | iarg[0] = p->fd; /* int */ |
| 2563 | uarg[1] = p->buf; /* user_addr_t */ |
| 2564 | uarg[2] = p->nbyte; /* user_size_t */ |
| 2565 | iarg[3] = p->offset; /* off_t */ |
| 2566 | break; |
| 2567 | } |
| 2568 | /* waitid_nocancel */ |
| 2569 | case 416: { |
| 2570 | struct waitid_nocancel_args *p = params; |
| 2571 | iarg[0] = p->idtype; /* idtype_t */ |
| 2572 | iarg[1] = p->id; /* id_t */ |
| 2573 | uarg[2] = (intptr_t) p->infop; /* siginfo_t * */ |
| 2574 | iarg[3] = p->options; /* int */ |
| 2575 | break; |
| 2576 | } |
| 2577 | /* poll_nocancel */ |
| 2578 | case 417: { |
| 2579 | struct poll_nocancel_args *p = params; |
| 2580 | uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ |
| 2581 | uarg[1] = p->nfds; /* u_int */ |
| 2582 | iarg[2] = p->timeout; /* int */ |
| 2583 | break; |
| 2584 | } |
| 2585 | #if SYSV_MSG |
| 2586 | /* msgsnd_nocancel */ |
| 2587 | case 418: { |
| 2588 | struct msgsnd_nocancel_args *p = params; |
| 2589 | iarg[0] = p->msqid; /* int */ |
| 2590 | uarg[1] = (intptr_t) p->msgp; /* void * */ |
| 2591 | uarg[2] = p->msgsz; /* size_t */ |
| 2592 | iarg[3] = p->msgflg; /* int */ |
| 2593 | break; |
| 2594 | } |
| 2595 | /* msgrcv_nocancel */ |
| 2596 | case 419: { |
| 2597 | struct msgrcv_nocancel_args *p = params; |
| 2598 | iarg[0] = p->msqid; /* int */ |
| 2599 | uarg[1] = (intptr_t) p->msgp; /* void * */ |
| 2600 | uarg[2] = p->msgsz; /* size_t */ |
| 2601 | iarg[3] = p->msgtyp; /* long */ |
| 2602 | iarg[4] = p->msgflg; /* int */ |
| 2603 | break; |
| 2604 | } |
| 2605 | #else |
| 2606 | #endif |
| 2607 | /* sem_wait_nocancel */ |
| 2608 | case 420: { |
| 2609 | struct sem_wait_nocancel_args *p = params; |
| 2610 | uarg[0] = (intptr_t) p->sem; /* sem_t * */ |
| 2611 | break; |
| 2612 | } |
| 2613 | /* aio_suspend_nocancel */ |
| 2614 | case 421: { |
| 2615 | struct aio_suspend_nocancel_args *p = params; |
| 2616 | uarg[0] = p->aiocblist; /* user_addr_t */ |
| 2617 | iarg[1] = p->nent; /* int */ |
| 2618 | uarg[2] = p->timeoutp; /* user_addr_t */ |
| 2619 | break; |
| 2620 | } |
| 2621 | /* __sigwait_nocancel */ |
| 2622 | case 422: { |
| 2623 | struct __sigwait_nocancel_args *p = params; |
| 2624 | uarg[0] = p->set; /* user_addr_t */ |
| 2625 | uarg[1] = p->sig; /* user_addr_t */ |
| 2626 | break; |
| 2627 | } |
| 2628 | /* __semwait_signal_nocancel */ |
| 2629 | case 423: { |
| 2630 | struct __semwait_signal_nocancel_args *p = params; |
| 2631 | iarg[0] = p->cond_sem; /* int */ |
| 2632 | iarg[1] = p->mutex_sem; /* int */ |
| 2633 | iarg[2] = p->timeout; /* int */ |
| 2634 | iarg[3] = p->relative; /* int */ |
| 2635 | iarg[4] = p->tv_sec; /* int64_t */ |
| 2636 | iarg[5] = p->tv_nsec; /* int32_t */ |
| 2637 | break; |
| 2638 | } |
| 2639 | /* __mac_mount */ |
| 2640 | case 424: { |
| 2641 | struct __mac_mount_args *p = params; |
| 2642 | uarg[0] = (intptr_t) p->type; /* char * */ |
| 2643 | uarg[1] = (intptr_t) p->path; /* char * */ |
| 2644 | iarg[2] = p->flags; /* int */ |
| 2645 | uarg[3] = (intptr_t) p->data; /* caddr_t */ |
| 2646 | uarg[4] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2647 | break; |
| 2648 | } |
| 2649 | #if CONFIG_MACF |
| 2650 | /* __mac_get_mount */ |
| 2651 | case 425: { |
| 2652 | struct __mac_get_mount_args *p = params; |
| 2653 | uarg[0] = (intptr_t) p->path; /* char * */ |
| 2654 | uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ |
| 2655 | break; |
| 2656 | } |
| 2657 | #else |
| 2658 | #endif |
| 2659 | /* __mac_getfsstat */ |
| 2660 | case 426: { |
| 2661 | struct __mac_getfsstat_args *p = params; |
| 2662 | uarg[0] = p->buf; /* user_addr_t */ |
| 2663 | iarg[1] = p->bufsize; /* int */ |
| 2664 | uarg[2] = p->mac; /* user_addr_t */ |
| 2665 | iarg[3] = p->macsize; /* int */ |
| 2666 | iarg[4] = p->flags; /* int */ |
| 2667 | break; |
| 2668 | } |
| 2669 | /* fsgetpath */ |
| 2670 | case 427: { |
| 2671 | struct fsgetpath_args *p = params; |
| 2672 | uarg[0] = p->buf; /* user_addr_t */ |
| 2673 | uarg[1] = p->bufsize; /* size_t */ |
| 2674 | uarg[2] = p->fsid; /* user_addr_t */ |
| 2675 | uarg[3] = p->objid; /* uint64_t */ |
| 2676 | break; |
| 2677 | } |
| 2678 | /* audit_session_self */ |
| 2679 | case 428: { |
| 2680 | break; |
| 2681 | } |
| 2682 | /* audit_session_join */ |
| 2683 | case 429: { |
| 2684 | struct audit_session_join_args *p = params; |
| 2685 | iarg[0] = p->port; /* mach_port_name_t */ |
| 2686 | break; |
| 2687 | } |
| 2688 | /* fileport_makeport */ |
| 2689 | case 430: { |
| 2690 | struct fileport_makeport_args *p = params; |
| 2691 | iarg[0] = p->fd; /* int */ |
| 2692 | uarg[1] = p->portnamep; /* user_addr_t */ |
| 2693 | break; |
| 2694 | } |
| 2695 | /* fileport_makefd */ |
| 2696 | case 431: { |
| 2697 | struct fileport_makefd_args *p = params; |
| 2698 | iarg[0] = p->port; /* mach_port_name_t */ |
| 2699 | break; |
| 2700 | } |
| 2701 | /* audit_session_port */ |
| 2702 | case 432: { |
| 2703 | struct audit_session_port_args *p = params; |
| 2704 | iarg[0] = p->asid; /* au_asid_t */ |
| 2705 | uarg[1] = p->portnamep; /* user_addr_t */ |
| 2706 | break; |
| 2707 | } |
| 2708 | /* pid_suspend */ |
| 2709 | case 433: { |
| 2710 | struct pid_suspend_args *p = params; |
| 2711 | iarg[0] = p->pid; /* int */ |
| 2712 | break; |
| 2713 | } |
| 2714 | /* pid_resume */ |
| 2715 | case 434: { |
| 2716 | struct pid_resume_args *p = params; |
| 2717 | iarg[0] = p->pid; /* int */ |
| 2718 | break; |
| 2719 | } |
| 2720 | #if CONFIG_EMBEDDED |
| 2721 | /* pid_hibernate */ |
| 2722 | case 435: { |
| 2723 | struct pid_hibernate_args *p = params; |
| 2724 | iarg[0] = p->pid; /* int */ |
| 2725 | break; |
| 2726 | } |
| 2727 | #else |
| 2728 | #endif |
| 2729 | #if SOCKETS |
| 2730 | /* pid_shutdown_sockets */ |
| 2731 | case 436: { |
| 2732 | struct pid_shutdown_sockets_args *p = params; |
| 2733 | iarg[0] = p->pid; /* int */ |
| 2734 | iarg[1] = p->level; /* int */ |
| 2735 | break; |
| 2736 | } |
| 2737 | #else |
| 2738 | #endif |
| 2739 | /* shared_region_map_and_slide_np */ |
| 2740 | case 438: { |
| 2741 | struct shared_region_map_and_slide_np_args *p = params; |
| 2742 | iarg[0] = p->fd; /* int */ |
| 2743 | uarg[1] = p->count; /* uint32_t */ |
| 2744 | uarg[2] = (intptr_t) p->mappings; /* const struct shared_file_mapping_np * */ |
| 2745 | uarg[3] = p->slide; /* uint32_t */ |
| 2746 | uarg[4] = (intptr_t) p->slide_start; /* uint64_t * */ |
| 2747 | uarg[5] = p->slide_size; /* uint32_t */ |
| 2748 | break; |
| 2749 | } |
| 2750 | /* kas_info */ |
| 2751 | case 439: { |
| 2752 | struct kas_info_args *p = params; |
| 2753 | iarg[0] = p->selector; /* int */ |
| 2754 | uarg[1] = (intptr_t) p->value; /* void * */ |
| 2755 | uarg[2] = (intptr_t) p->size; /* size_t * */ |
| 2756 | break; |
| 2757 | } |
| 2758 | #if CONFIG_MEMORYSTATUS |
| 2759 | /* memorystatus_control */ |
| 2760 | case 440: { |
| 2761 | struct memorystatus_control_args *p = params; |
| 2762 | uarg[0] = p->command; /* uint32_t */ |
| 2763 | iarg[1] = p->pid; /* int32_t */ |
| 2764 | uarg[2] = p->flags; /* uint32_t */ |
| 2765 | uarg[3] = p->buffer; /* user_addr_t */ |
| 2766 | uarg[4] = p->buffersize; /* size_t */ |
| 2767 | break; |
| 2768 | } |
| 2769 | #else |
| 2770 | #endif |
| 2771 | /* guarded_open_np */ |
| 2772 | case 441: { |
| 2773 | struct guarded_open_np_args *p = params; |
| 2774 | uarg[0] = p->path; /* user_addr_t */ |
| 2775 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 2776 | uarg[2] = p->guardflags; /* u_int */ |
| 2777 | iarg[3] = p->flags; /* int */ |
| 2778 | iarg[4] = p->mode; /* int */ |
| 2779 | break; |
| 2780 | } |
| 2781 | /* guarded_close_np */ |
| 2782 | case 442: { |
| 2783 | struct guarded_close_np_args *p = params; |
| 2784 | iarg[0] = p->fd; /* int */ |
| 2785 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 2786 | break; |
| 2787 | } |
| 2788 | /* guarded_kqueue_np */ |
| 2789 | case 443: { |
| 2790 | struct guarded_kqueue_np_args *p = params; |
| 2791 | uarg[0] = (intptr_t) p->guard; /* const guardid_t * */ |
| 2792 | uarg[1] = p->guardflags; /* u_int */ |
| 2793 | break; |
| 2794 | } |
| 2795 | /* change_fdguard_np */ |
| 2796 | case 444: { |
| 2797 | struct change_fdguard_np_args *p = params; |
| 2798 | iarg[0] = p->fd; /* int */ |
| 2799 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 2800 | uarg[2] = p->guardflags; /* u_int */ |
| 2801 | uarg[3] = (intptr_t) p->nguard; /* const guardid_t * */ |
| 2802 | uarg[4] = p->nguardflags; /* u_int */ |
| 2803 | uarg[5] = (intptr_t) p->fdflagsp; /* int * */ |
| 2804 | break; |
| 2805 | } |
| 2806 | /* usrctl */ |
| 2807 | case 445: { |
| 2808 | struct usrctl_args *p = params; |
| 2809 | uarg[0] = p->flags; /* uint32_t */ |
| 2810 | break; |
| 2811 | } |
| 2812 | /* proc_rlimit_control */ |
| 2813 | case 446: { |
| 2814 | struct proc_rlimit_control_args *p = params; |
| 2815 | iarg[0] = p->pid; /* pid_t */ |
| 2816 | iarg[1] = p->flavor; /* int */ |
| 2817 | uarg[2] = (intptr_t) p->arg; /* void * */ |
| 2818 | break; |
| 2819 | } |
| 2820 | #if SOCKETS |
| 2821 | /* connectx */ |
| 2822 | case 447: { |
| 2823 | struct connectx_args *p = params; |
| 2824 | iarg[0] = p->socket; /* int */ |
| 2825 | uarg[1] = (intptr_t) p->endpoints; /* const sa_endpoints_t * */ |
| 2826 | iarg[2] = p->associd; /* sae_associd_t */ |
| 2827 | uarg[3] = p->flags; /* unsigned int */ |
| 2828 | uarg[4] = (intptr_t) p->iov; /* const struct iovec * */ |
| 2829 | uarg[5] = p->iovcnt; /* unsigned int */ |
| 2830 | uarg[6] = (intptr_t) p->len; /* size_t * */ |
| 2831 | uarg[7] = (intptr_t) p->connid; /* sae_connid_t * */ |
| 2832 | break; |
| 2833 | } |
| 2834 | /* disconnectx */ |
| 2835 | case 448: { |
| 2836 | struct disconnectx_args *p = params; |
| 2837 | iarg[0] = p->s; /* int */ |
| 2838 | iarg[1] = p->aid; /* sae_associd_t */ |
| 2839 | iarg[2] = p->cid; /* sae_connid_t */ |
| 2840 | break; |
| 2841 | } |
| 2842 | /* peeloff */ |
| 2843 | case 449: { |
| 2844 | struct peeloff_args *p = params; |
| 2845 | iarg[0] = p->s; /* int */ |
| 2846 | iarg[1] = p->aid; /* sae_associd_t */ |
| 2847 | break; |
| 2848 | } |
| 2849 | /* socket_delegate */ |
| 2850 | case 450: { |
| 2851 | struct socket_delegate_args *p = params; |
| 2852 | iarg[0] = p->domain; /* int */ |
| 2853 | iarg[1] = p->type; /* int */ |
| 2854 | iarg[2] = p->protocol; /* int */ |
| 2855 | iarg[3] = p->epid; /* pid_t */ |
| 2856 | break; |
| 2857 | } |
| 2858 | #else |
| 2859 | #endif /* SOCKETS */ |
| 2860 | /* telemetry */ |
| 2861 | case 451: { |
| 2862 | struct telemetry_args *p = params; |
| 2863 | uarg[0] = p->cmd; /* uint64_t */ |
| 2864 | uarg[1] = p->deadline; /* uint64_t */ |
| 2865 | uarg[2] = p->interval; /* uint64_t */ |
| 2866 | uarg[3] = p->leeway; /* uint64_t */ |
| 2867 | uarg[4] = p->arg4; /* uint64_t */ |
| 2868 | uarg[5] = p->arg5; /* uint64_t */ |
| 2869 | break; |
| 2870 | } |
| 2871 | #if CONFIG_PROC_UUID_POLICY |
| 2872 | /* proc_uuid_policy */ |
| 2873 | case 452: { |
| 2874 | struct proc_uuid_policy_args *p = params; |
| 2875 | uarg[0] = p->operation; /* uint32_t */ |
| 2876 | uarg[1] = p->uuid; /* uuid_t */ |
| 2877 | uarg[2] = p->uuidlen; /* size_t */ |
| 2878 | uarg[3] = p->flags; /* uint32_t */ |
| 2879 | break; |
| 2880 | } |
| 2881 | #else |
| 2882 | #endif |
| 2883 | #if CONFIG_MEMORYSTATUS |
| 2884 | /* memorystatus_get_level */ |
| 2885 | case 453: { |
| 2886 | struct memorystatus_get_level_args *p = params; |
| 2887 | uarg[0] = p->level; /* user_addr_t */ |
| 2888 | break; |
| 2889 | } |
| 2890 | #else |
| 2891 | #endif |
| 2892 | /* system_override */ |
| 2893 | case 454: { |
| 2894 | struct system_override_args *p = params; |
| 2895 | uarg[0] = p->timeout; /* uint64_t */ |
| 2896 | uarg[1] = p->flags; /* uint64_t */ |
| 2897 | break; |
| 2898 | } |
| 2899 | /* vfs_purge */ |
| 2900 | case 455: { |
| 2901 | break; |
| 2902 | } |
| 2903 | /* sfi_ctl */ |
| 2904 | case 456: { |
| 2905 | struct sfi_ctl_args *p = params; |
| 2906 | uarg[0] = p->operation; /* uint32_t */ |
| 2907 | uarg[1] = p->sfi_class; /* uint32_t */ |
| 2908 | uarg[2] = p->time; /* uint64_t */ |
| 2909 | uarg[3] = (intptr_t) p->out_time; /* uint64_t * */ |
| 2910 | break; |
| 2911 | } |
| 2912 | /* sfi_pidctl */ |
| 2913 | case 457: { |
| 2914 | struct sfi_pidctl_args *p = params; |
| 2915 | uarg[0] = p->operation; /* uint32_t */ |
| 2916 | iarg[1] = p->pid; /* pid_t */ |
| 2917 | uarg[2] = p->sfi_flags; /* uint32_t */ |
| 2918 | uarg[3] = (intptr_t) p->out_sfi_flags; /* uint32_t * */ |
| 2919 | break; |
| 2920 | } |
| 2921 | #if CONFIG_COALITIONS |
| 2922 | /* coalition */ |
| 2923 | case 458: { |
| 2924 | struct coalition_args *p = params; |
| 2925 | uarg[0] = p->operation; /* uint32_t */ |
| 2926 | uarg[1] = (intptr_t) p->cid; /* uint64_t * */ |
| 2927 | uarg[2] = p->flags; /* uint32_t */ |
| 2928 | break; |
| 2929 | } |
| 2930 | /* coalition_info */ |
| 2931 | case 459: { |
| 2932 | struct coalition_info_args *p = params; |
| 2933 | uarg[0] = p->flavor; /* uint32_t */ |
| 2934 | uarg[1] = (intptr_t) p->cid; /* uint64_t * */ |
| 2935 | uarg[2] = (intptr_t) p->buffer; /* void * */ |
| 2936 | uarg[3] = (intptr_t) p->bufsize; /* size_t * */ |
| 2937 | break; |
| 2938 | } |
| 2939 | #else |
| 2940 | #endif /* COALITIONS */ |
| 2941 | #if NECP |
| 2942 | /* necp_match_policy */ |
| 2943 | case 460: { |
| 2944 | struct necp_match_policy_args *p = params; |
| 2945 | uarg[0] = (intptr_t) p->parameters; /* uint8_t * */ |
| 2946 | uarg[1] = p->parameters_size; /* size_t */ |
| 2947 | uarg[2] = (intptr_t) p->returned_result; /* struct necp_aggregate_result * */ |
| 2948 | break; |
| 2949 | } |
| 2950 | #else |
| 2951 | #endif /* NECP */ |
| 2952 | /* getattrlistbulk */ |
| 2953 | case 461: { |
| 2954 | struct getattrlistbulk_args *p = params; |
| 2955 | iarg[0] = p->dirfd; /* int */ |
| 2956 | uarg[1] = (intptr_t) p->alist; /* struct attrlist * */ |
| 2957 | uarg[2] = (intptr_t) p->attributeBuffer; /* void * */ |
| 2958 | uarg[3] = p->bufferSize; /* size_t */ |
| 2959 | uarg[4] = p->options; /* uint64_t */ |
| 2960 | break; |
| 2961 | } |
| 2962 | /* clonefileat */ |
| 2963 | case 462: { |
| 2964 | struct clonefileat_args *p = params; |
| 2965 | iarg[0] = p->src_dirfd; /* int */ |
| 2966 | uarg[1] = p->src; /* user_addr_t */ |
| 2967 | iarg[2] = p->dst_dirfd; /* int */ |
| 2968 | uarg[3] = p->dst; /* user_addr_t */ |
| 2969 | uarg[4] = p->flags; /* uint32_t */ |
| 2970 | break; |
| 2971 | } |
| 2972 | /* openat */ |
| 2973 | case 463: { |
| 2974 | struct openat_args *p = params; |
| 2975 | iarg[0] = p->fd; /* int */ |
| 2976 | uarg[1] = p->path; /* user_addr_t */ |
| 2977 | iarg[2] = p->flags; /* int */ |
| 2978 | iarg[3] = p->mode; /* int */ |
| 2979 | break; |
| 2980 | } |
| 2981 | /* openat_nocancel */ |
| 2982 | case 464: { |
| 2983 | struct openat_nocancel_args *p = params; |
| 2984 | iarg[0] = p->fd; /* int */ |
| 2985 | uarg[1] = p->path; /* user_addr_t */ |
| 2986 | iarg[2] = p->flags; /* int */ |
| 2987 | iarg[3] = p->mode; /* int */ |
| 2988 | break; |
| 2989 | } |
| 2990 | /* renameat */ |
| 2991 | case 465: { |
| 2992 | struct renameat_args *p = params; |
| 2993 | iarg[0] = p->fromfd; /* int */ |
| 2994 | uarg[1] = (intptr_t) p->from; /* char * */ |
| 2995 | iarg[2] = p->tofd; /* int */ |
| 2996 | uarg[3] = (intptr_t) p->to; /* char * */ |
| 2997 | break; |
| 2998 | } |
| 2999 | /* faccessat */ |
| 3000 | case 466: { |
| 3001 | struct faccessat_args *p = params; |
| 3002 | iarg[0] = p->fd; /* int */ |
| 3003 | uarg[1] = p->path; /* user_addr_t */ |
| 3004 | iarg[2] = p->amode; /* int */ |
| 3005 | iarg[3] = p->flag; /* int */ |
| 3006 | break; |
| 3007 | } |
| 3008 | /* fchmodat */ |
| 3009 | case 467: { |
| 3010 | struct fchmodat_args *p = params; |
| 3011 | iarg[0] = p->fd; /* int */ |
| 3012 | uarg[1] = p->path; /* user_addr_t */ |
| 3013 | iarg[2] = p->mode; /* int */ |
| 3014 | iarg[3] = p->flag; /* int */ |
| 3015 | break; |
| 3016 | } |
| 3017 | /* fchownat */ |
| 3018 | case 468: { |
| 3019 | struct fchownat_args *p = params; |
| 3020 | iarg[0] = p->fd; /* int */ |
| 3021 | uarg[1] = p->path; /* user_addr_t */ |
| 3022 | uarg[2] = p->uid; /* uid_t */ |
| 3023 | iarg[3] = p->gid; /* gid_t */ |
| 3024 | iarg[4] = p->flag; /* int */ |
| 3025 | break; |
| 3026 | } |
| 3027 | /* fstatat */ |
| 3028 | case 469: { |
| 3029 | struct fstatat_args *p = params; |
| 3030 | iarg[0] = p->fd; /* int */ |
| 3031 | uarg[1] = p->path; /* user_addr_t */ |
| 3032 | uarg[2] = p->ub; /* user_addr_t */ |
| 3033 | iarg[3] = p->flag; /* int */ |
| 3034 | break; |
| 3035 | } |
| 3036 | /* fstatat64 */ |
| 3037 | case 470: { |
| 3038 | struct fstatat64_args *p = params; |
| 3039 | iarg[0] = p->fd; /* int */ |
| 3040 | uarg[1] = p->path; /* user_addr_t */ |
| 3041 | uarg[2] = p->ub; /* user_addr_t */ |
| 3042 | iarg[3] = p->flag; /* int */ |
| 3043 | break; |
| 3044 | } |
| 3045 | /* linkat */ |
| 3046 | case 471: { |
| 3047 | struct linkat_args *p = params; |
| 3048 | iarg[0] = p->fd1; /* int */ |
| 3049 | uarg[1] = p->path; /* user_addr_t */ |
| 3050 | iarg[2] = p->fd2; /* int */ |
| 3051 | uarg[3] = p->link; /* user_addr_t */ |
| 3052 | iarg[4] = p->flag; /* int */ |
| 3053 | break; |
| 3054 | } |
| 3055 | /* unlinkat */ |
| 3056 | case 472: { |
| 3057 | struct unlinkat_args *p = params; |
| 3058 | iarg[0] = p->fd; /* int */ |
| 3059 | uarg[1] = p->path; /* user_addr_t */ |
| 3060 | iarg[2] = p->flag; /* int */ |
| 3061 | break; |
| 3062 | } |
| 3063 | /* readlinkat */ |
| 3064 | case 473: { |
| 3065 | struct readlinkat_args *p = params; |
| 3066 | iarg[0] = p->fd; /* int */ |
| 3067 | uarg[1] = p->path; /* user_addr_t */ |
| 3068 | uarg[2] = p->buf; /* user_addr_t */ |
| 3069 | uarg[3] = p->bufsize; /* size_t */ |
| 3070 | break; |
| 3071 | } |
| 3072 | /* symlinkat */ |
| 3073 | case 474: { |
| 3074 | struct symlinkat_args *p = params; |
| 3075 | uarg[0] = (intptr_t) p->path1; /* user_addr_t * */ |
| 3076 | iarg[1] = p->fd; /* int */ |
| 3077 | uarg[2] = p->path2; /* user_addr_t */ |
| 3078 | break; |
| 3079 | } |
| 3080 | /* mkdirat */ |
| 3081 | case 475: { |
| 3082 | struct mkdirat_args *p = params; |
| 3083 | iarg[0] = p->fd; /* int */ |
| 3084 | uarg[1] = p->path; /* user_addr_t */ |
| 3085 | iarg[2] = p->mode; /* int */ |
| 3086 | break; |
| 3087 | } |
| 3088 | /* getattrlistat */ |
| 3089 | case 476: { |
| 3090 | struct getattrlistat_args *p = params; |
| 3091 | iarg[0] = p->fd; /* int */ |
| 3092 | uarg[1] = (intptr_t) p->path; /* const char * */ |
| 3093 | uarg[2] = (intptr_t) p->alist; /* struct attrlist * */ |
| 3094 | uarg[3] = (intptr_t) p->attributeBuffer; /* void * */ |
| 3095 | uarg[4] = p->bufferSize; /* size_t */ |
| 3096 | uarg[5] = p->options; /* u_long */ |
| 3097 | break; |
| 3098 | } |
| 3099 | /* proc_trace_log */ |
| 3100 | case 477: { |
| 3101 | struct proc_trace_log_args *p = params; |
| 3102 | iarg[0] = p->pid; /* pid_t */ |
| 3103 | uarg[1] = p->uniqueid; /* uint64_t */ |
| 3104 | break; |
| 3105 | } |
| 3106 | /* bsdthread_ctl */ |
| 3107 | case 478: { |
| 3108 | struct bsdthread_ctl_args *p = params; |
| 3109 | uarg[0] = p->cmd; /* user_addr_t */ |
| 3110 | uarg[1] = p->arg1; /* user_addr_t */ |
| 3111 | uarg[2] = p->arg2; /* user_addr_t */ |
| 3112 | uarg[3] = p->arg3; /* user_addr_t */ |
| 3113 | break; |
| 3114 | } |
| 3115 | /* openbyid_np */ |
| 3116 | case 479: { |
| 3117 | struct openbyid_np_args *p = params; |
| 3118 | uarg[0] = p->fsid; /* user_addr_t */ |
| 3119 | uarg[1] = p->objid; /* user_addr_t */ |
| 3120 | iarg[2] = p->oflags; /* int */ |
| 3121 | break; |
| 3122 | } |
| 3123 | #if SOCKETS |
| 3124 | /* recvmsg_x */ |
| 3125 | case 480: { |
| 3126 | struct recvmsg_x_args *p = params; |
| 3127 | iarg[0] = p->s; /* int */ |
| 3128 | uarg[1] = (intptr_t) p->msgp; /* struct msghdr_x * */ |
| 3129 | uarg[2] = p->cnt; /* u_int */ |
| 3130 | iarg[3] = p->flags; /* int */ |
| 3131 | break; |
| 3132 | } |
| 3133 | /* sendmsg_x */ |
| 3134 | case 481: { |
| 3135 | struct sendmsg_x_args *p = params; |
| 3136 | iarg[0] = p->s; /* int */ |
| 3137 | uarg[1] = (intptr_t) p->msgp; /* struct msghdr_x * */ |
| 3138 | uarg[2] = p->cnt; /* u_int */ |
| 3139 | iarg[3] = p->flags; /* int */ |
| 3140 | break; |
| 3141 | } |
| 3142 | #else |
| 3143 | #endif /* SOCKETS */ |
| 3144 | /* thread_selfusage */ |
| 3145 | case 482: { |
| 3146 | break; |
| 3147 | } |
| 3148 | #if CONFIG_CSR |
| 3149 | /* csrctl */ |
| 3150 | case 483: { |
| 3151 | struct csrctl_args *p = params; |
| 3152 | uarg[0] = p->op; /* uint32_t */ |
| 3153 | uarg[1] = p->useraddr; /* user_addr_t */ |
| 3154 | uarg[2] = p->usersize; /* user_addr_t */ |
| 3155 | break; |
| 3156 | } |
| 3157 | #else |
| 3158 | #endif /* CSR */ |
| 3159 | /* guarded_open_dprotected_np */ |
| 3160 | case 484: { |
| 3161 | struct guarded_open_dprotected_np_args *p = params; |
| 3162 | uarg[0] = p->path; /* user_addr_t */ |
| 3163 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 3164 | uarg[2] = p->guardflags; /* u_int */ |
| 3165 | iarg[3] = p->flags; /* int */ |
| 3166 | iarg[4] = p->dpclass; /* int */ |
| 3167 | iarg[5] = p->dpflags; /* int */ |
| 3168 | iarg[6] = p->mode; /* int */ |
| 3169 | break; |
| 3170 | } |
| 3171 | /* guarded_write_np */ |
| 3172 | case 485: { |
| 3173 | struct guarded_write_np_args *p = params; |
| 3174 | iarg[0] = p->fd; /* int */ |
| 3175 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 3176 | uarg[2] = p->cbuf; /* user_addr_t */ |
| 3177 | uarg[3] = p->nbyte; /* user_size_t */ |
| 3178 | break; |
| 3179 | } |
| 3180 | /* guarded_pwrite_np */ |
| 3181 | case 486: { |
| 3182 | struct guarded_pwrite_np_args *p = params; |
| 3183 | iarg[0] = p->fd; /* int */ |
| 3184 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 3185 | uarg[2] = p->buf; /* user_addr_t */ |
| 3186 | uarg[3] = p->nbyte; /* user_size_t */ |
| 3187 | iarg[4] = p->offset; /* off_t */ |
| 3188 | break; |
| 3189 | } |
| 3190 | /* guarded_writev_np */ |
| 3191 | case 487: { |
| 3192 | struct guarded_writev_np_args *p = params; |
| 3193 | iarg[0] = p->fd; /* int */ |
| 3194 | uarg[1] = (intptr_t) p->guard; /* const guardid_t * */ |
| 3195 | uarg[2] = (intptr_t) p->iovp; /* struct iovec * */ |
| 3196 | iarg[3] = p->iovcnt; /* int */ |
| 3197 | break; |
| 3198 | } |
| 3199 | /* renameatx_np */ |
| 3200 | case 488: { |
| 3201 | struct renameatx_np_args *p = params; |
| 3202 | iarg[0] = p->fromfd; /* int */ |
| 3203 | uarg[1] = (intptr_t) p->from; /* char * */ |
| 3204 | iarg[2] = p->tofd; /* int */ |
| 3205 | uarg[3] = (intptr_t) p->to; /* char * */ |
| 3206 | uarg[4] = p->flags; /* u_int */ |
| 3207 | break; |
| 3208 | } |
| 3209 | #if CONFIG_CODE_DECRYPTION |
| 3210 | /* mremap_encrypted */ |
| 3211 | case 489: { |
| 3212 | struct mremap_encrypted_args *p = params; |
| 3213 | uarg[0] = (intptr_t) p->addr; /* caddr_t */ |
| 3214 | uarg[1] = p->len; /* size_t */ |
| 3215 | uarg[2] = p->cryptid; /* uint32_t */ |
| 3216 | uarg[3] = p->cputype; /* uint32_t */ |
| 3217 | uarg[4] = p->cpusubtype; /* uint32_t */ |
| 3218 | break; |
| 3219 | } |
| 3220 | #else |
| 3221 | #endif |
| 3222 | #if NETWORKING |
| 3223 | /* netagent_trigger */ |
| 3224 | case 490: { |
| 3225 | struct netagent_trigger_args *p = params; |
| 3226 | uarg[0] = p->agent_uuid; /* uuid_t */ |
| 3227 | uarg[1] = p->agent_uuidlen; /* size_t */ |
| 3228 | break; |
| 3229 | } |
| 3230 | #else |
| 3231 | #endif /* NETWORKING */ |
| 3232 | /* stack_snapshot_with_config */ |
| 3233 | case 491: { |
| 3234 | struct stack_snapshot_with_config_args *p = params; |
| 3235 | iarg[0] = p->stackshot_config_version; /* int */ |
| 3236 | uarg[1] = p->stackshot_config; /* user_addr_t */ |
| 3237 | uarg[2] = p->stackshot_config_size; /* size_t */ |
| 3238 | break; |
| 3239 | } |
| 3240 | #if CONFIG_TELEMETRY |
| 3241 | /* microstackshot */ |
| 3242 | case 492: { |
| 3243 | struct microstackshot_args *p = params; |
| 3244 | uarg[0] = p->tracebuf; /* user_addr_t */ |
| 3245 | uarg[1] = p->tracebuf_size; /* uint32_t */ |
| 3246 | uarg[2] = p->flags; /* uint32_t */ |
| 3247 | break; |
| 3248 | } |
| 3249 | #else |
| 3250 | #endif /* CONFIG_TELEMETRY */ |
| 3251 | #if PGO |
| 3252 | /* grab_pgo_data */ |
| 3253 | case 493: { |
| 3254 | struct grab_pgo_data_args *p = params; |
| 3255 | uarg[0] = p->uuid; /* user_addr_t */ |
| 3256 | iarg[1] = p->flags; /* int */ |
| 3257 | uarg[2] = p->buffer; /* user_addr_t */ |
| 3258 | uarg[3] = p->size; /* user_ssize_t */ |
| 3259 | break; |
| 3260 | } |
| 3261 | #else |
| 3262 | #endif |
| 3263 | #if CONFIG_PERSONAS |
| 3264 | /* persona */ |
| 3265 | case 494: { |
| 3266 | struct persona_args *p = params; |
| 3267 | uarg[0] = p->operation; /* uint32_t */ |
| 3268 | uarg[1] = p->flags; /* uint32_t */ |
| 3269 | uarg[2] = (intptr_t) p->info; /* struct kpersona_info * */ |
| 3270 | uarg[3] = (intptr_t) p->id; /* uid_t * */ |
| 3271 | uarg[4] = (intptr_t) p->idlen; /* size_t * */ |
| 3272 | break; |
| 3273 | } |
| 3274 | #else |
| 3275 | #endif |
| 3276 | /* work_interval_ctl */ |
| 3277 | case 499: { |
| 3278 | struct work_interval_ctl_args *p = params; |
| 3279 | uarg[0] = p->operation; /* uint32_t */ |
| 3280 | uarg[1] = p->work_interval_id; /* uint64_t */ |
| 3281 | uarg[2] = (intptr_t) p->arg; /* void * */ |
| 3282 | uarg[3] = p->len; /* size_t */ |
| 3283 | break; |
| 3284 | } |
| 3285 | /* getentropy */ |
| 3286 | case 500: { |
| 3287 | struct getentropy_args *p = params; |
| 3288 | uarg[0] = (intptr_t) p->buffer; /* void * */ |
| 3289 | uarg[1] = p->size; /* size_t */ |
| 3290 | break; |
| 3291 | } |
| 3292 | #if NECP |
| 3293 | /* necp_open */ |
| 3294 | case 501: { |
| 3295 | struct necp_open_args *p = params; |
| 3296 | iarg[0] = p->flags; /* int */ |
| 3297 | break; |
| 3298 | } |
| 3299 | /* necp_client_action */ |
| 3300 | case 502: { |
| 3301 | struct necp_client_action_args *p = params; |
| 3302 | iarg[0] = p->necp_fd; /* int */ |
| 3303 | uarg[1] = p->action; /* uint32_t */ |
| 3304 | uarg[2] = p->client_id; /* uuid_t */ |
| 3305 | uarg[3] = p->client_id_len; /* size_t */ |
| 3306 | uarg[4] = (intptr_t) p->buffer; /* uint8_t * */ |
| 3307 | uarg[5] = p->buffer_size; /* size_t */ |
| 3308 | break; |
| 3309 | } |
| 3310 | #else |
| 3311 | #endif /* NECP */ |
| 3312 | /* ulock_wait */ |
| 3313 | case 515: { |
| 3314 | struct ulock_wait_args *p = params; |
| 3315 | uarg[0] = p->operation; /* uint32_t */ |
| 3316 | uarg[1] = (intptr_t) p->addr; /* void * */ |
| 3317 | uarg[2] = p->value; /* uint64_t */ |
| 3318 | uarg[3] = p->timeout; /* uint32_t */ |
| 3319 | break; |
| 3320 | } |
| 3321 | /* ulock_wake */ |
| 3322 | case 516: { |
| 3323 | struct ulock_wake_args *p = params; |
| 3324 | uarg[0] = p->operation; /* uint32_t */ |
| 3325 | uarg[1] = (intptr_t) p->addr; /* void * */ |
| 3326 | uarg[2] = p->wake_value; /* uint64_t */ |
| 3327 | break; |
| 3328 | } |
| 3329 | /* fclonefileat */ |
| 3330 | case 517: { |
| 3331 | struct fclonefileat_args *p = params; |
| 3332 | iarg[0] = p->src_fd; /* int */ |
| 3333 | iarg[1] = p->dst_dirfd; /* int */ |
| 3334 | uarg[2] = p->dst; /* user_addr_t */ |
| 3335 | uarg[3] = p->flags; /* uint32_t */ |
| 3336 | break; |
| 3337 | } |
| 3338 | /* fs_snapshot */ |
| 3339 | case 518: { |
| 3340 | struct fs_snapshot_args *p = params; |
| 3341 | uarg[0] = p->op; /* uint32_t */ |
| 3342 | iarg[1] = p->dirfd; /* int */ |
| 3343 | uarg[2] = p->name1; /* user_addr_t */ |
| 3344 | uarg[3] = p->name2; /* user_addr_t */ |
| 3345 | uarg[4] = p->data; /* user_addr_t */ |
| 3346 | uarg[5] = p->flags; /* uint32_t */ |
| 3347 | break; |
| 3348 | } |
| 3349 | /* terminate_with_payload */ |
| 3350 | case 520: { |
| 3351 | struct terminate_with_payload_args *p = params; |
| 3352 | iarg[0] = p->pid; /* int */ |
| 3353 | uarg[1] = p->reason_namespace; /* uint32_t */ |
| 3354 | uarg[2] = p->reason_code; /* uint64_t */ |
| 3355 | uarg[3] = (intptr_t) p->payload; /* void * */ |
| 3356 | uarg[4] = p->payload_size; /* uint32_t */ |
| 3357 | uarg[5] = (intptr_t) p->reason_string; /* const char * */ |
| 3358 | uarg[6] = p->reason_flags; /* uint64_t */ |
| 3359 | break; |
| 3360 | } |
| 3361 | /* abort_with_payload */ |
| 3362 | case 521: { |
| 3363 | struct abort_with_payload_args *p = params; |
| 3364 | uarg[0] = p->reason_namespace; /* uint32_t */ |
| 3365 | uarg[1] = p->reason_code; /* uint64_t */ |
| 3366 | uarg[2] = (intptr_t) p->payload; /* void * */ |
| 3367 | uarg[3] = p->payload_size; /* uint32_t */ |
| 3368 | uarg[4] = (intptr_t) p->reason_string; /* const char * */ |
| 3369 | uarg[5] = p->reason_flags; /* uint64_t */ |
| 3370 | break; |
| 3371 | } |
| 3372 | #if NECP |
| 3373 | /* necp_session_open */ |
| 3374 | case 522: { |
| 3375 | struct necp_session_open_args *p = params; |
| 3376 | iarg[0] = p->flags; /* int */ |
| 3377 | break; |
| 3378 | } |
| 3379 | /* necp_session_action */ |
| 3380 | case 523: { |
| 3381 | struct necp_session_action_args *p = params; |
| 3382 | iarg[0] = p->necp_fd; /* int */ |
| 3383 | uarg[1] = p->action; /* uint32_t */ |
| 3384 | uarg[2] = (intptr_t) p->in_buffer; /* uint8_t * */ |
| 3385 | uarg[3] = p->in_buffer_length; /* size_t */ |
| 3386 | uarg[4] = (intptr_t) p->out_buffer; /* uint8_t * */ |
| 3387 | uarg[5] = p->out_buffer_length; /* size_t */ |
| 3388 | break; |
| 3389 | } |
| 3390 | #else /* NECP */ |
| 3391 | #endif /* NECP */ |
| 3392 | /* setattrlistat */ |
| 3393 | case 524: { |
| 3394 | struct setattrlistat_args *p = params; |
| 3395 | iarg[0] = p->fd; /* int */ |
| 3396 | uarg[1] = (intptr_t) p->path; /* const char * */ |
| 3397 | uarg[2] = (intptr_t) p->alist; /* struct attrlist * */ |
| 3398 | uarg[3] = (intptr_t) p->attributeBuffer; /* void * */ |
| 3399 | uarg[4] = p->bufferSize; /* size_t */ |
| 3400 | uarg[5] = p->options; /* uint32_t */ |
| 3401 | break; |
| 3402 | } |
| 3403 | /* net_qos_guideline */ |
| 3404 | case 525: { |
| 3405 | struct net_qos_guideline_args *p = params; |
| 3406 | uarg[0] = (intptr_t) p->param; /* struct net_qos_param * */ |
| 3407 | uarg[1] = p->param_len; /* uint32_t */ |
| 3408 | break; |
| 3409 | } |
| 3410 | /* fmount */ |
| 3411 | case 526: { |
| 3412 | struct fmount_args *p = params; |
| 3413 | uarg[0] = (intptr_t) p->type; /* const char * */ |
| 3414 | iarg[1] = p->fd; /* int */ |
| 3415 | iarg[2] = p->flags; /* int */ |
| 3416 | uarg[3] = (intptr_t) p->data; /* void * */ |
| 3417 | break; |
| 3418 | } |
| 3419 | /* ntp_adjtime */ |
| 3420 | case 527: { |
| 3421 | struct ntp_adjtime_args *p = params; |
| 3422 | uarg[0] = (intptr_t) p->tp; /* struct timex * */ |
| 3423 | break; |
| 3424 | } |
| 3425 | /* ntp_gettime */ |
| 3426 | case 528: { |
| 3427 | struct ntp_gettime_args *p = params; |
| 3428 | uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */ |
| 3429 | break; |
| 3430 | } |
| 3431 | /* os_fault_with_payload */ |
| 3432 | case 529: { |
| 3433 | struct os_fault_with_payload_args *p = params; |
| 3434 | uarg[0] = p->reason_namespace; /* uint32_t */ |
| 3435 | uarg[1] = p->reason_code; /* uint64_t */ |
| 3436 | uarg[2] = (intptr_t) p->payload; /* void * */ |
| 3437 | uarg[3] = p->payload_size; /* uint32_t */ |
| 3438 | uarg[4] = (intptr_t) p->reason_string; /* const char * */ |
| 3439 | uarg[5] = p->reason_flags; /* uint64_t */ |
| 3440 | break; |
| 3441 | } |
| 3442 | #if CONFIG_WORKQUEUE |
| 3443 | /* kqueue_workloop_ctl */ |
| 3444 | case 530: { |
| 3445 | struct kqueue_workloop_ctl_args *p = params; |
| 3446 | uarg[0] = p->cmd; /* user_addr_t */ |
| 3447 | uarg[1] = p->options; /* uint64_t */ |
| 3448 | uarg[2] = p->addr; /* user_addr_t */ |
| 3449 | uarg[3] = p->sz; /* size_t */ |
| 3450 | break; |
| 3451 | } |
| 3452 | #else |
| 3453 | #endif // CONFIG_WORKQUEUE |
| 3454 | default: |
| 3455 | break; |
| 3456 | }; |
| 3457 | } |
| 3458 | void |
| 3459 | systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) |
| 3460 | { |
| 3461 | const char *p = NULL; |
| 3462 | switch (sysnum) { |
| 3463 | /* nosys */ |
| 3464 | case 0: |
| 3465 | break; |
| 3466 | /* exit */ |
| 3467 | case 1: |
| 3468 | switch(ndx) { |
| 3469 | case 0: |
| 3470 | p = "int" ; |
| 3471 | break; |
| 3472 | default: |
| 3473 | break; |
| 3474 | }; |
| 3475 | break; |
| 3476 | /* fork */ |
| 3477 | case 2: |
| 3478 | break; |
| 3479 | /* read */ |
| 3480 | case 3: |
| 3481 | switch(ndx) { |
| 3482 | case 0: |
| 3483 | p = "int" ; |
| 3484 | break; |
| 3485 | case 1: |
| 3486 | p = "user_addr_t" ; |
| 3487 | break; |
| 3488 | case 2: |
| 3489 | p = "user_size_t" ; |
| 3490 | break; |
| 3491 | default: |
| 3492 | break; |
| 3493 | }; |
| 3494 | break; |
| 3495 | /* write */ |
| 3496 | case 4: |
| 3497 | switch(ndx) { |
| 3498 | case 0: |
| 3499 | p = "int" ; |
| 3500 | break; |
| 3501 | case 1: |
| 3502 | p = "user_addr_t" ; |
| 3503 | break; |
| 3504 | case 2: |
| 3505 | p = "user_size_t" ; |
| 3506 | break; |
| 3507 | default: |
| 3508 | break; |
| 3509 | }; |
| 3510 | break; |
| 3511 | /* open */ |
| 3512 | case 5: |
| 3513 | switch(ndx) { |
| 3514 | case 0: |
| 3515 | p = "user_addr_t" ; |
| 3516 | break; |
| 3517 | case 1: |
| 3518 | p = "int" ; |
| 3519 | break; |
| 3520 | case 2: |
| 3521 | p = "int" ; |
| 3522 | break; |
| 3523 | default: |
| 3524 | break; |
| 3525 | }; |
| 3526 | break; |
| 3527 | /* close */ |
| 3528 | case 6: |
| 3529 | switch(ndx) { |
| 3530 | case 0: |
| 3531 | p = "int" ; |
| 3532 | break; |
| 3533 | default: |
| 3534 | break; |
| 3535 | }; |
| 3536 | break; |
| 3537 | /* wait4 */ |
| 3538 | case 7: |
| 3539 | switch(ndx) { |
| 3540 | case 0: |
| 3541 | p = "int" ; |
| 3542 | break; |
| 3543 | case 1: |
| 3544 | p = "user_addr_t" ; |
| 3545 | break; |
| 3546 | case 2: |
| 3547 | p = "int" ; |
| 3548 | break; |
| 3549 | case 3: |
| 3550 | p = "user_addr_t" ; |
| 3551 | break; |
| 3552 | default: |
| 3553 | break; |
| 3554 | }; |
| 3555 | break; |
| 3556 | /* link */ |
| 3557 | case 9: |
| 3558 | switch(ndx) { |
| 3559 | case 0: |
| 3560 | p = "user_addr_t" ; |
| 3561 | break; |
| 3562 | case 1: |
| 3563 | p = "user_addr_t" ; |
| 3564 | break; |
| 3565 | default: |
| 3566 | break; |
| 3567 | }; |
| 3568 | break; |
| 3569 | /* unlink */ |
| 3570 | case 10: |
| 3571 | switch(ndx) { |
| 3572 | case 0: |
| 3573 | p = "user_addr_t" ; |
| 3574 | break; |
| 3575 | default: |
| 3576 | break; |
| 3577 | }; |
| 3578 | break; |
| 3579 | /* chdir */ |
| 3580 | case 12: |
| 3581 | switch(ndx) { |
| 3582 | case 0: |
| 3583 | p = "user_addr_t" ; |
| 3584 | break; |
| 3585 | default: |
| 3586 | break; |
| 3587 | }; |
| 3588 | break; |
| 3589 | /* fchdir */ |
| 3590 | case 13: |
| 3591 | switch(ndx) { |
| 3592 | case 0: |
| 3593 | p = "int" ; |
| 3594 | break; |
| 3595 | default: |
| 3596 | break; |
| 3597 | }; |
| 3598 | break; |
| 3599 | /* mknod */ |
| 3600 | case 14: |
| 3601 | switch(ndx) { |
| 3602 | case 0: |
| 3603 | p = "user_addr_t" ; |
| 3604 | break; |
| 3605 | case 1: |
| 3606 | p = "int" ; |
| 3607 | break; |
| 3608 | case 2: |
| 3609 | p = "int" ; |
| 3610 | break; |
| 3611 | default: |
| 3612 | break; |
| 3613 | }; |
| 3614 | break; |
| 3615 | /* chmod */ |
| 3616 | case 15: |
| 3617 | switch(ndx) { |
| 3618 | case 0: |
| 3619 | p = "user_addr_t" ; |
| 3620 | break; |
| 3621 | case 1: |
| 3622 | p = "int" ; |
| 3623 | break; |
| 3624 | default: |
| 3625 | break; |
| 3626 | }; |
| 3627 | break; |
| 3628 | /* chown */ |
| 3629 | case 16: |
| 3630 | switch(ndx) { |
| 3631 | case 0: |
| 3632 | p = "user_addr_t" ; |
| 3633 | break; |
| 3634 | case 1: |
| 3635 | p = "int" ; |
| 3636 | break; |
| 3637 | case 2: |
| 3638 | p = "int" ; |
| 3639 | break; |
| 3640 | default: |
| 3641 | break; |
| 3642 | }; |
| 3643 | break; |
| 3644 | /* getfsstat */ |
| 3645 | case 18: |
| 3646 | switch(ndx) { |
| 3647 | case 0: |
| 3648 | p = "user_addr_t" ; |
| 3649 | break; |
| 3650 | case 1: |
| 3651 | p = "int" ; |
| 3652 | break; |
| 3653 | case 2: |
| 3654 | p = "int" ; |
| 3655 | break; |
| 3656 | default: |
| 3657 | break; |
| 3658 | }; |
| 3659 | break; |
| 3660 | /* getpid */ |
| 3661 | case 20: |
| 3662 | break; |
| 3663 | /* setuid */ |
| 3664 | case 23: |
| 3665 | switch(ndx) { |
| 3666 | case 0: |
| 3667 | p = "uid_t" ; |
| 3668 | break; |
| 3669 | default: |
| 3670 | break; |
| 3671 | }; |
| 3672 | break; |
| 3673 | /* getuid */ |
| 3674 | case 24: |
| 3675 | break; |
| 3676 | /* geteuid */ |
| 3677 | case 25: |
| 3678 | break; |
| 3679 | /* ptrace */ |
| 3680 | case 26: |
| 3681 | switch(ndx) { |
| 3682 | case 0: |
| 3683 | p = "int" ; |
| 3684 | break; |
| 3685 | case 1: |
| 3686 | p = "pid_t" ; |
| 3687 | break; |
| 3688 | case 2: |
| 3689 | p = "caddr_t" ; |
| 3690 | break; |
| 3691 | case 3: |
| 3692 | p = "int" ; |
| 3693 | break; |
| 3694 | default: |
| 3695 | break; |
| 3696 | }; |
| 3697 | break; |
| 3698 | #if SOCKETS |
| 3699 | /* recvmsg */ |
| 3700 | case 27: |
| 3701 | switch(ndx) { |
| 3702 | case 0: |
| 3703 | p = "int" ; |
| 3704 | break; |
| 3705 | case 1: |
| 3706 | p = "userland struct msghdr *" ; |
| 3707 | break; |
| 3708 | case 2: |
| 3709 | p = "int" ; |
| 3710 | break; |
| 3711 | default: |
| 3712 | break; |
| 3713 | }; |
| 3714 | break; |
| 3715 | /* sendmsg */ |
| 3716 | case 28: |
| 3717 | switch(ndx) { |
| 3718 | case 0: |
| 3719 | p = "int" ; |
| 3720 | break; |
| 3721 | case 1: |
| 3722 | p = "caddr_t" ; |
| 3723 | break; |
| 3724 | case 2: |
| 3725 | p = "int" ; |
| 3726 | break; |
| 3727 | default: |
| 3728 | break; |
| 3729 | }; |
| 3730 | break; |
| 3731 | /* recvfrom */ |
| 3732 | case 29: |
| 3733 | switch(ndx) { |
| 3734 | case 0: |
| 3735 | p = "int" ; |
| 3736 | break; |
| 3737 | case 1: |
| 3738 | p = "userland void *" ; |
| 3739 | break; |
| 3740 | case 2: |
| 3741 | p = "size_t" ; |
| 3742 | break; |
| 3743 | case 3: |
| 3744 | p = "int" ; |
| 3745 | break; |
| 3746 | case 4: |
| 3747 | p = "userland struct sockaddr *" ; |
| 3748 | break; |
| 3749 | case 5: |
| 3750 | p = "userland int *" ; |
| 3751 | break; |
| 3752 | default: |
| 3753 | break; |
| 3754 | }; |
| 3755 | break; |
| 3756 | /* accept */ |
| 3757 | case 30: |
| 3758 | switch(ndx) { |
| 3759 | case 0: |
| 3760 | p = "int" ; |
| 3761 | break; |
| 3762 | case 1: |
| 3763 | p = "caddr_t" ; |
| 3764 | break; |
| 3765 | case 2: |
| 3766 | p = "userland socklen_t *" ; |
| 3767 | break; |
| 3768 | default: |
| 3769 | break; |
| 3770 | }; |
| 3771 | break; |
| 3772 | /* getpeername */ |
| 3773 | case 31: |
| 3774 | switch(ndx) { |
| 3775 | case 0: |
| 3776 | p = "int" ; |
| 3777 | break; |
| 3778 | case 1: |
| 3779 | p = "caddr_t" ; |
| 3780 | break; |
| 3781 | case 2: |
| 3782 | p = "userland socklen_t *" ; |
| 3783 | break; |
| 3784 | default: |
| 3785 | break; |
| 3786 | }; |
| 3787 | break; |
| 3788 | /* getsockname */ |
| 3789 | case 32: |
| 3790 | switch(ndx) { |
| 3791 | case 0: |
| 3792 | p = "int" ; |
| 3793 | break; |
| 3794 | case 1: |
| 3795 | p = "caddr_t" ; |
| 3796 | break; |
| 3797 | case 2: |
| 3798 | p = "userland socklen_t *" ; |
| 3799 | break; |
| 3800 | default: |
| 3801 | break; |
| 3802 | }; |
| 3803 | break; |
| 3804 | #else |
| 3805 | #endif /* SOCKETS */ |
| 3806 | /* access */ |
| 3807 | case 33: |
| 3808 | switch(ndx) { |
| 3809 | case 0: |
| 3810 | p = "user_addr_t" ; |
| 3811 | break; |
| 3812 | case 1: |
| 3813 | p = "int" ; |
| 3814 | break; |
| 3815 | default: |
| 3816 | break; |
| 3817 | }; |
| 3818 | break; |
| 3819 | /* chflags */ |
| 3820 | case 34: |
| 3821 | switch(ndx) { |
| 3822 | case 0: |
| 3823 | p = "userland char *" ; |
| 3824 | break; |
| 3825 | case 1: |
| 3826 | p = "int" ; |
| 3827 | break; |
| 3828 | default: |
| 3829 | break; |
| 3830 | }; |
| 3831 | break; |
| 3832 | /* fchflags */ |
| 3833 | case 35: |
| 3834 | switch(ndx) { |
| 3835 | case 0: |
| 3836 | p = "int" ; |
| 3837 | break; |
| 3838 | case 1: |
| 3839 | p = "int" ; |
| 3840 | break; |
| 3841 | default: |
| 3842 | break; |
| 3843 | }; |
| 3844 | break; |
| 3845 | /* sync */ |
| 3846 | case 36: |
| 3847 | break; |
| 3848 | /* kill */ |
| 3849 | case 37: |
| 3850 | switch(ndx) { |
| 3851 | case 0: |
| 3852 | p = "int" ; |
| 3853 | break; |
| 3854 | case 1: |
| 3855 | p = "int" ; |
| 3856 | break; |
| 3857 | case 2: |
| 3858 | p = "int" ; |
| 3859 | break; |
| 3860 | default: |
| 3861 | break; |
| 3862 | }; |
| 3863 | break; |
| 3864 | /* getppid */ |
| 3865 | case 39: |
| 3866 | break; |
| 3867 | /* dup */ |
| 3868 | case 41: |
| 3869 | switch(ndx) { |
| 3870 | case 0: |
| 3871 | p = "u_int" ; |
| 3872 | break; |
| 3873 | default: |
| 3874 | break; |
| 3875 | }; |
| 3876 | break; |
| 3877 | /* pipe */ |
| 3878 | case 42: |
| 3879 | break; |
| 3880 | /* getegid */ |
| 3881 | case 43: |
| 3882 | break; |
| 3883 | /* sigaction */ |
| 3884 | case 46: |
| 3885 | switch(ndx) { |
| 3886 | case 0: |
| 3887 | p = "int" ; |
| 3888 | break; |
| 3889 | case 1: |
| 3890 | p = "userland struct __sigaction *" ; |
| 3891 | break; |
| 3892 | case 2: |
| 3893 | p = "userland struct sigaction *" ; |
| 3894 | break; |
| 3895 | default: |
| 3896 | break; |
| 3897 | }; |
| 3898 | break; |
| 3899 | /* getgid */ |
| 3900 | case 47: |
| 3901 | break; |
| 3902 | /* sigprocmask */ |
| 3903 | case 48: |
| 3904 | switch(ndx) { |
| 3905 | case 0: |
| 3906 | p = "int" ; |
| 3907 | break; |
| 3908 | case 1: |
| 3909 | p = "user_addr_t" ; |
| 3910 | break; |
| 3911 | case 2: |
| 3912 | p = "user_addr_t" ; |
| 3913 | break; |
| 3914 | default: |
| 3915 | break; |
| 3916 | }; |
| 3917 | break; |
| 3918 | /* getlogin */ |
| 3919 | case 49: |
| 3920 | switch(ndx) { |
| 3921 | case 0: |
| 3922 | p = "userland char *" ; |
| 3923 | break; |
| 3924 | case 1: |
| 3925 | p = "u_int" ; |
| 3926 | break; |
| 3927 | default: |
| 3928 | break; |
| 3929 | }; |
| 3930 | break; |
| 3931 | /* setlogin */ |
| 3932 | case 50: |
| 3933 | switch(ndx) { |
| 3934 | case 0: |
| 3935 | p = "userland char *" ; |
| 3936 | break; |
| 3937 | default: |
| 3938 | break; |
| 3939 | }; |
| 3940 | break; |
| 3941 | /* acct */ |
| 3942 | case 51: |
| 3943 | switch(ndx) { |
| 3944 | case 0: |
| 3945 | p = "userland char *" ; |
| 3946 | break; |
| 3947 | default: |
| 3948 | break; |
| 3949 | }; |
| 3950 | break; |
| 3951 | /* sigpending */ |
| 3952 | case 52: |
| 3953 | switch(ndx) { |
| 3954 | case 0: |
| 3955 | p = "userland struct sigvec *" ; |
| 3956 | break; |
| 3957 | default: |
| 3958 | break; |
| 3959 | }; |
| 3960 | break; |
| 3961 | /* sigaltstack */ |
| 3962 | case 53: |
| 3963 | switch(ndx) { |
| 3964 | case 0: |
| 3965 | p = "userland struct sigaltstack *" ; |
| 3966 | break; |
| 3967 | case 1: |
| 3968 | p = "userland struct sigaltstack *" ; |
| 3969 | break; |
| 3970 | default: |
| 3971 | break; |
| 3972 | }; |
| 3973 | break; |
| 3974 | /* ioctl */ |
| 3975 | case 54: |
| 3976 | switch(ndx) { |
| 3977 | case 0: |
| 3978 | p = "int" ; |
| 3979 | break; |
| 3980 | case 1: |
| 3981 | p = "u_long" ; |
| 3982 | break; |
| 3983 | case 2: |
| 3984 | p = "caddr_t" ; |
| 3985 | break; |
| 3986 | default: |
| 3987 | break; |
| 3988 | }; |
| 3989 | break; |
| 3990 | /* reboot */ |
| 3991 | case 55: |
| 3992 | switch(ndx) { |
| 3993 | case 0: |
| 3994 | p = "int" ; |
| 3995 | break; |
| 3996 | case 1: |
| 3997 | p = "userland char *" ; |
| 3998 | break; |
| 3999 | default: |
| 4000 | break; |
| 4001 | }; |
| 4002 | break; |
| 4003 | /* revoke */ |
| 4004 | case 56: |
| 4005 | switch(ndx) { |
| 4006 | case 0: |
| 4007 | p = "userland char *" ; |
| 4008 | break; |
| 4009 | default: |
| 4010 | break; |
| 4011 | }; |
| 4012 | break; |
| 4013 | /* symlink */ |
| 4014 | case 57: |
| 4015 | switch(ndx) { |
| 4016 | case 0: |
| 4017 | p = "userland char *" ; |
| 4018 | break; |
| 4019 | case 1: |
| 4020 | p = "userland char *" ; |
| 4021 | break; |
| 4022 | default: |
| 4023 | break; |
| 4024 | }; |
| 4025 | break; |
| 4026 | /* readlink */ |
| 4027 | case 58: |
| 4028 | switch(ndx) { |
| 4029 | case 0: |
| 4030 | p = "userland char *" ; |
| 4031 | break; |
| 4032 | case 1: |
| 4033 | p = "userland char *" ; |
| 4034 | break; |
| 4035 | case 2: |
| 4036 | p = "int" ; |
| 4037 | break; |
| 4038 | default: |
| 4039 | break; |
| 4040 | }; |
| 4041 | break; |
| 4042 | /* execve */ |
| 4043 | case 59: |
| 4044 | switch(ndx) { |
| 4045 | case 0: |
| 4046 | p = "userland char *" ; |
| 4047 | break; |
| 4048 | case 1: |
| 4049 | p = "userland char **" ; |
| 4050 | break; |
| 4051 | case 2: |
| 4052 | p = "userland char **" ; |
| 4053 | break; |
| 4054 | default: |
| 4055 | break; |
| 4056 | }; |
| 4057 | break; |
| 4058 | /* umask */ |
| 4059 | case 60: |
| 4060 | switch(ndx) { |
| 4061 | case 0: |
| 4062 | p = "int" ; |
| 4063 | break; |
| 4064 | default: |
| 4065 | break; |
| 4066 | }; |
| 4067 | break; |
| 4068 | /* chroot */ |
| 4069 | case 61: |
| 4070 | switch(ndx) { |
| 4071 | case 0: |
| 4072 | p = "user_addr_t" ; |
| 4073 | break; |
| 4074 | default: |
| 4075 | break; |
| 4076 | }; |
| 4077 | break; |
| 4078 | /* msync */ |
| 4079 | case 65: |
| 4080 | switch(ndx) { |
| 4081 | case 0: |
| 4082 | p = "caddr_t" ; |
| 4083 | break; |
| 4084 | case 1: |
| 4085 | p = "size_t" ; |
| 4086 | break; |
| 4087 | case 2: |
| 4088 | p = "int" ; |
| 4089 | break; |
| 4090 | default: |
| 4091 | break; |
| 4092 | }; |
| 4093 | break; |
| 4094 | /* vfork */ |
| 4095 | case 66: |
| 4096 | break; |
| 4097 | /* munmap */ |
| 4098 | case 73: |
| 4099 | switch(ndx) { |
| 4100 | case 0: |
| 4101 | p = "caddr_t" ; |
| 4102 | break; |
| 4103 | case 1: |
| 4104 | p = "size_t" ; |
| 4105 | break; |
| 4106 | default: |
| 4107 | break; |
| 4108 | }; |
| 4109 | break; |
| 4110 | /* mprotect */ |
| 4111 | case 74: |
| 4112 | switch(ndx) { |
| 4113 | case 0: |
| 4114 | p = "caddr_t" ; |
| 4115 | break; |
| 4116 | case 1: |
| 4117 | p = "size_t" ; |
| 4118 | break; |
| 4119 | case 2: |
| 4120 | p = "int" ; |
| 4121 | break; |
| 4122 | default: |
| 4123 | break; |
| 4124 | }; |
| 4125 | break; |
| 4126 | /* madvise */ |
| 4127 | case 75: |
| 4128 | switch(ndx) { |
| 4129 | case 0: |
| 4130 | p = "caddr_t" ; |
| 4131 | break; |
| 4132 | case 1: |
| 4133 | p = "size_t" ; |
| 4134 | break; |
| 4135 | case 2: |
| 4136 | p = "int" ; |
| 4137 | break; |
| 4138 | default: |
| 4139 | break; |
| 4140 | }; |
| 4141 | break; |
| 4142 | /* mincore */ |
| 4143 | case 78: |
| 4144 | switch(ndx) { |
| 4145 | case 0: |
| 4146 | p = "user_addr_t" ; |
| 4147 | break; |
| 4148 | case 1: |
| 4149 | p = "user_size_t" ; |
| 4150 | break; |
| 4151 | case 2: |
| 4152 | p = "user_addr_t" ; |
| 4153 | break; |
| 4154 | default: |
| 4155 | break; |
| 4156 | }; |
| 4157 | break; |
| 4158 | /* getgroups */ |
| 4159 | case 79: |
| 4160 | switch(ndx) { |
| 4161 | case 0: |
| 4162 | p = "u_int" ; |
| 4163 | break; |
| 4164 | case 1: |
| 4165 | p = "userland gid_t *" ; |
| 4166 | break; |
| 4167 | default: |
| 4168 | break; |
| 4169 | }; |
| 4170 | break; |
| 4171 | /* setgroups */ |
| 4172 | case 80: |
| 4173 | switch(ndx) { |
| 4174 | case 0: |
| 4175 | p = "u_int" ; |
| 4176 | break; |
| 4177 | case 1: |
| 4178 | p = "userland gid_t *" ; |
| 4179 | break; |
| 4180 | default: |
| 4181 | break; |
| 4182 | }; |
| 4183 | break; |
| 4184 | /* getpgrp */ |
| 4185 | case 81: |
| 4186 | break; |
| 4187 | /* setpgid */ |
| 4188 | case 82: |
| 4189 | switch(ndx) { |
| 4190 | case 0: |
| 4191 | p = "int" ; |
| 4192 | break; |
| 4193 | case 1: |
| 4194 | p = "int" ; |
| 4195 | break; |
| 4196 | default: |
| 4197 | break; |
| 4198 | }; |
| 4199 | break; |
| 4200 | /* setitimer */ |
| 4201 | case 83: |
| 4202 | switch(ndx) { |
| 4203 | case 0: |
| 4204 | p = "u_int" ; |
| 4205 | break; |
| 4206 | case 1: |
| 4207 | p = "userland struct itimerval *" ; |
| 4208 | break; |
| 4209 | case 2: |
| 4210 | p = "userland struct itimerval *" ; |
| 4211 | break; |
| 4212 | default: |
| 4213 | break; |
| 4214 | }; |
| 4215 | break; |
| 4216 | /* swapon */ |
| 4217 | case 85: |
| 4218 | break; |
| 4219 | /* getitimer */ |
| 4220 | case 86: |
| 4221 | switch(ndx) { |
| 4222 | case 0: |
| 4223 | p = "u_int" ; |
| 4224 | break; |
| 4225 | case 1: |
| 4226 | p = "userland struct itimerval *" ; |
| 4227 | break; |
| 4228 | default: |
| 4229 | break; |
| 4230 | }; |
| 4231 | break; |
| 4232 | /* getdtablesize */ |
| 4233 | case 89: |
| 4234 | break; |
| 4235 | /* dup2 */ |
| 4236 | case 90: |
| 4237 | switch(ndx) { |
| 4238 | case 0: |
| 4239 | p = "u_int" ; |
| 4240 | break; |
| 4241 | case 1: |
| 4242 | p = "u_int" ; |
| 4243 | break; |
| 4244 | default: |
| 4245 | break; |
| 4246 | }; |
| 4247 | break; |
| 4248 | /* fcntl */ |
| 4249 | case 92: |
| 4250 | switch(ndx) { |
| 4251 | case 0: |
| 4252 | p = "int" ; |
| 4253 | break; |
| 4254 | case 1: |
| 4255 | p = "int" ; |
| 4256 | break; |
| 4257 | case 2: |
| 4258 | p = "long" ; |
| 4259 | break; |
| 4260 | default: |
| 4261 | break; |
| 4262 | }; |
| 4263 | break; |
| 4264 | /* select */ |
| 4265 | case 93: |
| 4266 | switch(ndx) { |
| 4267 | case 0: |
| 4268 | p = "int" ; |
| 4269 | break; |
| 4270 | case 1: |
| 4271 | p = "userland u_int32_t *" ; |
| 4272 | break; |
| 4273 | case 2: |
| 4274 | p = "userland u_int32_t *" ; |
| 4275 | break; |
| 4276 | case 3: |
| 4277 | p = "userland u_int32_t *" ; |
| 4278 | break; |
| 4279 | case 4: |
| 4280 | p = "userland struct timeval *" ; |
| 4281 | break; |
| 4282 | default: |
| 4283 | break; |
| 4284 | }; |
| 4285 | break; |
| 4286 | /* fsync */ |
| 4287 | case 95: |
| 4288 | switch(ndx) { |
| 4289 | case 0: |
| 4290 | p = "int" ; |
| 4291 | break; |
| 4292 | default: |
| 4293 | break; |
| 4294 | }; |
| 4295 | break; |
| 4296 | /* setpriority */ |
| 4297 | case 96: |
| 4298 | switch(ndx) { |
| 4299 | case 0: |
| 4300 | p = "int" ; |
| 4301 | break; |
| 4302 | case 1: |
| 4303 | p = "id_t" ; |
| 4304 | break; |
| 4305 | case 2: |
| 4306 | p = "int" ; |
| 4307 | break; |
| 4308 | default: |
| 4309 | break; |
| 4310 | }; |
| 4311 | break; |
| 4312 | #if SOCKETS |
| 4313 | /* socket */ |
| 4314 | case 97: |
| 4315 | switch(ndx) { |
| 4316 | case 0: |
| 4317 | p = "int" ; |
| 4318 | break; |
| 4319 | case 1: |
| 4320 | p = "int" ; |
| 4321 | break; |
| 4322 | case 2: |
| 4323 | p = "int" ; |
| 4324 | break; |
| 4325 | default: |
| 4326 | break; |
| 4327 | }; |
| 4328 | break; |
| 4329 | /* connect */ |
| 4330 | case 98: |
| 4331 | switch(ndx) { |
| 4332 | case 0: |
| 4333 | p = "int" ; |
| 4334 | break; |
| 4335 | case 1: |
| 4336 | p = "caddr_t" ; |
| 4337 | break; |
| 4338 | case 2: |
| 4339 | p = "socklen_t" ; |
| 4340 | break; |
| 4341 | default: |
| 4342 | break; |
| 4343 | }; |
| 4344 | break; |
| 4345 | #else |
| 4346 | #endif /* SOCKETS */ |
| 4347 | /* getpriority */ |
| 4348 | case 100: |
| 4349 | switch(ndx) { |
| 4350 | case 0: |
| 4351 | p = "int" ; |
| 4352 | break; |
| 4353 | case 1: |
| 4354 | p = "id_t" ; |
| 4355 | break; |
| 4356 | default: |
| 4357 | break; |
| 4358 | }; |
| 4359 | break; |
| 4360 | #if SOCKETS |
| 4361 | /* bind */ |
| 4362 | case 104: |
| 4363 | switch(ndx) { |
| 4364 | case 0: |
| 4365 | p = "int" ; |
| 4366 | break; |
| 4367 | case 1: |
| 4368 | p = "caddr_t" ; |
| 4369 | break; |
| 4370 | case 2: |
| 4371 | p = "socklen_t" ; |
| 4372 | break; |
| 4373 | default: |
| 4374 | break; |
| 4375 | }; |
| 4376 | break; |
| 4377 | /* setsockopt */ |
| 4378 | case 105: |
| 4379 | switch(ndx) { |
| 4380 | case 0: |
| 4381 | p = "int" ; |
| 4382 | break; |
| 4383 | case 1: |
| 4384 | p = "int" ; |
| 4385 | break; |
| 4386 | case 2: |
| 4387 | p = "int" ; |
| 4388 | break; |
| 4389 | case 3: |
| 4390 | p = "caddr_t" ; |
| 4391 | break; |
| 4392 | case 4: |
| 4393 | p = "socklen_t" ; |
| 4394 | break; |
| 4395 | default: |
| 4396 | break; |
| 4397 | }; |
| 4398 | break; |
| 4399 | /* listen */ |
| 4400 | case 106: |
| 4401 | switch(ndx) { |
| 4402 | case 0: |
| 4403 | p = "int" ; |
| 4404 | break; |
| 4405 | case 1: |
| 4406 | p = "int" ; |
| 4407 | break; |
| 4408 | default: |
| 4409 | break; |
| 4410 | }; |
| 4411 | break; |
| 4412 | #else |
| 4413 | #endif /* SOCKETS */ |
| 4414 | /* sigsuspend */ |
| 4415 | case 111: |
| 4416 | switch(ndx) { |
| 4417 | case 0: |
| 4418 | p = "sigset_t" ; |
| 4419 | break; |
| 4420 | default: |
| 4421 | break; |
| 4422 | }; |
| 4423 | break; |
| 4424 | #if SOCKETS |
| 4425 | #else |
| 4426 | #endif /* SOCKETS */ |
| 4427 | /* gettimeofday */ |
| 4428 | case 116: |
| 4429 | switch(ndx) { |
| 4430 | case 0: |
| 4431 | p = "userland struct timeval *" ; |
| 4432 | break; |
| 4433 | case 1: |
| 4434 | p = "userland struct timezone *" ; |
| 4435 | break; |
| 4436 | case 2: |
| 4437 | p = "userland uint64_t *" ; |
| 4438 | break; |
| 4439 | default: |
| 4440 | break; |
| 4441 | }; |
| 4442 | break; |
| 4443 | /* getrusage */ |
| 4444 | case 117: |
| 4445 | switch(ndx) { |
| 4446 | case 0: |
| 4447 | p = "int" ; |
| 4448 | break; |
| 4449 | case 1: |
| 4450 | p = "userland struct rusage *" ; |
| 4451 | break; |
| 4452 | default: |
| 4453 | break; |
| 4454 | }; |
| 4455 | break; |
| 4456 | #if SOCKETS |
| 4457 | /* getsockopt */ |
| 4458 | case 118: |
| 4459 | switch(ndx) { |
| 4460 | case 0: |
| 4461 | p = "int" ; |
| 4462 | break; |
| 4463 | case 1: |
| 4464 | p = "int" ; |
| 4465 | break; |
| 4466 | case 2: |
| 4467 | p = "int" ; |
| 4468 | break; |
| 4469 | case 3: |
| 4470 | p = "caddr_t" ; |
| 4471 | break; |
| 4472 | case 4: |
| 4473 | p = "userland socklen_t *" ; |
| 4474 | break; |
| 4475 | default: |
| 4476 | break; |
| 4477 | }; |
| 4478 | break; |
| 4479 | #else |
| 4480 | #endif /* SOCKETS */ |
| 4481 | /* readv */ |
| 4482 | case 120: |
| 4483 | switch(ndx) { |
| 4484 | case 0: |
| 4485 | p = "int" ; |
| 4486 | break; |
| 4487 | case 1: |
| 4488 | p = "userland struct iovec *" ; |
| 4489 | break; |
| 4490 | case 2: |
| 4491 | p = "u_int" ; |
| 4492 | break; |
| 4493 | default: |
| 4494 | break; |
| 4495 | }; |
| 4496 | break; |
| 4497 | /* writev */ |
| 4498 | case 121: |
| 4499 | switch(ndx) { |
| 4500 | case 0: |
| 4501 | p = "int" ; |
| 4502 | break; |
| 4503 | case 1: |
| 4504 | p = "userland struct iovec *" ; |
| 4505 | break; |
| 4506 | case 2: |
| 4507 | p = "u_int" ; |
| 4508 | break; |
| 4509 | default: |
| 4510 | break; |
| 4511 | }; |
| 4512 | break; |
| 4513 | /* settimeofday */ |
| 4514 | case 122: |
| 4515 | switch(ndx) { |
| 4516 | case 0: |
| 4517 | p = "userland struct timeval *" ; |
| 4518 | break; |
| 4519 | case 1: |
| 4520 | p = "userland struct timezone *" ; |
| 4521 | break; |
| 4522 | default: |
| 4523 | break; |
| 4524 | }; |
| 4525 | break; |
| 4526 | /* fchown */ |
| 4527 | case 123: |
| 4528 | switch(ndx) { |
| 4529 | case 0: |
| 4530 | p = "int" ; |
| 4531 | break; |
| 4532 | case 1: |
| 4533 | p = "int" ; |
| 4534 | break; |
| 4535 | case 2: |
| 4536 | p = "int" ; |
| 4537 | break; |
| 4538 | default: |
| 4539 | break; |
| 4540 | }; |
| 4541 | break; |
| 4542 | /* fchmod */ |
| 4543 | case 124: |
| 4544 | switch(ndx) { |
| 4545 | case 0: |
| 4546 | p = "int" ; |
| 4547 | break; |
| 4548 | case 1: |
| 4549 | p = "int" ; |
| 4550 | break; |
| 4551 | default: |
| 4552 | break; |
| 4553 | }; |
| 4554 | break; |
| 4555 | /* setreuid */ |
| 4556 | case 126: |
| 4557 | switch(ndx) { |
| 4558 | case 0: |
| 4559 | p = "uid_t" ; |
| 4560 | break; |
| 4561 | case 1: |
| 4562 | p = "uid_t" ; |
| 4563 | break; |
| 4564 | default: |
| 4565 | break; |
| 4566 | }; |
| 4567 | break; |
| 4568 | /* setregid */ |
| 4569 | case 127: |
| 4570 | switch(ndx) { |
| 4571 | case 0: |
| 4572 | p = "gid_t" ; |
| 4573 | break; |
| 4574 | case 1: |
| 4575 | p = "gid_t" ; |
| 4576 | break; |
| 4577 | default: |
| 4578 | break; |
| 4579 | }; |
| 4580 | break; |
| 4581 | /* rename */ |
| 4582 | case 128: |
| 4583 | switch(ndx) { |
| 4584 | case 0: |
| 4585 | p = "userland char *" ; |
| 4586 | break; |
| 4587 | case 1: |
| 4588 | p = "userland char *" ; |
| 4589 | break; |
| 4590 | default: |
| 4591 | break; |
| 4592 | }; |
| 4593 | break; |
| 4594 | /* flock */ |
| 4595 | case 131: |
| 4596 | switch(ndx) { |
| 4597 | case 0: |
| 4598 | p = "int" ; |
| 4599 | break; |
| 4600 | case 1: |
| 4601 | p = "int" ; |
| 4602 | break; |
| 4603 | default: |
| 4604 | break; |
| 4605 | }; |
| 4606 | break; |
| 4607 | /* mkfifo */ |
| 4608 | case 132: |
| 4609 | switch(ndx) { |
| 4610 | case 0: |
| 4611 | p = "user_addr_t" ; |
| 4612 | break; |
| 4613 | case 1: |
| 4614 | p = "int" ; |
| 4615 | break; |
| 4616 | default: |
| 4617 | break; |
| 4618 | }; |
| 4619 | break; |
| 4620 | #if SOCKETS |
| 4621 | /* sendto */ |
| 4622 | case 133: |
| 4623 | switch(ndx) { |
| 4624 | case 0: |
| 4625 | p = "int" ; |
| 4626 | break; |
| 4627 | case 1: |
| 4628 | p = "caddr_t" ; |
| 4629 | break; |
| 4630 | case 2: |
| 4631 | p = "size_t" ; |
| 4632 | break; |
| 4633 | case 3: |
| 4634 | p = "int" ; |
| 4635 | break; |
| 4636 | case 4: |
| 4637 | p = "caddr_t" ; |
| 4638 | break; |
| 4639 | case 5: |
| 4640 | p = "socklen_t" ; |
| 4641 | break; |
| 4642 | default: |
| 4643 | break; |
| 4644 | }; |
| 4645 | break; |
| 4646 | /* shutdown */ |
| 4647 | case 134: |
| 4648 | switch(ndx) { |
| 4649 | case 0: |
| 4650 | p = "int" ; |
| 4651 | break; |
| 4652 | case 1: |
| 4653 | p = "int" ; |
| 4654 | break; |
| 4655 | default: |
| 4656 | break; |
| 4657 | }; |
| 4658 | break; |
| 4659 | /* socketpair */ |
| 4660 | case 135: |
| 4661 | switch(ndx) { |
| 4662 | case 0: |
| 4663 | p = "int" ; |
| 4664 | break; |
| 4665 | case 1: |
| 4666 | p = "int" ; |
| 4667 | break; |
| 4668 | case 2: |
| 4669 | p = "int" ; |
| 4670 | break; |
| 4671 | case 3: |
| 4672 | p = "userland int *" ; |
| 4673 | break; |
| 4674 | default: |
| 4675 | break; |
| 4676 | }; |
| 4677 | break; |
| 4678 | #else |
| 4679 | #endif /* SOCKETS */ |
| 4680 | /* mkdir */ |
| 4681 | case 136: |
| 4682 | switch(ndx) { |
| 4683 | case 0: |
| 4684 | p = "user_addr_t" ; |
| 4685 | break; |
| 4686 | case 1: |
| 4687 | p = "int" ; |
| 4688 | break; |
| 4689 | default: |
| 4690 | break; |
| 4691 | }; |
| 4692 | break; |
| 4693 | /* rmdir */ |
| 4694 | case 137: |
| 4695 | switch(ndx) { |
| 4696 | case 0: |
| 4697 | p = "userland char *" ; |
| 4698 | break; |
| 4699 | default: |
| 4700 | break; |
| 4701 | }; |
| 4702 | break; |
| 4703 | /* utimes */ |
| 4704 | case 138: |
| 4705 | switch(ndx) { |
| 4706 | case 0: |
| 4707 | p = "userland char *" ; |
| 4708 | break; |
| 4709 | case 1: |
| 4710 | p = "userland struct timeval *" ; |
| 4711 | break; |
| 4712 | default: |
| 4713 | break; |
| 4714 | }; |
| 4715 | break; |
| 4716 | /* futimes */ |
| 4717 | case 139: |
| 4718 | switch(ndx) { |
| 4719 | case 0: |
| 4720 | p = "int" ; |
| 4721 | break; |
| 4722 | case 1: |
| 4723 | p = "userland struct timeval *" ; |
| 4724 | break; |
| 4725 | default: |
| 4726 | break; |
| 4727 | }; |
| 4728 | break; |
| 4729 | /* adjtime */ |
| 4730 | case 140: |
| 4731 | switch(ndx) { |
| 4732 | case 0: |
| 4733 | p = "userland struct timeval *" ; |
| 4734 | break; |
| 4735 | case 1: |
| 4736 | p = "userland struct timeval *" ; |
| 4737 | break; |
| 4738 | default: |
| 4739 | break; |
| 4740 | }; |
| 4741 | break; |
| 4742 | /* gethostuuid */ |
| 4743 | case 142: |
| 4744 | switch(ndx) { |
| 4745 | case 0: |
| 4746 | p = "userland unsigned char *" ; |
| 4747 | break; |
| 4748 | case 1: |
| 4749 | p = "userland const struct timespec *" ; |
| 4750 | break; |
| 4751 | case 2: |
| 4752 | p = "int" ; |
| 4753 | break; |
| 4754 | default: |
| 4755 | break; |
| 4756 | }; |
| 4757 | break; |
| 4758 | /* setsid */ |
| 4759 | case 147: |
| 4760 | break; |
| 4761 | /* getpgid */ |
| 4762 | case 151: |
| 4763 | switch(ndx) { |
| 4764 | case 0: |
| 4765 | p = "pid_t" ; |
| 4766 | break; |
| 4767 | default: |
| 4768 | break; |
| 4769 | }; |
| 4770 | break; |
| 4771 | /* setprivexec */ |
| 4772 | case 152: |
| 4773 | switch(ndx) { |
| 4774 | case 0: |
| 4775 | p = "int" ; |
| 4776 | break; |
| 4777 | default: |
| 4778 | break; |
| 4779 | }; |
| 4780 | break; |
| 4781 | /* pread */ |
| 4782 | case 153: |
| 4783 | switch(ndx) { |
| 4784 | case 0: |
| 4785 | p = "int" ; |
| 4786 | break; |
| 4787 | case 1: |
| 4788 | p = "user_addr_t" ; |
| 4789 | break; |
| 4790 | case 2: |
| 4791 | p = "user_size_t" ; |
| 4792 | break; |
| 4793 | case 3: |
| 4794 | p = "off_t" ; |
| 4795 | break; |
| 4796 | default: |
| 4797 | break; |
| 4798 | }; |
| 4799 | break; |
| 4800 | /* pwrite */ |
| 4801 | case 154: |
| 4802 | switch(ndx) { |
| 4803 | case 0: |
| 4804 | p = "int" ; |
| 4805 | break; |
| 4806 | case 1: |
| 4807 | p = "user_addr_t" ; |
| 4808 | break; |
| 4809 | case 2: |
| 4810 | p = "user_size_t" ; |
| 4811 | break; |
| 4812 | case 3: |
| 4813 | p = "off_t" ; |
| 4814 | break; |
| 4815 | default: |
| 4816 | break; |
| 4817 | }; |
| 4818 | break; |
| 4819 | #if NFSSERVER |
| 4820 | /* nfssvc */ |
| 4821 | case 155: |
| 4822 | switch(ndx) { |
| 4823 | case 0: |
| 4824 | p = "int" ; |
| 4825 | break; |
| 4826 | case 1: |
| 4827 | p = "caddr_t" ; |
| 4828 | break; |
| 4829 | default: |
| 4830 | break; |
| 4831 | }; |
| 4832 | break; |
| 4833 | #else |
| 4834 | #endif |
| 4835 | /* statfs */ |
| 4836 | case 157: |
| 4837 | switch(ndx) { |
| 4838 | case 0: |
| 4839 | p = "userland char *" ; |
| 4840 | break; |
| 4841 | case 1: |
| 4842 | p = "userland struct statfs *" ; |
| 4843 | break; |
| 4844 | default: |
| 4845 | break; |
| 4846 | }; |
| 4847 | break; |
| 4848 | /* fstatfs */ |
| 4849 | case 158: |
| 4850 | switch(ndx) { |
| 4851 | case 0: |
| 4852 | p = "int" ; |
| 4853 | break; |
| 4854 | case 1: |
| 4855 | p = "userland struct statfs *" ; |
| 4856 | break; |
| 4857 | default: |
| 4858 | break; |
| 4859 | }; |
| 4860 | break; |
| 4861 | /* unmount */ |
| 4862 | case 159: |
| 4863 | switch(ndx) { |
| 4864 | case 0: |
| 4865 | p = "user_addr_t" ; |
| 4866 | break; |
| 4867 | case 1: |
| 4868 | p = "int" ; |
| 4869 | break; |
| 4870 | default: |
| 4871 | break; |
| 4872 | }; |
| 4873 | break; |
| 4874 | #if NFSSERVER |
| 4875 | /* getfh */ |
| 4876 | case 161: |
| 4877 | switch(ndx) { |
| 4878 | case 0: |
| 4879 | p = "userland char *" ; |
| 4880 | break; |
| 4881 | case 1: |
| 4882 | p = "userland fhandle_t *" ; |
| 4883 | break; |
| 4884 | default: |
| 4885 | break; |
| 4886 | }; |
| 4887 | break; |
| 4888 | #else |
| 4889 | #endif |
| 4890 | /* quotactl */ |
| 4891 | case 165: |
| 4892 | switch(ndx) { |
| 4893 | case 0: |
| 4894 | p = "userland const char *" ; |
| 4895 | break; |
| 4896 | case 1: |
| 4897 | p = "int" ; |
| 4898 | break; |
| 4899 | case 2: |
| 4900 | p = "int" ; |
| 4901 | break; |
| 4902 | case 3: |
| 4903 | p = "caddr_t" ; |
| 4904 | break; |
| 4905 | default: |
| 4906 | break; |
| 4907 | }; |
| 4908 | break; |
| 4909 | /* mount */ |
| 4910 | case 167: |
| 4911 | switch(ndx) { |
| 4912 | case 0: |
| 4913 | p = "userland char *" ; |
| 4914 | break; |
| 4915 | case 1: |
| 4916 | p = "userland char *" ; |
| 4917 | break; |
| 4918 | case 2: |
| 4919 | p = "int" ; |
| 4920 | break; |
| 4921 | case 3: |
| 4922 | p = "caddr_t" ; |
| 4923 | break; |
| 4924 | default: |
| 4925 | break; |
| 4926 | }; |
| 4927 | break; |
| 4928 | /* csops */ |
| 4929 | case 169: |
| 4930 | switch(ndx) { |
| 4931 | case 0: |
| 4932 | p = "pid_t" ; |
| 4933 | break; |
| 4934 | case 1: |
| 4935 | p = "uint32_t" ; |
| 4936 | break; |
| 4937 | case 2: |
| 4938 | p = "user_addr_t" ; |
| 4939 | break; |
| 4940 | case 3: |
| 4941 | p = "user_size_t" ; |
| 4942 | break; |
| 4943 | default: |
| 4944 | break; |
| 4945 | }; |
| 4946 | break; |
| 4947 | /* csops_audittoken */ |
| 4948 | case 170: |
| 4949 | switch(ndx) { |
| 4950 | case 0: |
| 4951 | p = "pid_t" ; |
| 4952 | break; |
| 4953 | case 1: |
| 4954 | p = "uint32_t" ; |
| 4955 | break; |
| 4956 | case 2: |
| 4957 | p = "user_addr_t" ; |
| 4958 | break; |
| 4959 | case 3: |
| 4960 | p = "user_size_t" ; |
| 4961 | break; |
| 4962 | case 4: |
| 4963 | p = "user_addr_t" ; |
| 4964 | break; |
| 4965 | default: |
| 4966 | break; |
| 4967 | }; |
| 4968 | break; |
| 4969 | /* waitid */ |
| 4970 | case 173: |
| 4971 | switch(ndx) { |
| 4972 | case 0: |
| 4973 | p = "idtype_t" ; |
| 4974 | break; |
| 4975 | case 1: |
| 4976 | p = "id_t" ; |
| 4977 | break; |
| 4978 | case 2: |
| 4979 | p = "userland siginfo_t *" ; |
| 4980 | break; |
| 4981 | case 3: |
| 4982 | p = "int" ; |
| 4983 | break; |
| 4984 | default: |
| 4985 | break; |
| 4986 | }; |
| 4987 | break; |
| 4988 | /* kdebug_typefilter */ |
| 4989 | case 177: |
| 4990 | switch(ndx) { |
| 4991 | case 0: |
| 4992 | p = "userland void **" ; |
| 4993 | break; |
| 4994 | case 1: |
| 4995 | p = "userland size_t *" ; |
| 4996 | break; |
| 4997 | default: |
| 4998 | break; |
| 4999 | }; |
| 5000 | break; |
| 5001 | /* kdebug_trace_string */ |
| 5002 | case 178: |
| 5003 | switch(ndx) { |
| 5004 | case 0: |
| 5005 | p = "uint32_t" ; |
| 5006 | break; |
| 5007 | case 1: |
| 5008 | p = "uint64_t" ; |
| 5009 | break; |
| 5010 | case 2: |
| 5011 | p = "userland const char *" ; |
| 5012 | break; |
| 5013 | default: |
| 5014 | break; |
| 5015 | }; |
| 5016 | break; |
| 5017 | /* kdebug_trace64 */ |
| 5018 | case 179: |
| 5019 | switch(ndx) { |
| 5020 | case 0: |
| 5021 | p = "uint32_t" ; |
| 5022 | break; |
| 5023 | case 1: |
| 5024 | p = "uint64_t" ; |
| 5025 | break; |
| 5026 | case 2: |
| 5027 | p = "uint64_t" ; |
| 5028 | break; |
| 5029 | case 3: |
| 5030 | p = "uint64_t" ; |
| 5031 | break; |
| 5032 | case 4: |
| 5033 | p = "uint64_t" ; |
| 5034 | break; |
| 5035 | default: |
| 5036 | break; |
| 5037 | }; |
| 5038 | break; |
| 5039 | /* kdebug_trace */ |
| 5040 | case 180: |
| 5041 | switch(ndx) { |
| 5042 | case 0: |
| 5043 | p = "uint32_t" ; |
| 5044 | break; |
| 5045 | case 1: |
| 5046 | p = "u_long" ; |
| 5047 | break; |
| 5048 | case 2: |
| 5049 | p = "u_long" ; |
| 5050 | break; |
| 5051 | case 3: |
| 5052 | p = "u_long" ; |
| 5053 | break; |
| 5054 | case 4: |
| 5055 | p = "u_long" ; |
| 5056 | break; |
| 5057 | default: |
| 5058 | break; |
| 5059 | }; |
| 5060 | break; |
| 5061 | /* setgid */ |
| 5062 | case 181: |
| 5063 | switch(ndx) { |
| 5064 | case 0: |
| 5065 | p = "gid_t" ; |
| 5066 | break; |
| 5067 | default: |
| 5068 | break; |
| 5069 | }; |
| 5070 | break; |
| 5071 | /* setegid */ |
| 5072 | case 182: |
| 5073 | switch(ndx) { |
| 5074 | case 0: |
| 5075 | p = "gid_t" ; |
| 5076 | break; |
| 5077 | default: |
| 5078 | break; |
| 5079 | }; |
| 5080 | break; |
| 5081 | /* seteuid */ |
| 5082 | case 183: |
| 5083 | switch(ndx) { |
| 5084 | case 0: |
| 5085 | p = "uid_t" ; |
| 5086 | break; |
| 5087 | default: |
| 5088 | break; |
| 5089 | }; |
| 5090 | break; |
| 5091 | /* sigreturn */ |
| 5092 | case 184: |
| 5093 | switch(ndx) { |
| 5094 | case 0: |
| 5095 | p = "userland struct ucontext *" ; |
| 5096 | break; |
| 5097 | case 1: |
| 5098 | p = "int" ; |
| 5099 | break; |
| 5100 | case 2: |
| 5101 | p = "user_addr_t" ; |
| 5102 | break; |
| 5103 | default: |
| 5104 | break; |
| 5105 | }; |
| 5106 | break; |
| 5107 | /* thread_selfcounts */ |
| 5108 | case 186: |
| 5109 | switch(ndx) { |
| 5110 | case 0: |
| 5111 | p = "int" ; |
| 5112 | break; |
| 5113 | case 1: |
| 5114 | p = "user_addr_t" ; |
| 5115 | break; |
| 5116 | case 2: |
| 5117 | p = "user_size_t" ; |
| 5118 | break; |
| 5119 | default: |
| 5120 | break; |
| 5121 | }; |
| 5122 | break; |
| 5123 | /* fdatasync */ |
| 5124 | case 187: |
| 5125 | switch(ndx) { |
| 5126 | case 0: |
| 5127 | p = "int" ; |
| 5128 | break; |
| 5129 | default: |
| 5130 | break; |
| 5131 | }; |
| 5132 | break; |
| 5133 | /* stat */ |
| 5134 | case 188: |
| 5135 | switch(ndx) { |
| 5136 | case 0: |
| 5137 | p = "user_addr_t" ; |
| 5138 | break; |
| 5139 | case 1: |
| 5140 | p = "user_addr_t" ; |
| 5141 | break; |
| 5142 | default: |
| 5143 | break; |
| 5144 | }; |
| 5145 | break; |
| 5146 | /* fstat */ |
| 5147 | case 189: |
| 5148 | switch(ndx) { |
| 5149 | case 0: |
| 5150 | p = "int" ; |
| 5151 | break; |
| 5152 | case 1: |
| 5153 | p = "user_addr_t" ; |
| 5154 | break; |
| 5155 | default: |
| 5156 | break; |
| 5157 | }; |
| 5158 | break; |
| 5159 | /* lstat */ |
| 5160 | case 190: |
| 5161 | switch(ndx) { |
| 5162 | case 0: |
| 5163 | p = "user_addr_t" ; |
| 5164 | break; |
| 5165 | case 1: |
| 5166 | p = "user_addr_t" ; |
| 5167 | break; |
| 5168 | default: |
| 5169 | break; |
| 5170 | }; |
| 5171 | break; |
| 5172 | /* pathconf */ |
| 5173 | case 191: |
| 5174 | switch(ndx) { |
| 5175 | case 0: |
| 5176 | p = "userland char *" ; |
| 5177 | break; |
| 5178 | case 1: |
| 5179 | p = "int" ; |
| 5180 | break; |
| 5181 | default: |
| 5182 | break; |
| 5183 | }; |
| 5184 | break; |
| 5185 | /* fpathconf */ |
| 5186 | case 192: |
| 5187 | switch(ndx) { |
| 5188 | case 0: |
| 5189 | p = "int" ; |
| 5190 | break; |
| 5191 | case 1: |
| 5192 | p = "int" ; |
| 5193 | break; |
| 5194 | default: |
| 5195 | break; |
| 5196 | }; |
| 5197 | break; |
| 5198 | /* getrlimit */ |
| 5199 | case 194: |
| 5200 | switch(ndx) { |
| 5201 | case 0: |
| 5202 | p = "u_int" ; |
| 5203 | break; |
| 5204 | case 1: |
| 5205 | p = "userland struct rlimit *" ; |
| 5206 | break; |
| 5207 | default: |
| 5208 | break; |
| 5209 | }; |
| 5210 | break; |
| 5211 | /* setrlimit */ |
| 5212 | case 195: |
| 5213 | switch(ndx) { |
| 5214 | case 0: |
| 5215 | p = "u_int" ; |
| 5216 | break; |
| 5217 | case 1: |
| 5218 | p = "userland struct rlimit *" ; |
| 5219 | break; |
| 5220 | default: |
| 5221 | break; |
| 5222 | }; |
| 5223 | break; |
| 5224 | /* getdirentries */ |
| 5225 | case 196: |
| 5226 | switch(ndx) { |
| 5227 | case 0: |
| 5228 | p = "int" ; |
| 5229 | break; |
| 5230 | case 1: |
| 5231 | p = "userland char *" ; |
| 5232 | break; |
| 5233 | case 2: |
| 5234 | p = "u_int" ; |
| 5235 | break; |
| 5236 | case 3: |
| 5237 | p = "userland long *" ; |
| 5238 | break; |
| 5239 | default: |
| 5240 | break; |
| 5241 | }; |
| 5242 | break; |
| 5243 | /* mmap */ |
| 5244 | case 197: |
| 5245 | switch(ndx) { |
| 5246 | case 0: |
| 5247 | p = "caddr_t" ; |
| 5248 | break; |
| 5249 | case 1: |
| 5250 | p = "size_t" ; |
| 5251 | break; |
| 5252 | case 2: |
| 5253 | p = "int" ; |
| 5254 | break; |
| 5255 | case 3: |
| 5256 | p = "int" ; |
| 5257 | break; |
| 5258 | case 4: |
| 5259 | p = "int" ; |
| 5260 | break; |
| 5261 | case 5: |
| 5262 | p = "off_t" ; |
| 5263 | break; |
| 5264 | default: |
| 5265 | break; |
| 5266 | }; |
| 5267 | break; |
| 5268 | /* lseek */ |
| 5269 | case 199: |
| 5270 | switch(ndx) { |
| 5271 | case 0: |
| 5272 | p = "int" ; |
| 5273 | break; |
| 5274 | case 1: |
| 5275 | p = "off_t" ; |
| 5276 | break; |
| 5277 | case 2: |
| 5278 | p = "int" ; |
| 5279 | break; |
| 5280 | default: |
| 5281 | break; |
| 5282 | }; |
| 5283 | break; |
| 5284 | /* truncate */ |
| 5285 | case 200: |
| 5286 | switch(ndx) { |
| 5287 | case 0: |
| 5288 | p = "userland char *" ; |
| 5289 | break; |
| 5290 | case 1: |
| 5291 | p = "off_t" ; |
| 5292 | break; |
| 5293 | default: |
| 5294 | break; |
| 5295 | }; |
| 5296 | break; |
| 5297 | /* ftruncate */ |
| 5298 | case 201: |
| 5299 | switch(ndx) { |
| 5300 | case 0: |
| 5301 | p = "int" ; |
| 5302 | break; |
| 5303 | case 1: |
| 5304 | p = "off_t" ; |
| 5305 | break; |
| 5306 | default: |
| 5307 | break; |
| 5308 | }; |
| 5309 | break; |
| 5310 | /* sysctl */ |
| 5311 | case 202: |
| 5312 | switch(ndx) { |
| 5313 | case 0: |
| 5314 | p = "userland int *" ; |
| 5315 | break; |
| 5316 | case 1: |
| 5317 | p = "u_int" ; |
| 5318 | break; |
| 5319 | case 2: |
| 5320 | p = "userland void *" ; |
| 5321 | break; |
| 5322 | case 3: |
| 5323 | p = "userland size_t *" ; |
| 5324 | break; |
| 5325 | case 4: |
| 5326 | p = "userland void *" ; |
| 5327 | break; |
| 5328 | case 5: |
| 5329 | p = "size_t" ; |
| 5330 | break; |
| 5331 | default: |
| 5332 | break; |
| 5333 | }; |
| 5334 | break; |
| 5335 | /* mlock */ |
| 5336 | case 203: |
| 5337 | switch(ndx) { |
| 5338 | case 0: |
| 5339 | p = "caddr_t" ; |
| 5340 | break; |
| 5341 | case 1: |
| 5342 | p = "size_t" ; |
| 5343 | break; |
| 5344 | default: |
| 5345 | break; |
| 5346 | }; |
| 5347 | break; |
| 5348 | /* munlock */ |
| 5349 | case 204: |
| 5350 | switch(ndx) { |
| 5351 | case 0: |
| 5352 | p = "caddr_t" ; |
| 5353 | break; |
| 5354 | case 1: |
| 5355 | p = "size_t" ; |
| 5356 | break; |
| 5357 | default: |
| 5358 | break; |
| 5359 | }; |
| 5360 | break; |
| 5361 | /* undelete */ |
| 5362 | case 205: |
| 5363 | switch(ndx) { |
| 5364 | case 0: |
| 5365 | p = "user_addr_t" ; |
| 5366 | break; |
| 5367 | default: |
| 5368 | break; |
| 5369 | }; |
| 5370 | break; |
| 5371 | /* open_dprotected_np */ |
| 5372 | case 216: |
| 5373 | switch(ndx) { |
| 5374 | case 0: |
| 5375 | p = "user_addr_t" ; |
| 5376 | break; |
| 5377 | case 1: |
| 5378 | p = "int" ; |
| 5379 | break; |
| 5380 | case 2: |
| 5381 | p = "int" ; |
| 5382 | break; |
| 5383 | case 3: |
| 5384 | p = "int" ; |
| 5385 | break; |
| 5386 | case 4: |
| 5387 | p = "int" ; |
| 5388 | break; |
| 5389 | default: |
| 5390 | break; |
| 5391 | }; |
| 5392 | break; |
| 5393 | /* getattrlist */ |
| 5394 | case 220: |
| 5395 | switch(ndx) { |
| 5396 | case 0: |
| 5397 | p = "userland const char *" ; |
| 5398 | break; |
| 5399 | case 1: |
| 5400 | p = "userland struct attrlist *" ; |
| 5401 | break; |
| 5402 | case 2: |
| 5403 | p = "userland void *" ; |
| 5404 | break; |
| 5405 | case 3: |
| 5406 | p = "size_t" ; |
| 5407 | break; |
| 5408 | case 4: |
| 5409 | p = "u_long" ; |
| 5410 | break; |
| 5411 | default: |
| 5412 | break; |
| 5413 | }; |
| 5414 | break; |
| 5415 | /* setattrlist */ |
| 5416 | case 221: |
| 5417 | switch(ndx) { |
| 5418 | case 0: |
| 5419 | p = "userland const char *" ; |
| 5420 | break; |
| 5421 | case 1: |
| 5422 | p = "userland struct attrlist *" ; |
| 5423 | break; |
| 5424 | case 2: |
| 5425 | p = "userland void *" ; |
| 5426 | break; |
| 5427 | case 3: |
| 5428 | p = "size_t" ; |
| 5429 | break; |
| 5430 | case 4: |
| 5431 | p = "u_long" ; |
| 5432 | break; |
| 5433 | default: |
| 5434 | break; |
| 5435 | }; |
| 5436 | break; |
| 5437 | /* getdirentriesattr */ |
| 5438 | case 222: |
| 5439 | switch(ndx) { |
| 5440 | case 0: |
| 5441 | p = "int" ; |
| 5442 | break; |
| 5443 | case 1: |
| 5444 | p = "userland struct attrlist *" ; |
| 5445 | break; |
| 5446 | case 2: |
| 5447 | p = "userland void *" ; |
| 5448 | break; |
| 5449 | case 3: |
| 5450 | p = "size_t" ; |
| 5451 | break; |
| 5452 | case 4: |
| 5453 | p = "userland u_long *" ; |
| 5454 | break; |
| 5455 | case 5: |
| 5456 | p = "userland u_long *" ; |
| 5457 | break; |
| 5458 | case 6: |
| 5459 | p = "userland u_long *" ; |
| 5460 | break; |
| 5461 | case 7: |
| 5462 | p = "u_long" ; |
| 5463 | break; |
| 5464 | default: |
| 5465 | break; |
| 5466 | }; |
| 5467 | break; |
| 5468 | /* exchangedata */ |
| 5469 | case 223: |
| 5470 | switch(ndx) { |
| 5471 | case 0: |
| 5472 | p = "userland const char *" ; |
| 5473 | break; |
| 5474 | case 1: |
| 5475 | p = "userland const char *" ; |
| 5476 | break; |
| 5477 | case 2: |
| 5478 | p = "u_long" ; |
| 5479 | break; |
| 5480 | default: |
| 5481 | break; |
| 5482 | }; |
| 5483 | break; |
| 5484 | /* searchfs */ |
| 5485 | case 225: |
| 5486 | switch(ndx) { |
| 5487 | case 0: |
| 5488 | p = "userland const char *" ; |
| 5489 | break; |
| 5490 | case 1: |
| 5491 | p = "userland struct fssearchblock *" ; |
| 5492 | break; |
| 5493 | case 2: |
| 5494 | p = "userland uint32_t *" ; |
| 5495 | break; |
| 5496 | case 3: |
| 5497 | p = "uint32_t" ; |
| 5498 | break; |
| 5499 | case 4: |
| 5500 | p = "uint32_t" ; |
| 5501 | break; |
| 5502 | case 5: |
| 5503 | p = "userland struct searchstate *" ; |
| 5504 | break; |
| 5505 | default: |
| 5506 | break; |
| 5507 | }; |
| 5508 | break; |
| 5509 | /* delete */ |
| 5510 | case 226: |
| 5511 | switch(ndx) { |
| 5512 | case 0: |
| 5513 | p = "user_addr_t" ; |
| 5514 | break; |
| 5515 | default: |
| 5516 | break; |
| 5517 | }; |
| 5518 | break; |
| 5519 | /* copyfile */ |
| 5520 | case 227: |
| 5521 | switch(ndx) { |
| 5522 | case 0: |
| 5523 | p = "userland char *" ; |
| 5524 | break; |
| 5525 | case 1: |
| 5526 | p = "userland char *" ; |
| 5527 | break; |
| 5528 | case 2: |
| 5529 | p = "int" ; |
| 5530 | break; |
| 5531 | case 3: |
| 5532 | p = "int" ; |
| 5533 | break; |
| 5534 | default: |
| 5535 | break; |
| 5536 | }; |
| 5537 | break; |
| 5538 | /* fgetattrlist */ |
| 5539 | case 228: |
| 5540 | switch(ndx) { |
| 5541 | case 0: |
| 5542 | p = "int" ; |
| 5543 | break; |
| 5544 | case 1: |
| 5545 | p = "userland struct attrlist *" ; |
| 5546 | break; |
| 5547 | case 2: |
| 5548 | p = "userland void *" ; |
| 5549 | break; |
| 5550 | case 3: |
| 5551 | p = "size_t" ; |
| 5552 | break; |
| 5553 | case 4: |
| 5554 | p = "u_long" ; |
| 5555 | break; |
| 5556 | default: |
| 5557 | break; |
| 5558 | }; |
| 5559 | break; |
| 5560 | /* fsetattrlist */ |
| 5561 | case 229: |
| 5562 | switch(ndx) { |
| 5563 | case 0: |
| 5564 | p = "int" ; |
| 5565 | break; |
| 5566 | case 1: |
| 5567 | p = "userland struct attrlist *" ; |
| 5568 | break; |
| 5569 | case 2: |
| 5570 | p = "userland void *" ; |
| 5571 | break; |
| 5572 | case 3: |
| 5573 | p = "size_t" ; |
| 5574 | break; |
| 5575 | case 4: |
| 5576 | p = "u_long" ; |
| 5577 | break; |
| 5578 | default: |
| 5579 | break; |
| 5580 | }; |
| 5581 | break; |
| 5582 | /* poll */ |
| 5583 | case 230: |
| 5584 | switch(ndx) { |
| 5585 | case 0: |
| 5586 | p = "userland struct pollfd *" ; |
| 5587 | break; |
| 5588 | case 1: |
| 5589 | p = "u_int" ; |
| 5590 | break; |
| 5591 | case 2: |
| 5592 | p = "int" ; |
| 5593 | break; |
| 5594 | default: |
| 5595 | break; |
| 5596 | }; |
| 5597 | break; |
| 5598 | /* watchevent */ |
| 5599 | case 231: |
| 5600 | switch(ndx) { |
| 5601 | case 0: |
| 5602 | p = "userland struct eventreq *" ; |
| 5603 | break; |
| 5604 | case 1: |
| 5605 | p = "int" ; |
| 5606 | break; |
| 5607 | default: |
| 5608 | break; |
| 5609 | }; |
| 5610 | break; |
| 5611 | /* waitevent */ |
| 5612 | case 232: |
| 5613 | switch(ndx) { |
| 5614 | case 0: |
| 5615 | p = "userland struct eventreq *" ; |
| 5616 | break; |
| 5617 | case 1: |
| 5618 | p = "userland struct timeval *" ; |
| 5619 | break; |
| 5620 | default: |
| 5621 | break; |
| 5622 | }; |
| 5623 | break; |
| 5624 | /* modwatch */ |
| 5625 | case 233: |
| 5626 | switch(ndx) { |
| 5627 | case 0: |
| 5628 | p = "userland struct eventreq *" ; |
| 5629 | break; |
| 5630 | case 1: |
| 5631 | p = "int" ; |
| 5632 | break; |
| 5633 | default: |
| 5634 | break; |
| 5635 | }; |
| 5636 | break; |
| 5637 | /* getxattr */ |
| 5638 | case 234: |
| 5639 | switch(ndx) { |
| 5640 | case 0: |
| 5641 | p = "user_addr_t" ; |
| 5642 | break; |
| 5643 | case 1: |
| 5644 | p = "user_addr_t" ; |
| 5645 | break; |
| 5646 | case 2: |
| 5647 | p = "user_addr_t" ; |
| 5648 | break; |
| 5649 | case 3: |
| 5650 | p = "size_t" ; |
| 5651 | break; |
| 5652 | case 4: |
| 5653 | p = "uint32_t" ; |
| 5654 | break; |
| 5655 | case 5: |
| 5656 | p = "int" ; |
| 5657 | break; |
| 5658 | default: |
| 5659 | break; |
| 5660 | }; |
| 5661 | break; |
| 5662 | /* fgetxattr */ |
| 5663 | case 235: |
| 5664 | switch(ndx) { |
| 5665 | case 0: |
| 5666 | p = "int" ; |
| 5667 | break; |
| 5668 | case 1: |
| 5669 | p = "user_addr_t" ; |
| 5670 | break; |
| 5671 | case 2: |
| 5672 | p = "user_addr_t" ; |
| 5673 | break; |
| 5674 | case 3: |
| 5675 | p = "size_t" ; |
| 5676 | break; |
| 5677 | case 4: |
| 5678 | p = "uint32_t" ; |
| 5679 | break; |
| 5680 | case 5: |
| 5681 | p = "int" ; |
| 5682 | break; |
| 5683 | default: |
| 5684 | break; |
| 5685 | }; |
| 5686 | break; |
| 5687 | /* setxattr */ |
| 5688 | case 236: |
| 5689 | switch(ndx) { |
| 5690 | case 0: |
| 5691 | p = "user_addr_t" ; |
| 5692 | break; |
| 5693 | case 1: |
| 5694 | p = "user_addr_t" ; |
| 5695 | break; |
| 5696 | case 2: |
| 5697 | p = "user_addr_t" ; |
| 5698 | break; |
| 5699 | case 3: |
| 5700 | p = "size_t" ; |
| 5701 | break; |
| 5702 | case 4: |
| 5703 | p = "uint32_t" ; |
| 5704 | break; |
| 5705 | case 5: |
| 5706 | p = "int" ; |
| 5707 | break; |
| 5708 | default: |
| 5709 | break; |
| 5710 | }; |
| 5711 | break; |
| 5712 | /* fsetxattr */ |
| 5713 | case 237: |
| 5714 | switch(ndx) { |
| 5715 | case 0: |
| 5716 | p = "int" ; |
| 5717 | break; |
| 5718 | case 1: |
| 5719 | p = "user_addr_t" ; |
| 5720 | break; |
| 5721 | case 2: |
| 5722 | p = "user_addr_t" ; |
| 5723 | break; |
| 5724 | case 3: |
| 5725 | p = "size_t" ; |
| 5726 | break; |
| 5727 | case 4: |
| 5728 | p = "uint32_t" ; |
| 5729 | break; |
| 5730 | case 5: |
| 5731 | p = "int" ; |
| 5732 | break; |
| 5733 | default: |
| 5734 | break; |
| 5735 | }; |
| 5736 | break; |
| 5737 | /* removexattr */ |
| 5738 | case 238: |
| 5739 | switch(ndx) { |
| 5740 | case 0: |
| 5741 | p = "user_addr_t" ; |
| 5742 | break; |
| 5743 | case 1: |
| 5744 | p = "user_addr_t" ; |
| 5745 | break; |
| 5746 | case 2: |
| 5747 | p = "int" ; |
| 5748 | break; |
| 5749 | default: |
| 5750 | break; |
| 5751 | }; |
| 5752 | break; |
| 5753 | /* fremovexattr */ |
| 5754 | case 239: |
| 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 | default: |
| 5766 | break; |
| 5767 | }; |
| 5768 | break; |
| 5769 | /* listxattr */ |
| 5770 | case 240: |
| 5771 | switch(ndx) { |
| 5772 | case 0: |
| 5773 | p = "user_addr_t" ; |
| 5774 | break; |
| 5775 | case 1: |
| 5776 | p = "user_addr_t" ; |
| 5777 | break; |
| 5778 | case 2: |
| 5779 | p = "size_t" ; |
| 5780 | break; |
| 5781 | case 3: |
| 5782 | p = "int" ; |
| 5783 | break; |
| 5784 | default: |
| 5785 | break; |
| 5786 | }; |
| 5787 | break; |
| 5788 | /* flistxattr */ |
| 5789 | case 241: |
| 5790 | switch(ndx) { |
| 5791 | case 0: |
| 5792 | p = "int" ; |
| 5793 | break; |
| 5794 | case 1: |
| 5795 | p = "user_addr_t" ; |
| 5796 | break; |
| 5797 | case 2: |
| 5798 | p = "size_t" ; |
| 5799 | break; |
| 5800 | case 3: |
| 5801 | p = "int" ; |
| 5802 | break; |
| 5803 | default: |
| 5804 | break; |
| 5805 | }; |
| 5806 | break; |
| 5807 | /* fsctl */ |
| 5808 | case 242: |
| 5809 | switch(ndx) { |
| 5810 | case 0: |
| 5811 | p = "userland const char *" ; |
| 5812 | break; |
| 5813 | case 1: |
| 5814 | p = "u_long" ; |
| 5815 | break; |
| 5816 | case 2: |
| 5817 | p = "caddr_t" ; |
| 5818 | break; |
| 5819 | case 3: |
| 5820 | p = "u_int" ; |
| 5821 | break; |
| 5822 | default: |
| 5823 | break; |
| 5824 | }; |
| 5825 | break; |
| 5826 | /* initgroups */ |
| 5827 | case 243: |
| 5828 | switch(ndx) { |
| 5829 | case 0: |
| 5830 | p = "u_int" ; |
| 5831 | break; |
| 5832 | case 1: |
| 5833 | p = "userland gid_t *" ; |
| 5834 | break; |
| 5835 | case 2: |
| 5836 | p = "int" ; |
| 5837 | break; |
| 5838 | default: |
| 5839 | break; |
| 5840 | }; |
| 5841 | break; |
| 5842 | /* posix_spawn */ |
| 5843 | case 244: |
| 5844 | switch(ndx) { |
| 5845 | case 0: |
| 5846 | p = "userland pid_t *" ; |
| 5847 | break; |
| 5848 | case 1: |
| 5849 | p = "userland const char *" ; |
| 5850 | break; |
| 5851 | case 2: |
| 5852 | p = "userland const struct _posix_spawn_args_desc *" ; |
| 5853 | break; |
| 5854 | case 3: |
| 5855 | p = "userland char **" ; |
| 5856 | break; |
| 5857 | case 4: |
| 5858 | p = "userland char **" ; |
| 5859 | break; |
| 5860 | default: |
| 5861 | break; |
| 5862 | }; |
| 5863 | break; |
| 5864 | /* ffsctl */ |
| 5865 | case 245: |
| 5866 | switch(ndx) { |
| 5867 | case 0: |
| 5868 | p = "int" ; |
| 5869 | break; |
| 5870 | case 1: |
| 5871 | p = "u_long" ; |
| 5872 | break; |
| 5873 | case 2: |
| 5874 | p = "caddr_t" ; |
| 5875 | break; |
| 5876 | case 3: |
| 5877 | p = "u_int" ; |
| 5878 | break; |
| 5879 | default: |
| 5880 | break; |
| 5881 | }; |
| 5882 | break; |
| 5883 | #if NFSCLIENT |
| 5884 | /* nfsclnt */ |
| 5885 | case 247: |
| 5886 | switch(ndx) { |
| 5887 | case 0: |
| 5888 | p = "int" ; |
| 5889 | break; |
| 5890 | case 1: |
| 5891 | p = "caddr_t" ; |
| 5892 | break; |
| 5893 | default: |
| 5894 | break; |
| 5895 | }; |
| 5896 | break; |
| 5897 | #else |
| 5898 | #endif |
| 5899 | #if NFSSERVER |
| 5900 | /* fhopen */ |
| 5901 | case 248: |
| 5902 | switch(ndx) { |
| 5903 | case 0: |
| 5904 | p = "userland const struct fhandle *" ; |
| 5905 | break; |
| 5906 | case 1: |
| 5907 | p = "int" ; |
| 5908 | break; |
| 5909 | default: |
| 5910 | break; |
| 5911 | }; |
| 5912 | break; |
| 5913 | #else |
| 5914 | #endif |
| 5915 | /* minherit */ |
| 5916 | case 250: |
| 5917 | switch(ndx) { |
| 5918 | case 0: |
| 5919 | p = "userland void *" ; |
| 5920 | break; |
| 5921 | case 1: |
| 5922 | p = "size_t" ; |
| 5923 | break; |
| 5924 | case 2: |
| 5925 | p = "int" ; |
| 5926 | break; |
| 5927 | default: |
| 5928 | break; |
| 5929 | }; |
| 5930 | break; |
| 5931 | #if SYSV_SEM |
| 5932 | /* semsys */ |
| 5933 | case 251: |
| 5934 | switch(ndx) { |
| 5935 | case 0: |
| 5936 | p = "u_int" ; |
| 5937 | break; |
| 5938 | case 1: |
| 5939 | p = "int" ; |
| 5940 | break; |
| 5941 | case 2: |
| 5942 | p = "int" ; |
| 5943 | break; |
| 5944 | case 3: |
| 5945 | p = "int" ; |
| 5946 | break; |
| 5947 | case 4: |
| 5948 | p = "int" ; |
| 5949 | break; |
| 5950 | default: |
| 5951 | break; |
| 5952 | }; |
| 5953 | break; |
| 5954 | #else |
| 5955 | #endif |
| 5956 | #if SYSV_MSG |
| 5957 | /* msgsys */ |
| 5958 | case 252: |
| 5959 | switch(ndx) { |
| 5960 | case 0: |
| 5961 | p = "u_int" ; |
| 5962 | break; |
| 5963 | case 1: |
| 5964 | p = "int" ; |
| 5965 | break; |
| 5966 | case 2: |
| 5967 | p = "int" ; |
| 5968 | break; |
| 5969 | case 3: |
| 5970 | p = "int" ; |
| 5971 | break; |
| 5972 | case 4: |
| 5973 | p = "int" ; |
| 5974 | break; |
| 5975 | default: |
| 5976 | break; |
| 5977 | }; |
| 5978 | break; |
| 5979 | #else |
| 5980 | #endif |
| 5981 | #if SYSV_SHM |
| 5982 | /* shmsys */ |
| 5983 | case 253: |
| 5984 | switch(ndx) { |
| 5985 | case 0: |
| 5986 | p = "u_int" ; |
| 5987 | break; |
| 5988 | case 1: |
| 5989 | p = "int" ; |
| 5990 | break; |
| 5991 | case 2: |
| 5992 | p = "int" ; |
| 5993 | break; |
| 5994 | case 3: |
| 5995 | p = "int" ; |
| 5996 | break; |
| 5997 | default: |
| 5998 | break; |
| 5999 | }; |
| 6000 | break; |
| 6001 | #else |
| 6002 | #endif |
| 6003 | #if SYSV_SEM |
| 6004 | /* semctl */ |
| 6005 | case 254: |
| 6006 | switch(ndx) { |
| 6007 | case 0: |
| 6008 | p = "int" ; |
| 6009 | break; |
| 6010 | case 1: |
| 6011 | p = "int" ; |
| 6012 | break; |
| 6013 | case 2: |
| 6014 | p = "int" ; |
| 6015 | break; |
| 6016 | case 3: |
| 6017 | p = "semun_t" ; |
| 6018 | break; |
| 6019 | default: |
| 6020 | break; |
| 6021 | }; |
| 6022 | break; |
| 6023 | /* semget */ |
| 6024 | case 255: |
| 6025 | switch(ndx) { |
| 6026 | case 0: |
| 6027 | p = "key_t" ; |
| 6028 | break; |
| 6029 | case 1: |
| 6030 | p = "int" ; |
| 6031 | break; |
| 6032 | case 2: |
| 6033 | p = "int" ; |
| 6034 | break; |
| 6035 | default: |
| 6036 | break; |
| 6037 | }; |
| 6038 | break; |
| 6039 | /* semop */ |
| 6040 | case 256: |
| 6041 | switch(ndx) { |
| 6042 | case 0: |
| 6043 | p = "int" ; |
| 6044 | break; |
| 6045 | case 1: |
| 6046 | p = "userland struct sembuf *" ; |
| 6047 | break; |
| 6048 | case 2: |
| 6049 | p = "int" ; |
| 6050 | break; |
| 6051 | default: |
| 6052 | break; |
| 6053 | }; |
| 6054 | break; |
| 6055 | #else |
| 6056 | #endif |
| 6057 | #if SYSV_MSG |
| 6058 | /* msgctl */ |
| 6059 | case 258: |
| 6060 | switch(ndx) { |
| 6061 | case 0: |
| 6062 | p = "int" ; |
| 6063 | break; |
| 6064 | case 1: |
| 6065 | p = "int" ; |
| 6066 | break; |
| 6067 | case 2: |
| 6068 | p = "userland struct msqid_ds *" ; |
| 6069 | break; |
| 6070 | default: |
| 6071 | break; |
| 6072 | }; |
| 6073 | break; |
| 6074 | /* msgget */ |
| 6075 | case 259: |
| 6076 | switch(ndx) { |
| 6077 | case 0: |
| 6078 | p = "key_t" ; |
| 6079 | break; |
| 6080 | case 1: |
| 6081 | p = "int" ; |
| 6082 | break; |
| 6083 | default: |
| 6084 | break; |
| 6085 | }; |
| 6086 | break; |
| 6087 | /* msgsnd */ |
| 6088 | case 260: |
| 6089 | switch(ndx) { |
| 6090 | case 0: |
| 6091 | p = "int" ; |
| 6092 | break; |
| 6093 | case 1: |
| 6094 | p = "userland void *" ; |
| 6095 | break; |
| 6096 | case 2: |
| 6097 | p = "size_t" ; |
| 6098 | break; |
| 6099 | case 3: |
| 6100 | p = "int" ; |
| 6101 | break; |
| 6102 | default: |
| 6103 | break; |
| 6104 | }; |
| 6105 | break; |
| 6106 | /* msgrcv */ |
| 6107 | case 261: |
| 6108 | switch(ndx) { |
| 6109 | case 0: |
| 6110 | p = "int" ; |
| 6111 | break; |
| 6112 | case 1: |
| 6113 | p = "userland void *" ; |
| 6114 | break; |
| 6115 | case 2: |
| 6116 | p = "size_t" ; |
| 6117 | break; |
| 6118 | case 3: |
| 6119 | p = "long" ; |
| 6120 | break; |
| 6121 | case 4: |
| 6122 | p = "int" ; |
| 6123 | break; |
| 6124 | default: |
| 6125 | break; |
| 6126 | }; |
| 6127 | break; |
| 6128 | #else |
| 6129 | #endif |
| 6130 | #if SYSV_SHM |
| 6131 | /* shmat */ |
| 6132 | case 262: |
| 6133 | switch(ndx) { |
| 6134 | case 0: |
| 6135 | p = "int" ; |
| 6136 | break; |
| 6137 | case 1: |
| 6138 | p = "userland void *" ; |
| 6139 | break; |
| 6140 | case 2: |
| 6141 | p = "int" ; |
| 6142 | break; |
| 6143 | default: |
| 6144 | break; |
| 6145 | }; |
| 6146 | break; |
| 6147 | /* shmctl */ |
| 6148 | case 263: |
| 6149 | switch(ndx) { |
| 6150 | case 0: |
| 6151 | p = "int" ; |
| 6152 | break; |
| 6153 | case 1: |
| 6154 | p = "int" ; |
| 6155 | break; |
| 6156 | case 2: |
| 6157 | p = "userland struct shmid_ds *" ; |
| 6158 | break; |
| 6159 | default: |
| 6160 | break; |
| 6161 | }; |
| 6162 | break; |
| 6163 | /* shmdt */ |
| 6164 | case 264: |
| 6165 | switch(ndx) { |
| 6166 | case 0: |
| 6167 | p = "userland void *" ; |
| 6168 | break; |
| 6169 | default: |
| 6170 | break; |
| 6171 | }; |
| 6172 | break; |
| 6173 | /* shmget */ |
| 6174 | case 265: |
| 6175 | switch(ndx) { |
| 6176 | case 0: |
| 6177 | p = "key_t" ; |
| 6178 | break; |
| 6179 | case 1: |
| 6180 | p = "size_t" ; |
| 6181 | break; |
| 6182 | case 2: |
| 6183 | p = "int" ; |
| 6184 | break; |
| 6185 | default: |
| 6186 | break; |
| 6187 | }; |
| 6188 | break; |
| 6189 | #else |
| 6190 | #endif |
| 6191 | /* shm_open */ |
| 6192 | case 266: |
| 6193 | switch(ndx) { |
| 6194 | case 0: |
| 6195 | p = "userland const char *" ; |
| 6196 | break; |
| 6197 | case 1: |
| 6198 | p = "int" ; |
| 6199 | break; |
| 6200 | case 2: |
| 6201 | p = "int" ; |
| 6202 | break; |
| 6203 | default: |
| 6204 | break; |
| 6205 | }; |
| 6206 | break; |
| 6207 | /* shm_unlink */ |
| 6208 | case 267: |
| 6209 | switch(ndx) { |
| 6210 | case 0: |
| 6211 | p = "userland const char *" ; |
| 6212 | break; |
| 6213 | default: |
| 6214 | break; |
| 6215 | }; |
| 6216 | break; |
| 6217 | /* sem_open */ |
| 6218 | case 268: |
| 6219 | switch(ndx) { |
| 6220 | case 0: |
| 6221 | p = "userland const char *" ; |
| 6222 | break; |
| 6223 | case 1: |
| 6224 | p = "int" ; |
| 6225 | break; |
| 6226 | case 2: |
| 6227 | p = "int" ; |
| 6228 | break; |
| 6229 | case 3: |
| 6230 | p = "int" ; |
| 6231 | break; |
| 6232 | default: |
| 6233 | break; |
| 6234 | }; |
| 6235 | break; |
| 6236 | /* sem_close */ |
| 6237 | case 269: |
| 6238 | switch(ndx) { |
| 6239 | case 0: |
| 6240 | p = "userland sem_t *" ; |
| 6241 | break; |
| 6242 | default: |
| 6243 | break; |
| 6244 | }; |
| 6245 | break; |
| 6246 | /* sem_unlink */ |
| 6247 | case 270: |
| 6248 | switch(ndx) { |
| 6249 | case 0: |
| 6250 | p = "userland const char *" ; |
| 6251 | break; |
| 6252 | default: |
| 6253 | break; |
| 6254 | }; |
| 6255 | break; |
| 6256 | /* sem_wait */ |
| 6257 | case 271: |
| 6258 | switch(ndx) { |
| 6259 | case 0: |
| 6260 | p = "userland sem_t *" ; |
| 6261 | break; |
| 6262 | default: |
| 6263 | break; |
| 6264 | }; |
| 6265 | break; |
| 6266 | /* sem_trywait */ |
| 6267 | case 272: |
| 6268 | switch(ndx) { |
| 6269 | case 0: |
| 6270 | p = "userland sem_t *" ; |
| 6271 | break; |
| 6272 | default: |
| 6273 | break; |
| 6274 | }; |
| 6275 | break; |
| 6276 | /* sem_post */ |
| 6277 | case 273: |
| 6278 | switch(ndx) { |
| 6279 | case 0: |
| 6280 | p = "userland sem_t *" ; |
| 6281 | break; |
| 6282 | default: |
| 6283 | break; |
| 6284 | }; |
| 6285 | break; |
| 6286 | /* sysctlbyname */ |
| 6287 | case 274: |
| 6288 | switch(ndx) { |
| 6289 | case 0: |
| 6290 | p = "userland const char *" ; |
| 6291 | break; |
| 6292 | case 1: |
| 6293 | p = "size_t" ; |
| 6294 | break; |
| 6295 | case 2: |
| 6296 | p = "userland void *" ; |
| 6297 | break; |
| 6298 | case 3: |
| 6299 | p = "userland size_t *" ; |
| 6300 | break; |
| 6301 | case 4: |
| 6302 | p = "userland void *" ; |
| 6303 | break; |
| 6304 | case 5: |
| 6305 | p = "size_t" ; |
| 6306 | break; |
| 6307 | default: |
| 6308 | break; |
| 6309 | }; |
| 6310 | break; |
| 6311 | /* open_extended */ |
| 6312 | case 277: |
| 6313 | switch(ndx) { |
| 6314 | case 0: |
| 6315 | p = "user_addr_t" ; |
| 6316 | break; |
| 6317 | case 1: |
| 6318 | p = "int" ; |
| 6319 | break; |
| 6320 | case 2: |
| 6321 | p = "uid_t" ; |
| 6322 | break; |
| 6323 | case 3: |
| 6324 | p = "gid_t" ; |
| 6325 | break; |
| 6326 | case 4: |
| 6327 | p = "int" ; |
| 6328 | break; |
| 6329 | case 5: |
| 6330 | p = "user_addr_t" ; |
| 6331 | break; |
| 6332 | default: |
| 6333 | break; |
| 6334 | }; |
| 6335 | break; |
| 6336 | /* umask_extended */ |
| 6337 | case 278: |
| 6338 | switch(ndx) { |
| 6339 | case 0: |
| 6340 | p = "int" ; |
| 6341 | break; |
| 6342 | case 1: |
| 6343 | p = "user_addr_t" ; |
| 6344 | break; |
| 6345 | default: |
| 6346 | break; |
| 6347 | }; |
| 6348 | break; |
| 6349 | /* stat_extended */ |
| 6350 | case 279: |
| 6351 | switch(ndx) { |
| 6352 | case 0: |
| 6353 | p = "user_addr_t" ; |
| 6354 | break; |
| 6355 | case 1: |
| 6356 | p = "user_addr_t" ; |
| 6357 | break; |
| 6358 | case 2: |
| 6359 | p = "user_addr_t" ; |
| 6360 | break; |
| 6361 | case 3: |
| 6362 | p = "user_addr_t" ; |
| 6363 | break; |
| 6364 | default: |
| 6365 | break; |
| 6366 | }; |
| 6367 | break; |
| 6368 | /* lstat_extended */ |
| 6369 | case 280: |
| 6370 | switch(ndx) { |
| 6371 | case 0: |
| 6372 | p = "user_addr_t" ; |
| 6373 | break; |
| 6374 | case 1: |
| 6375 | p = "user_addr_t" ; |
| 6376 | break; |
| 6377 | case 2: |
| 6378 | p = "user_addr_t" ; |
| 6379 | break; |
| 6380 | case 3: |
| 6381 | p = "user_addr_t" ; |
| 6382 | break; |
| 6383 | default: |
| 6384 | break; |
| 6385 | }; |
| 6386 | break; |
| 6387 | /* fstat_extended */ |
| 6388 | case 281: |
| 6389 | switch(ndx) { |
| 6390 | case 0: |
| 6391 | p = "int" ; |
| 6392 | break; |
| 6393 | case 1: |
| 6394 | p = "user_addr_t" ; |
| 6395 | break; |
| 6396 | case 2: |
| 6397 | p = "user_addr_t" ; |
| 6398 | break; |
| 6399 | case 3: |
| 6400 | p = "user_addr_t" ; |
| 6401 | break; |
| 6402 | default: |
| 6403 | break; |
| 6404 | }; |
| 6405 | break; |
| 6406 | /* chmod_extended */ |
| 6407 | case 282: |
| 6408 | switch(ndx) { |
| 6409 | case 0: |
| 6410 | p = "user_addr_t" ; |
| 6411 | break; |
| 6412 | case 1: |
| 6413 | p = "uid_t" ; |
| 6414 | break; |
| 6415 | case 2: |
| 6416 | p = "gid_t" ; |
| 6417 | break; |
| 6418 | case 3: |
| 6419 | p = "int" ; |
| 6420 | break; |
| 6421 | case 4: |
| 6422 | p = "user_addr_t" ; |
| 6423 | break; |
| 6424 | default: |
| 6425 | break; |
| 6426 | }; |
| 6427 | break; |
| 6428 | /* fchmod_extended */ |
| 6429 | case 283: |
| 6430 | switch(ndx) { |
| 6431 | case 0: |
| 6432 | p = "int" ; |
| 6433 | break; |
| 6434 | case 1: |
| 6435 | p = "uid_t" ; |
| 6436 | break; |
| 6437 | case 2: |
| 6438 | p = "gid_t" ; |
| 6439 | break; |
| 6440 | case 3: |
| 6441 | p = "int" ; |
| 6442 | break; |
| 6443 | case 4: |
| 6444 | p = "user_addr_t" ; |
| 6445 | break; |
| 6446 | default: |
| 6447 | break; |
| 6448 | }; |
| 6449 | break; |
| 6450 | /* access_extended */ |
| 6451 | case 284: |
| 6452 | switch(ndx) { |
| 6453 | case 0: |
| 6454 | p = "user_addr_t" ; |
| 6455 | break; |
| 6456 | case 1: |
| 6457 | p = "size_t" ; |
| 6458 | break; |
| 6459 | case 2: |
| 6460 | p = "user_addr_t" ; |
| 6461 | break; |
| 6462 | case 3: |
| 6463 | p = "uid_t" ; |
| 6464 | break; |
| 6465 | default: |
| 6466 | break; |
| 6467 | }; |
| 6468 | break; |
| 6469 | /* settid */ |
| 6470 | case 285: |
| 6471 | switch(ndx) { |
| 6472 | case 0: |
| 6473 | p = "uid_t" ; |
| 6474 | break; |
| 6475 | case 1: |
| 6476 | p = "gid_t" ; |
| 6477 | break; |
| 6478 | default: |
| 6479 | break; |
| 6480 | }; |
| 6481 | break; |
| 6482 | /* gettid */ |
| 6483 | case 286: |
| 6484 | switch(ndx) { |
| 6485 | case 0: |
| 6486 | p = "userland uid_t *" ; |
| 6487 | break; |
| 6488 | case 1: |
| 6489 | p = "userland gid_t *" ; |
| 6490 | break; |
| 6491 | default: |
| 6492 | break; |
| 6493 | }; |
| 6494 | break; |
| 6495 | /* setsgroups */ |
| 6496 | case 287: |
| 6497 | switch(ndx) { |
| 6498 | case 0: |
| 6499 | p = "int" ; |
| 6500 | break; |
| 6501 | case 1: |
| 6502 | p = "user_addr_t" ; |
| 6503 | break; |
| 6504 | default: |
| 6505 | break; |
| 6506 | }; |
| 6507 | break; |
| 6508 | /* getsgroups */ |
| 6509 | case 288: |
| 6510 | switch(ndx) { |
| 6511 | case 0: |
| 6512 | p = "user_addr_t" ; |
| 6513 | break; |
| 6514 | case 1: |
| 6515 | p = "user_addr_t" ; |
| 6516 | break; |
| 6517 | default: |
| 6518 | break; |
| 6519 | }; |
| 6520 | break; |
| 6521 | /* setwgroups */ |
| 6522 | case 289: |
| 6523 | switch(ndx) { |
| 6524 | case 0: |
| 6525 | p = "int" ; |
| 6526 | break; |
| 6527 | case 1: |
| 6528 | p = "user_addr_t" ; |
| 6529 | break; |
| 6530 | default: |
| 6531 | break; |
| 6532 | }; |
| 6533 | break; |
| 6534 | /* getwgroups */ |
| 6535 | case 290: |
| 6536 | switch(ndx) { |
| 6537 | case 0: |
| 6538 | p = "user_addr_t" ; |
| 6539 | break; |
| 6540 | case 1: |
| 6541 | p = "user_addr_t" ; |
| 6542 | break; |
| 6543 | default: |
| 6544 | break; |
| 6545 | }; |
| 6546 | break; |
| 6547 | /* mkfifo_extended */ |
| 6548 | case 291: |
| 6549 | switch(ndx) { |
| 6550 | case 0: |
| 6551 | p = "user_addr_t" ; |
| 6552 | break; |
| 6553 | case 1: |
| 6554 | p = "uid_t" ; |
| 6555 | break; |
| 6556 | case 2: |
| 6557 | p = "gid_t" ; |
| 6558 | break; |
| 6559 | case 3: |
| 6560 | p = "int" ; |
| 6561 | break; |
| 6562 | case 4: |
| 6563 | p = "user_addr_t" ; |
| 6564 | break; |
| 6565 | default: |
| 6566 | break; |
| 6567 | }; |
| 6568 | break; |
| 6569 | /* mkdir_extended */ |
| 6570 | case 292: |
| 6571 | switch(ndx) { |
| 6572 | case 0: |
| 6573 | p = "user_addr_t" ; |
| 6574 | break; |
| 6575 | case 1: |
| 6576 | p = "uid_t" ; |
| 6577 | break; |
| 6578 | case 2: |
| 6579 | p = "gid_t" ; |
| 6580 | break; |
| 6581 | case 3: |
| 6582 | p = "int" ; |
| 6583 | break; |
| 6584 | case 4: |
| 6585 | p = "user_addr_t" ; |
| 6586 | break; |
| 6587 | default: |
| 6588 | break; |
| 6589 | }; |
| 6590 | break; |
| 6591 | #if CONFIG_EXT_RESOLVER |
| 6592 | /* identitysvc */ |
| 6593 | case 293: |
| 6594 | switch(ndx) { |
| 6595 | case 0: |
| 6596 | p = "int" ; |
| 6597 | break; |
| 6598 | case 1: |
| 6599 | p = "user_addr_t" ; |
| 6600 | break; |
| 6601 | default: |
| 6602 | break; |
| 6603 | }; |
| 6604 | break; |
| 6605 | #else |
| 6606 | #endif |
| 6607 | /* shared_region_check_np */ |
| 6608 | case 294: |
| 6609 | switch(ndx) { |
| 6610 | case 0: |
| 6611 | p = "userland uint64_t *" ; |
| 6612 | break; |
| 6613 | default: |
| 6614 | break; |
| 6615 | }; |
| 6616 | break; |
| 6617 | /* vm_pressure_monitor */ |
| 6618 | case 296: |
| 6619 | switch(ndx) { |
| 6620 | case 0: |
| 6621 | p = "int" ; |
| 6622 | break; |
| 6623 | case 1: |
| 6624 | p = "int" ; |
| 6625 | break; |
| 6626 | case 2: |
| 6627 | p = "userland uint32_t *" ; |
| 6628 | break; |
| 6629 | default: |
| 6630 | break; |
| 6631 | }; |
| 6632 | break; |
| 6633 | #if PSYNCH |
| 6634 | /* psynch_rw_longrdlock */ |
| 6635 | case 297: |
| 6636 | switch(ndx) { |
| 6637 | case 0: |
| 6638 | p = "user_addr_t" ; |
| 6639 | break; |
| 6640 | case 1: |
| 6641 | p = "uint32_t" ; |
| 6642 | break; |
| 6643 | case 2: |
| 6644 | p = "uint32_t" ; |
| 6645 | break; |
| 6646 | case 3: |
| 6647 | p = "uint32_t" ; |
| 6648 | break; |
| 6649 | case 4: |
| 6650 | p = "int" ; |
| 6651 | break; |
| 6652 | default: |
| 6653 | break; |
| 6654 | }; |
| 6655 | break; |
| 6656 | /* psynch_rw_yieldwrlock */ |
| 6657 | case 298: |
| 6658 | switch(ndx) { |
| 6659 | case 0: |
| 6660 | p = "user_addr_t" ; |
| 6661 | break; |
| 6662 | case 1: |
| 6663 | p = "uint32_t" ; |
| 6664 | break; |
| 6665 | case 2: |
| 6666 | p = "uint32_t" ; |
| 6667 | break; |
| 6668 | case 3: |
| 6669 | p = "uint32_t" ; |
| 6670 | break; |
| 6671 | case 4: |
| 6672 | p = "int" ; |
| 6673 | break; |
| 6674 | default: |
| 6675 | break; |
| 6676 | }; |
| 6677 | break; |
| 6678 | /* psynch_rw_downgrade */ |
| 6679 | case 299: |
| 6680 | switch(ndx) { |
| 6681 | case 0: |
| 6682 | p = "user_addr_t" ; |
| 6683 | break; |
| 6684 | case 1: |
| 6685 | p = "uint32_t" ; |
| 6686 | break; |
| 6687 | case 2: |
| 6688 | p = "uint32_t" ; |
| 6689 | break; |
| 6690 | case 3: |
| 6691 | p = "uint32_t" ; |
| 6692 | break; |
| 6693 | case 4: |
| 6694 | p = "int" ; |
| 6695 | break; |
| 6696 | default: |
| 6697 | break; |
| 6698 | }; |
| 6699 | break; |
| 6700 | /* psynch_rw_upgrade */ |
| 6701 | case 300: |
| 6702 | switch(ndx) { |
| 6703 | case 0: |
| 6704 | p = "user_addr_t" ; |
| 6705 | break; |
| 6706 | case 1: |
| 6707 | p = "uint32_t" ; |
| 6708 | break; |
| 6709 | case 2: |
| 6710 | p = "uint32_t" ; |
| 6711 | break; |
| 6712 | case 3: |
| 6713 | p = "uint32_t" ; |
| 6714 | break; |
| 6715 | case 4: |
| 6716 | p = "int" ; |
| 6717 | break; |
| 6718 | default: |
| 6719 | break; |
| 6720 | }; |
| 6721 | break; |
| 6722 | /* psynch_mutexwait */ |
| 6723 | case 301: |
| 6724 | switch(ndx) { |
| 6725 | case 0: |
| 6726 | p = "user_addr_t" ; |
| 6727 | break; |
| 6728 | case 1: |
| 6729 | p = "uint32_t" ; |
| 6730 | break; |
| 6731 | case 2: |
| 6732 | p = "uint32_t" ; |
| 6733 | break; |
| 6734 | case 3: |
| 6735 | p = "uint64_t" ; |
| 6736 | break; |
| 6737 | case 4: |
| 6738 | p = "uint32_t" ; |
| 6739 | break; |
| 6740 | default: |
| 6741 | break; |
| 6742 | }; |
| 6743 | break; |
| 6744 | /* psynch_mutexdrop */ |
| 6745 | case 302: |
| 6746 | switch(ndx) { |
| 6747 | case 0: |
| 6748 | p = "user_addr_t" ; |
| 6749 | break; |
| 6750 | case 1: |
| 6751 | p = "uint32_t" ; |
| 6752 | break; |
| 6753 | case 2: |
| 6754 | p = "uint32_t" ; |
| 6755 | break; |
| 6756 | case 3: |
| 6757 | p = "uint64_t" ; |
| 6758 | break; |
| 6759 | case 4: |
| 6760 | p = "uint32_t" ; |
| 6761 | break; |
| 6762 | default: |
| 6763 | break; |
| 6764 | }; |
| 6765 | break; |
| 6766 | /* psynch_cvbroad */ |
| 6767 | case 303: |
| 6768 | switch(ndx) { |
| 6769 | case 0: |
| 6770 | p = "user_addr_t" ; |
| 6771 | break; |
| 6772 | case 1: |
| 6773 | p = "uint64_t" ; |
| 6774 | break; |
| 6775 | case 2: |
| 6776 | p = "uint64_t" ; |
| 6777 | break; |
| 6778 | case 3: |
| 6779 | p = "uint32_t" ; |
| 6780 | break; |
| 6781 | case 4: |
| 6782 | p = "user_addr_t" ; |
| 6783 | break; |
| 6784 | case 5: |
| 6785 | p = "uint64_t" ; |
| 6786 | break; |
| 6787 | case 6: |
| 6788 | p = "uint64_t" ; |
| 6789 | break; |
| 6790 | default: |
| 6791 | break; |
| 6792 | }; |
| 6793 | break; |
| 6794 | /* psynch_cvsignal */ |
| 6795 | case 304: |
| 6796 | switch(ndx) { |
| 6797 | case 0: |
| 6798 | p = "user_addr_t" ; |
| 6799 | break; |
| 6800 | case 1: |
| 6801 | p = "uint64_t" ; |
| 6802 | break; |
| 6803 | case 2: |
| 6804 | p = "uint32_t" ; |
| 6805 | break; |
| 6806 | case 3: |
| 6807 | p = "int" ; |
| 6808 | break; |
| 6809 | case 4: |
| 6810 | p = "user_addr_t" ; |
| 6811 | break; |
| 6812 | case 5: |
| 6813 | p = "uint64_t" ; |
| 6814 | break; |
| 6815 | case 6: |
| 6816 | p = "uint64_t" ; |
| 6817 | break; |
| 6818 | case 7: |
| 6819 | p = "uint32_t" ; |
| 6820 | break; |
| 6821 | default: |
| 6822 | break; |
| 6823 | }; |
| 6824 | break; |
| 6825 | /* psynch_cvwait */ |
| 6826 | case 305: |
| 6827 | switch(ndx) { |
| 6828 | case 0: |
| 6829 | p = "user_addr_t" ; |
| 6830 | break; |
| 6831 | case 1: |
| 6832 | p = "uint64_t" ; |
| 6833 | break; |
| 6834 | case 2: |
| 6835 | p = "uint32_t" ; |
| 6836 | break; |
| 6837 | case 3: |
| 6838 | p = "user_addr_t" ; |
| 6839 | break; |
| 6840 | case 4: |
| 6841 | p = "uint64_t" ; |
| 6842 | break; |
| 6843 | case 5: |
| 6844 | p = "uint32_t" ; |
| 6845 | break; |
| 6846 | case 6: |
| 6847 | p = "int64_t" ; |
| 6848 | break; |
| 6849 | case 7: |
| 6850 | p = "uint32_t" ; |
| 6851 | break; |
| 6852 | default: |
| 6853 | break; |
| 6854 | }; |
| 6855 | break; |
| 6856 | /* psynch_rw_rdlock */ |
| 6857 | case 306: |
| 6858 | switch(ndx) { |
| 6859 | case 0: |
| 6860 | p = "user_addr_t" ; |
| 6861 | break; |
| 6862 | case 1: |
| 6863 | p = "uint32_t" ; |
| 6864 | break; |
| 6865 | case 2: |
| 6866 | p = "uint32_t" ; |
| 6867 | break; |
| 6868 | case 3: |
| 6869 | p = "uint32_t" ; |
| 6870 | break; |
| 6871 | case 4: |
| 6872 | p = "int" ; |
| 6873 | break; |
| 6874 | default: |
| 6875 | break; |
| 6876 | }; |
| 6877 | break; |
| 6878 | /* psynch_rw_wrlock */ |
| 6879 | case 307: |
| 6880 | switch(ndx) { |
| 6881 | case 0: |
| 6882 | p = "user_addr_t" ; |
| 6883 | break; |
| 6884 | case 1: |
| 6885 | p = "uint32_t" ; |
| 6886 | break; |
| 6887 | case 2: |
| 6888 | p = "uint32_t" ; |
| 6889 | break; |
| 6890 | case 3: |
| 6891 | p = "uint32_t" ; |
| 6892 | break; |
| 6893 | case 4: |
| 6894 | p = "int" ; |
| 6895 | break; |
| 6896 | default: |
| 6897 | break; |
| 6898 | }; |
| 6899 | break; |
| 6900 | /* psynch_rw_unlock */ |
| 6901 | case 308: |
| 6902 | switch(ndx) { |
| 6903 | case 0: |
| 6904 | p = "user_addr_t" ; |
| 6905 | break; |
| 6906 | case 1: |
| 6907 | p = "uint32_t" ; |
| 6908 | break; |
| 6909 | case 2: |
| 6910 | p = "uint32_t" ; |
| 6911 | break; |
| 6912 | case 3: |
| 6913 | p = "uint32_t" ; |
| 6914 | break; |
| 6915 | case 4: |
| 6916 | p = "int" ; |
| 6917 | break; |
| 6918 | default: |
| 6919 | break; |
| 6920 | }; |
| 6921 | break; |
| 6922 | /* psynch_rw_unlock2 */ |
| 6923 | case 309: |
| 6924 | switch(ndx) { |
| 6925 | case 0: |
| 6926 | p = "user_addr_t" ; |
| 6927 | break; |
| 6928 | case 1: |
| 6929 | p = "uint32_t" ; |
| 6930 | break; |
| 6931 | case 2: |
| 6932 | p = "uint32_t" ; |
| 6933 | break; |
| 6934 | case 3: |
| 6935 | p = "uint32_t" ; |
| 6936 | break; |
| 6937 | case 4: |
| 6938 | p = "int" ; |
| 6939 | break; |
| 6940 | default: |
| 6941 | break; |
| 6942 | }; |
| 6943 | break; |
| 6944 | #else |
| 6945 | #endif |
| 6946 | /* getsid */ |
| 6947 | case 310: |
| 6948 | switch(ndx) { |
| 6949 | case 0: |
| 6950 | p = "pid_t" ; |
| 6951 | break; |
| 6952 | default: |
| 6953 | break; |
| 6954 | }; |
| 6955 | break; |
| 6956 | /* settid_with_pid */ |
| 6957 | case 311: |
| 6958 | switch(ndx) { |
| 6959 | case 0: |
| 6960 | p = "pid_t" ; |
| 6961 | break; |
| 6962 | case 1: |
| 6963 | p = "int" ; |
| 6964 | break; |
| 6965 | default: |
| 6966 | break; |
| 6967 | }; |
| 6968 | break; |
| 6969 | #if PSYNCH |
| 6970 | /* psynch_cvclrprepost */ |
| 6971 | case 312: |
| 6972 | switch(ndx) { |
| 6973 | case 0: |
| 6974 | p = "user_addr_t" ; |
| 6975 | break; |
| 6976 | case 1: |
| 6977 | p = "uint32_t" ; |
| 6978 | break; |
| 6979 | case 2: |
| 6980 | p = "uint32_t" ; |
| 6981 | break; |
| 6982 | case 3: |
| 6983 | p = "uint32_t" ; |
| 6984 | break; |
| 6985 | case 4: |
| 6986 | p = "uint32_t" ; |
| 6987 | break; |
| 6988 | case 5: |
| 6989 | p = "uint32_t" ; |
| 6990 | break; |
| 6991 | case 6: |
| 6992 | p = "uint32_t" ; |
| 6993 | break; |
| 6994 | default: |
| 6995 | break; |
| 6996 | }; |
| 6997 | break; |
| 6998 | #else |
| 6999 | #endif |
| 7000 | /* aio_fsync */ |
| 7001 | case 313: |
| 7002 | switch(ndx) { |
| 7003 | case 0: |
| 7004 | p = "int" ; |
| 7005 | break; |
| 7006 | case 1: |
| 7007 | p = "user_addr_t" ; |
| 7008 | break; |
| 7009 | default: |
| 7010 | break; |
| 7011 | }; |
| 7012 | break; |
| 7013 | /* aio_return */ |
| 7014 | case 314: |
| 7015 | switch(ndx) { |
| 7016 | case 0: |
| 7017 | p = "user_addr_t" ; |
| 7018 | break; |
| 7019 | default: |
| 7020 | break; |
| 7021 | }; |
| 7022 | break; |
| 7023 | /* aio_suspend */ |
| 7024 | case 315: |
| 7025 | switch(ndx) { |
| 7026 | case 0: |
| 7027 | p = "user_addr_t" ; |
| 7028 | break; |
| 7029 | case 1: |
| 7030 | p = "int" ; |
| 7031 | break; |
| 7032 | case 2: |
| 7033 | p = "user_addr_t" ; |
| 7034 | break; |
| 7035 | default: |
| 7036 | break; |
| 7037 | }; |
| 7038 | break; |
| 7039 | /* aio_cancel */ |
| 7040 | case 316: |
| 7041 | switch(ndx) { |
| 7042 | case 0: |
| 7043 | p = "int" ; |
| 7044 | break; |
| 7045 | case 1: |
| 7046 | p = "user_addr_t" ; |
| 7047 | break; |
| 7048 | default: |
| 7049 | break; |
| 7050 | }; |
| 7051 | break; |
| 7052 | /* aio_error */ |
| 7053 | case 317: |
| 7054 | switch(ndx) { |
| 7055 | case 0: |
| 7056 | p = "user_addr_t" ; |
| 7057 | break; |
| 7058 | default: |
| 7059 | break; |
| 7060 | }; |
| 7061 | break; |
| 7062 | /* aio_read */ |
| 7063 | case 318: |
| 7064 | switch(ndx) { |
| 7065 | case 0: |
| 7066 | p = "user_addr_t" ; |
| 7067 | break; |
| 7068 | default: |
| 7069 | break; |
| 7070 | }; |
| 7071 | break; |
| 7072 | /* aio_write */ |
| 7073 | case 319: |
| 7074 | switch(ndx) { |
| 7075 | case 0: |
| 7076 | p = "user_addr_t" ; |
| 7077 | break; |
| 7078 | default: |
| 7079 | break; |
| 7080 | }; |
| 7081 | break; |
| 7082 | /* lio_listio */ |
| 7083 | case 320: |
| 7084 | switch(ndx) { |
| 7085 | case 0: |
| 7086 | p = "int" ; |
| 7087 | break; |
| 7088 | case 1: |
| 7089 | p = "user_addr_t" ; |
| 7090 | break; |
| 7091 | case 2: |
| 7092 | p = "int" ; |
| 7093 | break; |
| 7094 | case 3: |
| 7095 | p = "user_addr_t" ; |
| 7096 | break; |
| 7097 | default: |
| 7098 | break; |
| 7099 | }; |
| 7100 | break; |
| 7101 | /* iopolicysys */ |
| 7102 | case 322: |
| 7103 | switch(ndx) { |
| 7104 | case 0: |
| 7105 | p = "int" ; |
| 7106 | break; |
| 7107 | case 1: |
| 7108 | p = "userland void *" ; |
| 7109 | break; |
| 7110 | default: |
| 7111 | break; |
| 7112 | }; |
| 7113 | break; |
| 7114 | /* process_policy */ |
| 7115 | case 323: |
| 7116 | switch(ndx) { |
| 7117 | case 0: |
| 7118 | p = "int" ; |
| 7119 | break; |
| 7120 | case 1: |
| 7121 | p = "int" ; |
| 7122 | break; |
| 7123 | case 2: |
| 7124 | p = "int" ; |
| 7125 | break; |
| 7126 | case 3: |
| 7127 | p = "int" ; |
| 7128 | break; |
| 7129 | case 4: |
| 7130 | p = "user_addr_t" ; |
| 7131 | break; |
| 7132 | case 5: |
| 7133 | p = "pid_t" ; |
| 7134 | break; |
| 7135 | case 6: |
| 7136 | p = "uint64_t" ; |
| 7137 | break; |
| 7138 | default: |
| 7139 | break; |
| 7140 | }; |
| 7141 | break; |
| 7142 | /* mlockall */ |
| 7143 | case 324: |
| 7144 | switch(ndx) { |
| 7145 | case 0: |
| 7146 | p = "int" ; |
| 7147 | break; |
| 7148 | default: |
| 7149 | break; |
| 7150 | }; |
| 7151 | break; |
| 7152 | /* munlockall */ |
| 7153 | case 325: |
| 7154 | switch(ndx) { |
| 7155 | case 0: |
| 7156 | p = "int" ; |
| 7157 | break; |
| 7158 | default: |
| 7159 | break; |
| 7160 | }; |
| 7161 | break; |
| 7162 | /* issetugid */ |
| 7163 | case 327: |
| 7164 | break; |
| 7165 | /* __pthread_kill */ |
| 7166 | case 328: |
| 7167 | switch(ndx) { |
| 7168 | case 0: |
| 7169 | p = "int" ; |
| 7170 | break; |
| 7171 | case 1: |
| 7172 | p = "int" ; |
| 7173 | break; |
| 7174 | default: |
| 7175 | break; |
| 7176 | }; |
| 7177 | break; |
| 7178 | /* __pthread_sigmask */ |
| 7179 | case 329: |
| 7180 | switch(ndx) { |
| 7181 | case 0: |
| 7182 | p = "int" ; |
| 7183 | break; |
| 7184 | case 1: |
| 7185 | p = "user_addr_t" ; |
| 7186 | break; |
| 7187 | case 2: |
| 7188 | p = "user_addr_t" ; |
| 7189 | break; |
| 7190 | default: |
| 7191 | break; |
| 7192 | }; |
| 7193 | break; |
| 7194 | /* __sigwait */ |
| 7195 | case 330: |
| 7196 | switch(ndx) { |
| 7197 | case 0: |
| 7198 | p = "user_addr_t" ; |
| 7199 | break; |
| 7200 | case 1: |
| 7201 | p = "user_addr_t" ; |
| 7202 | break; |
| 7203 | default: |
| 7204 | break; |
| 7205 | }; |
| 7206 | break; |
| 7207 | /* __disable_threadsignal */ |
| 7208 | case 331: |
| 7209 | switch(ndx) { |
| 7210 | case 0: |
| 7211 | p = "int" ; |
| 7212 | break; |
| 7213 | default: |
| 7214 | break; |
| 7215 | }; |
| 7216 | break; |
| 7217 | /* __pthread_markcancel */ |
| 7218 | case 332: |
| 7219 | switch(ndx) { |
| 7220 | case 0: |
| 7221 | p = "int" ; |
| 7222 | break; |
| 7223 | default: |
| 7224 | break; |
| 7225 | }; |
| 7226 | break; |
| 7227 | /* __pthread_canceled */ |
| 7228 | case 333: |
| 7229 | switch(ndx) { |
| 7230 | case 0: |
| 7231 | p = "int" ; |
| 7232 | break; |
| 7233 | default: |
| 7234 | break; |
| 7235 | }; |
| 7236 | break; |
| 7237 | /* __semwait_signal */ |
| 7238 | case 334: |
| 7239 | switch(ndx) { |
| 7240 | case 0: |
| 7241 | p = "int" ; |
| 7242 | break; |
| 7243 | case 1: |
| 7244 | p = "int" ; |
| 7245 | break; |
| 7246 | case 2: |
| 7247 | p = "int" ; |
| 7248 | break; |
| 7249 | case 3: |
| 7250 | p = "int" ; |
| 7251 | break; |
| 7252 | case 4: |
| 7253 | p = "int64_t" ; |
| 7254 | break; |
| 7255 | case 5: |
| 7256 | p = "int32_t" ; |
| 7257 | break; |
| 7258 | default: |
| 7259 | break; |
| 7260 | }; |
| 7261 | break; |
| 7262 | /* proc_info */ |
| 7263 | case 336: |
| 7264 | switch(ndx) { |
| 7265 | case 0: |
| 7266 | p = "int32_t" ; |
| 7267 | break; |
| 7268 | case 1: |
| 7269 | p = "int32_t" ; |
| 7270 | break; |
| 7271 | case 2: |
| 7272 | p = "uint32_t" ; |
| 7273 | break; |
| 7274 | case 3: |
| 7275 | p = "uint64_t" ; |
| 7276 | break; |
| 7277 | case 4: |
| 7278 | p = "user_addr_t" ; |
| 7279 | break; |
| 7280 | case 5: |
| 7281 | p = "int32_t" ; |
| 7282 | break; |
| 7283 | default: |
| 7284 | break; |
| 7285 | }; |
| 7286 | break; |
| 7287 | #if SENDFILE |
| 7288 | /* sendfile */ |
| 7289 | case 337: |
| 7290 | switch(ndx) { |
| 7291 | case 0: |
| 7292 | p = "int" ; |
| 7293 | break; |
| 7294 | case 1: |
| 7295 | p = "int" ; |
| 7296 | break; |
| 7297 | case 2: |
| 7298 | p = "off_t" ; |
| 7299 | break; |
| 7300 | case 3: |
| 7301 | p = "userland off_t *" ; |
| 7302 | break; |
| 7303 | case 4: |
| 7304 | p = "userland struct sf_hdtr *" ; |
| 7305 | break; |
| 7306 | case 5: |
| 7307 | p = "int" ; |
| 7308 | break; |
| 7309 | default: |
| 7310 | break; |
| 7311 | }; |
| 7312 | break; |
| 7313 | #else /* !SENDFILE */ |
| 7314 | #endif /* SENDFILE */ |
| 7315 | /* stat64 */ |
| 7316 | case 338: |
| 7317 | switch(ndx) { |
| 7318 | case 0: |
| 7319 | p = "user_addr_t" ; |
| 7320 | break; |
| 7321 | case 1: |
| 7322 | p = "user_addr_t" ; |
| 7323 | break; |
| 7324 | default: |
| 7325 | break; |
| 7326 | }; |
| 7327 | break; |
| 7328 | /* fstat64 */ |
| 7329 | case 339: |
| 7330 | switch(ndx) { |
| 7331 | case 0: |
| 7332 | p = "int" ; |
| 7333 | break; |
| 7334 | case 1: |
| 7335 | p = "user_addr_t" ; |
| 7336 | break; |
| 7337 | default: |
| 7338 | break; |
| 7339 | }; |
| 7340 | break; |
| 7341 | /* lstat64 */ |
| 7342 | case 340: |
| 7343 | switch(ndx) { |
| 7344 | case 0: |
| 7345 | p = "user_addr_t" ; |
| 7346 | break; |
| 7347 | case 1: |
| 7348 | p = "user_addr_t" ; |
| 7349 | break; |
| 7350 | default: |
| 7351 | break; |
| 7352 | }; |
| 7353 | break; |
| 7354 | /* stat64_extended */ |
| 7355 | case 341: |
| 7356 | switch(ndx) { |
| 7357 | case 0: |
| 7358 | p = "user_addr_t" ; |
| 7359 | break; |
| 7360 | case 1: |
| 7361 | p = "user_addr_t" ; |
| 7362 | break; |
| 7363 | case 2: |
| 7364 | p = "user_addr_t" ; |
| 7365 | break; |
| 7366 | case 3: |
| 7367 | p = "user_addr_t" ; |
| 7368 | break; |
| 7369 | default: |
| 7370 | break; |
| 7371 | }; |
| 7372 | break; |
| 7373 | /* lstat64_extended */ |
| 7374 | case 342: |
| 7375 | switch(ndx) { |
| 7376 | case 0: |
| 7377 | p = "user_addr_t" ; |
| 7378 | break; |
| 7379 | case 1: |
| 7380 | p = "user_addr_t" ; |
| 7381 | break; |
| 7382 | case 2: |
| 7383 | p = "user_addr_t" ; |
| 7384 | break; |
| 7385 | case 3: |
| 7386 | p = "user_addr_t" ; |
| 7387 | break; |
| 7388 | default: |
| 7389 | break; |
| 7390 | }; |
| 7391 | break; |
| 7392 | /* fstat64_extended */ |
| 7393 | case 343: |
| 7394 | switch(ndx) { |
| 7395 | case 0: |
| 7396 | p = "int" ; |
| 7397 | break; |
| 7398 | case 1: |
| 7399 | p = "user_addr_t" ; |
| 7400 | break; |
| 7401 | case 2: |
| 7402 | p = "user_addr_t" ; |
| 7403 | break; |
| 7404 | case 3: |
| 7405 | p = "user_addr_t" ; |
| 7406 | break; |
| 7407 | default: |
| 7408 | break; |
| 7409 | }; |
| 7410 | break; |
| 7411 | /* getdirentries64 */ |
| 7412 | case 344: |
| 7413 | switch(ndx) { |
| 7414 | case 0: |
| 7415 | p = "int" ; |
| 7416 | break; |
| 7417 | case 1: |
| 7418 | p = "userland void *" ; |
| 7419 | break; |
| 7420 | case 2: |
| 7421 | p = "user_size_t" ; |
| 7422 | break; |
| 7423 | case 3: |
| 7424 | p = "userland off_t *" ; |
| 7425 | break; |
| 7426 | default: |
| 7427 | break; |
| 7428 | }; |
| 7429 | break; |
| 7430 | /* statfs64 */ |
| 7431 | case 345: |
| 7432 | switch(ndx) { |
| 7433 | case 0: |
| 7434 | p = "userland char *" ; |
| 7435 | break; |
| 7436 | case 1: |
| 7437 | p = "userland struct statfs64 *" ; |
| 7438 | break; |
| 7439 | default: |
| 7440 | break; |
| 7441 | }; |
| 7442 | break; |
| 7443 | /* fstatfs64 */ |
| 7444 | case 346: |
| 7445 | switch(ndx) { |
| 7446 | case 0: |
| 7447 | p = "int" ; |
| 7448 | break; |
| 7449 | case 1: |
| 7450 | p = "userland struct statfs64 *" ; |
| 7451 | break; |
| 7452 | default: |
| 7453 | break; |
| 7454 | }; |
| 7455 | break; |
| 7456 | /* getfsstat64 */ |
| 7457 | case 347: |
| 7458 | switch(ndx) { |
| 7459 | case 0: |
| 7460 | p = "user_addr_t" ; |
| 7461 | break; |
| 7462 | case 1: |
| 7463 | p = "int" ; |
| 7464 | break; |
| 7465 | case 2: |
| 7466 | p = "int" ; |
| 7467 | break; |
| 7468 | default: |
| 7469 | break; |
| 7470 | }; |
| 7471 | break; |
| 7472 | /* __pthread_chdir */ |
| 7473 | case 348: |
| 7474 | switch(ndx) { |
| 7475 | case 0: |
| 7476 | p = "user_addr_t" ; |
| 7477 | break; |
| 7478 | default: |
| 7479 | break; |
| 7480 | }; |
| 7481 | break; |
| 7482 | /* __pthread_fchdir */ |
| 7483 | case 349: |
| 7484 | switch(ndx) { |
| 7485 | case 0: |
| 7486 | p = "int" ; |
| 7487 | break; |
| 7488 | default: |
| 7489 | break; |
| 7490 | }; |
| 7491 | break; |
| 7492 | /* audit */ |
| 7493 | case 350: |
| 7494 | switch(ndx) { |
| 7495 | case 0: |
| 7496 | p = "userland void *" ; |
| 7497 | break; |
| 7498 | case 1: |
| 7499 | p = "int" ; |
| 7500 | break; |
| 7501 | default: |
| 7502 | break; |
| 7503 | }; |
| 7504 | break; |
| 7505 | /* auditon */ |
| 7506 | case 351: |
| 7507 | switch(ndx) { |
| 7508 | case 0: |
| 7509 | p = "int" ; |
| 7510 | break; |
| 7511 | case 1: |
| 7512 | p = "userland void *" ; |
| 7513 | break; |
| 7514 | case 2: |
| 7515 | p = "int" ; |
| 7516 | break; |
| 7517 | default: |
| 7518 | break; |
| 7519 | }; |
| 7520 | break; |
| 7521 | /* getauid */ |
| 7522 | case 353: |
| 7523 | switch(ndx) { |
| 7524 | case 0: |
| 7525 | p = "userland au_id_t *" ; |
| 7526 | break; |
| 7527 | default: |
| 7528 | break; |
| 7529 | }; |
| 7530 | break; |
| 7531 | /* setauid */ |
| 7532 | case 354: |
| 7533 | switch(ndx) { |
| 7534 | case 0: |
| 7535 | p = "userland au_id_t *" ; |
| 7536 | break; |
| 7537 | default: |
| 7538 | break; |
| 7539 | }; |
| 7540 | break; |
| 7541 | /* getaudit_addr */ |
| 7542 | case 357: |
| 7543 | switch(ndx) { |
| 7544 | case 0: |
| 7545 | p = "userland struct auditinfo_addr *" ; |
| 7546 | break; |
| 7547 | case 1: |
| 7548 | p = "int" ; |
| 7549 | break; |
| 7550 | default: |
| 7551 | break; |
| 7552 | }; |
| 7553 | break; |
| 7554 | /* setaudit_addr */ |
| 7555 | case 358: |
| 7556 | switch(ndx) { |
| 7557 | case 0: |
| 7558 | p = "userland struct auditinfo_addr *" ; |
| 7559 | break; |
| 7560 | case 1: |
| 7561 | p = "int" ; |
| 7562 | break; |
| 7563 | default: |
| 7564 | break; |
| 7565 | }; |
| 7566 | break; |
| 7567 | /* auditctl */ |
| 7568 | case 359: |
| 7569 | switch(ndx) { |
| 7570 | case 0: |
| 7571 | p = "userland char *" ; |
| 7572 | break; |
| 7573 | default: |
| 7574 | break; |
| 7575 | }; |
| 7576 | break; |
| 7577 | #if CONFIG_WORKQUEUE |
| 7578 | /* bsdthread_create */ |
| 7579 | case 360: |
| 7580 | switch(ndx) { |
| 7581 | case 0: |
| 7582 | p = "user_addr_t" ; |
| 7583 | break; |
| 7584 | case 1: |
| 7585 | p = "user_addr_t" ; |
| 7586 | break; |
| 7587 | case 2: |
| 7588 | p = "user_addr_t" ; |
| 7589 | break; |
| 7590 | case 3: |
| 7591 | p = "user_addr_t" ; |
| 7592 | break; |
| 7593 | case 4: |
| 7594 | p = "uint32_t" ; |
| 7595 | break; |
| 7596 | default: |
| 7597 | break; |
| 7598 | }; |
| 7599 | break; |
| 7600 | /* bsdthread_terminate */ |
| 7601 | case 361: |
| 7602 | switch(ndx) { |
| 7603 | case 0: |
| 7604 | p = "user_addr_t" ; |
| 7605 | break; |
| 7606 | case 1: |
| 7607 | p = "size_t" ; |
| 7608 | break; |
| 7609 | case 2: |
| 7610 | p = "uint32_t" ; |
| 7611 | break; |
| 7612 | case 3: |
| 7613 | p = "uint32_t" ; |
| 7614 | break; |
| 7615 | default: |
| 7616 | break; |
| 7617 | }; |
| 7618 | break; |
| 7619 | #else |
| 7620 | #endif /* CONFIG_WORKQUEUE */ |
| 7621 | /* kqueue */ |
| 7622 | case 362: |
| 7623 | break; |
| 7624 | /* kevent */ |
| 7625 | case 363: |
| 7626 | switch(ndx) { |
| 7627 | case 0: |
| 7628 | p = "int" ; |
| 7629 | break; |
| 7630 | case 1: |
| 7631 | p = "userland const struct kevent *" ; |
| 7632 | break; |
| 7633 | case 2: |
| 7634 | p = "int" ; |
| 7635 | break; |
| 7636 | case 3: |
| 7637 | p = "userland struct kevent *" ; |
| 7638 | break; |
| 7639 | case 4: |
| 7640 | p = "int" ; |
| 7641 | break; |
| 7642 | case 5: |
| 7643 | p = "userland const struct timespec *" ; |
| 7644 | break; |
| 7645 | default: |
| 7646 | break; |
| 7647 | }; |
| 7648 | break; |
| 7649 | /* lchown */ |
| 7650 | case 364: |
| 7651 | switch(ndx) { |
| 7652 | case 0: |
| 7653 | p = "user_addr_t" ; |
| 7654 | break; |
| 7655 | case 1: |
| 7656 | p = "uid_t" ; |
| 7657 | break; |
| 7658 | case 2: |
| 7659 | p = "gid_t" ; |
| 7660 | break; |
| 7661 | default: |
| 7662 | break; |
| 7663 | }; |
| 7664 | break; |
| 7665 | #if CONFIG_WORKQUEUE |
| 7666 | /* bsdthread_register */ |
| 7667 | case 366: |
| 7668 | switch(ndx) { |
| 7669 | case 0: |
| 7670 | p = "user_addr_t" ; |
| 7671 | break; |
| 7672 | case 1: |
| 7673 | p = "user_addr_t" ; |
| 7674 | break; |
| 7675 | case 2: |
| 7676 | p = "uint32_t" ; |
| 7677 | break; |
| 7678 | case 3: |
| 7679 | p = "user_addr_t" ; |
| 7680 | break; |
| 7681 | case 4: |
| 7682 | p = "user_addr_t" ; |
| 7683 | break; |
| 7684 | case 5: |
| 7685 | p = "uint32_t" ; |
| 7686 | break; |
| 7687 | case 6: |
| 7688 | p = "uint32_t" ; |
| 7689 | break; |
| 7690 | default: |
| 7691 | break; |
| 7692 | }; |
| 7693 | break; |
| 7694 | /* workq_open */ |
| 7695 | case 367: |
| 7696 | break; |
| 7697 | /* workq_kernreturn */ |
| 7698 | case 368: |
| 7699 | switch(ndx) { |
| 7700 | case 0: |
| 7701 | p = "int" ; |
| 7702 | break; |
| 7703 | case 1: |
| 7704 | p = "user_addr_t" ; |
| 7705 | break; |
| 7706 | case 2: |
| 7707 | p = "int" ; |
| 7708 | break; |
| 7709 | case 3: |
| 7710 | p = "int" ; |
| 7711 | break; |
| 7712 | default: |
| 7713 | break; |
| 7714 | }; |
| 7715 | break; |
| 7716 | #else |
| 7717 | #endif /* CONFIG_WORKQUEUE */ |
| 7718 | /* kevent64 */ |
| 7719 | case 369: |
| 7720 | switch(ndx) { |
| 7721 | case 0: |
| 7722 | p = "int" ; |
| 7723 | break; |
| 7724 | case 1: |
| 7725 | p = "userland const struct kevent64_s *" ; |
| 7726 | break; |
| 7727 | case 2: |
| 7728 | p = "int" ; |
| 7729 | break; |
| 7730 | case 3: |
| 7731 | p = "userland struct kevent64_s *" ; |
| 7732 | break; |
| 7733 | case 4: |
| 7734 | p = "int" ; |
| 7735 | break; |
| 7736 | case 5: |
| 7737 | p = "unsigned int" ; |
| 7738 | break; |
| 7739 | case 6: |
| 7740 | p = "userland const struct timespec *" ; |
| 7741 | break; |
| 7742 | default: |
| 7743 | break; |
| 7744 | }; |
| 7745 | break; |
| 7746 | #if OLD_SEMWAIT_SIGNAL |
| 7747 | /* __old_semwait_signal */ |
| 7748 | case 370: |
| 7749 | switch(ndx) { |
| 7750 | case 0: |
| 7751 | p = "int" ; |
| 7752 | break; |
| 7753 | case 1: |
| 7754 | p = "int" ; |
| 7755 | break; |
| 7756 | case 2: |
| 7757 | p = "int" ; |
| 7758 | break; |
| 7759 | case 3: |
| 7760 | p = "int" ; |
| 7761 | break; |
| 7762 | case 4: |
| 7763 | p = "userland const struct timespec *" ; |
| 7764 | break; |
| 7765 | default: |
| 7766 | break; |
| 7767 | }; |
| 7768 | break; |
| 7769 | /* __old_semwait_signal_nocancel */ |
| 7770 | case 371: |
| 7771 | switch(ndx) { |
| 7772 | case 0: |
| 7773 | p = "int" ; |
| 7774 | break; |
| 7775 | case 1: |
| 7776 | p = "int" ; |
| 7777 | break; |
| 7778 | case 2: |
| 7779 | p = "int" ; |
| 7780 | break; |
| 7781 | case 3: |
| 7782 | p = "int" ; |
| 7783 | break; |
| 7784 | case 4: |
| 7785 | p = "userland const struct timespec *" ; |
| 7786 | break; |
| 7787 | default: |
| 7788 | break; |
| 7789 | }; |
| 7790 | break; |
| 7791 | #else |
| 7792 | #endif |
| 7793 | /* thread_selfid */ |
| 7794 | case 372: |
| 7795 | break; |
| 7796 | /* ledger */ |
| 7797 | case 373: |
| 7798 | switch(ndx) { |
| 7799 | case 0: |
| 7800 | p = "int" ; |
| 7801 | break; |
| 7802 | case 1: |
| 7803 | p = "caddr_t" ; |
| 7804 | break; |
| 7805 | case 2: |
| 7806 | p = "caddr_t" ; |
| 7807 | break; |
| 7808 | case 3: |
| 7809 | p = "caddr_t" ; |
| 7810 | break; |
| 7811 | default: |
| 7812 | break; |
| 7813 | }; |
| 7814 | break; |
| 7815 | /* kevent_qos */ |
| 7816 | case 374: |
| 7817 | switch(ndx) { |
| 7818 | case 0: |
| 7819 | p = "int" ; |
| 7820 | break; |
| 7821 | case 1: |
| 7822 | p = "userland const struct kevent_qos_s *" ; |
| 7823 | break; |
| 7824 | case 2: |
| 7825 | p = "int" ; |
| 7826 | break; |
| 7827 | case 3: |
| 7828 | p = "userland struct kevent_qos_s *" ; |
| 7829 | break; |
| 7830 | case 4: |
| 7831 | p = "int" ; |
| 7832 | break; |
| 7833 | case 5: |
| 7834 | p = "userland void *" ; |
| 7835 | break; |
| 7836 | case 6: |
| 7837 | p = "userland size_t *" ; |
| 7838 | break; |
| 7839 | case 7: |
| 7840 | p = "unsigned int" ; |
| 7841 | break; |
| 7842 | default: |
| 7843 | break; |
| 7844 | }; |
| 7845 | break; |
| 7846 | /* kevent_id */ |
| 7847 | case 375: |
| 7848 | switch(ndx) { |
| 7849 | case 0: |
| 7850 | p = "uint64_t" ; |
| 7851 | break; |
| 7852 | case 1: |
| 7853 | p = "userland const struct kevent_qos_s *" ; |
| 7854 | break; |
| 7855 | case 2: |
| 7856 | p = "int" ; |
| 7857 | break; |
| 7858 | case 3: |
| 7859 | p = "userland struct kevent_qos_s *" ; |
| 7860 | break; |
| 7861 | case 4: |
| 7862 | p = "int" ; |
| 7863 | break; |
| 7864 | case 5: |
| 7865 | p = "userland void *" ; |
| 7866 | break; |
| 7867 | case 6: |
| 7868 | p = "userland size_t *" ; |
| 7869 | break; |
| 7870 | case 7: |
| 7871 | p = "unsigned int" ; |
| 7872 | break; |
| 7873 | default: |
| 7874 | break; |
| 7875 | }; |
| 7876 | break; |
| 7877 | /* __mac_execve */ |
| 7878 | case 380: |
| 7879 | switch(ndx) { |
| 7880 | case 0: |
| 7881 | p = "userland char *" ; |
| 7882 | break; |
| 7883 | case 1: |
| 7884 | p = "userland char **" ; |
| 7885 | break; |
| 7886 | case 2: |
| 7887 | p = "userland char **" ; |
| 7888 | break; |
| 7889 | case 3: |
| 7890 | p = "userland struct mac *" ; |
| 7891 | break; |
| 7892 | default: |
| 7893 | break; |
| 7894 | }; |
| 7895 | break; |
| 7896 | #if CONFIG_MACF |
| 7897 | /* __mac_syscall */ |
| 7898 | case 381: |
| 7899 | switch(ndx) { |
| 7900 | case 0: |
| 7901 | p = "userland char *" ; |
| 7902 | break; |
| 7903 | case 1: |
| 7904 | p = "int" ; |
| 7905 | break; |
| 7906 | case 2: |
| 7907 | p = "user_addr_t" ; |
| 7908 | break; |
| 7909 | default: |
| 7910 | break; |
| 7911 | }; |
| 7912 | break; |
| 7913 | /* __mac_get_file */ |
| 7914 | case 382: |
| 7915 | switch(ndx) { |
| 7916 | case 0: |
| 7917 | p = "userland char *" ; |
| 7918 | break; |
| 7919 | case 1: |
| 7920 | p = "userland struct mac *" ; |
| 7921 | break; |
| 7922 | default: |
| 7923 | break; |
| 7924 | }; |
| 7925 | break; |
| 7926 | /* __mac_set_file */ |
| 7927 | case 383: |
| 7928 | switch(ndx) { |
| 7929 | case 0: |
| 7930 | p = "userland char *" ; |
| 7931 | break; |
| 7932 | case 1: |
| 7933 | p = "userland struct mac *" ; |
| 7934 | break; |
| 7935 | default: |
| 7936 | break; |
| 7937 | }; |
| 7938 | break; |
| 7939 | /* __mac_get_link */ |
| 7940 | case 384: |
| 7941 | switch(ndx) { |
| 7942 | case 0: |
| 7943 | p = "userland char *" ; |
| 7944 | break; |
| 7945 | case 1: |
| 7946 | p = "userland struct mac *" ; |
| 7947 | break; |
| 7948 | default: |
| 7949 | break; |
| 7950 | }; |
| 7951 | break; |
| 7952 | /* __mac_set_link */ |
| 7953 | case 385: |
| 7954 | switch(ndx) { |
| 7955 | case 0: |
| 7956 | p = "userland char *" ; |
| 7957 | break; |
| 7958 | case 1: |
| 7959 | p = "userland struct mac *" ; |
| 7960 | break; |
| 7961 | default: |
| 7962 | break; |
| 7963 | }; |
| 7964 | break; |
| 7965 | /* __mac_get_proc */ |
| 7966 | case 386: |
| 7967 | switch(ndx) { |
| 7968 | case 0: |
| 7969 | p = "userland struct mac *" ; |
| 7970 | break; |
| 7971 | default: |
| 7972 | break; |
| 7973 | }; |
| 7974 | break; |
| 7975 | /* __mac_set_proc */ |
| 7976 | case 387: |
| 7977 | switch(ndx) { |
| 7978 | case 0: |
| 7979 | p = "userland struct mac *" ; |
| 7980 | break; |
| 7981 | default: |
| 7982 | break; |
| 7983 | }; |
| 7984 | break; |
| 7985 | /* __mac_get_fd */ |
| 7986 | case 388: |
| 7987 | switch(ndx) { |
| 7988 | case 0: |
| 7989 | p = "int" ; |
| 7990 | break; |
| 7991 | case 1: |
| 7992 | p = "userland struct mac *" ; |
| 7993 | break; |
| 7994 | default: |
| 7995 | break; |
| 7996 | }; |
| 7997 | break; |
| 7998 | /* __mac_set_fd */ |
| 7999 | case 389: |
| 8000 | switch(ndx) { |
| 8001 | case 0: |
| 8002 | p = "int" ; |
| 8003 | break; |
| 8004 | case 1: |
| 8005 | p = "userland struct mac *" ; |
| 8006 | break; |
| 8007 | default: |
| 8008 | break; |
| 8009 | }; |
| 8010 | break; |
| 8011 | /* __mac_get_pid */ |
| 8012 | case 390: |
| 8013 | switch(ndx) { |
| 8014 | case 0: |
| 8015 | p = "pid_t" ; |
| 8016 | break; |
| 8017 | case 1: |
| 8018 | p = "userland struct mac *" ; |
| 8019 | break; |
| 8020 | default: |
| 8021 | break; |
| 8022 | }; |
| 8023 | break; |
| 8024 | #else |
| 8025 | #endif |
| 8026 | /* pselect */ |
| 8027 | case 394: |
| 8028 | switch(ndx) { |
| 8029 | case 0: |
| 8030 | p = "int" ; |
| 8031 | break; |
| 8032 | case 1: |
| 8033 | p = "userland u_int32_t *" ; |
| 8034 | break; |
| 8035 | case 2: |
| 8036 | p = "userland u_int32_t *" ; |
| 8037 | break; |
| 8038 | case 3: |
| 8039 | p = "userland u_int32_t *" ; |
| 8040 | break; |
| 8041 | case 4: |
| 8042 | p = "userland const struct timespec *" ; |
| 8043 | break; |
| 8044 | case 5: |
| 8045 | p = "userland const struct sigset_t *" ; |
| 8046 | break; |
| 8047 | default: |
| 8048 | break; |
| 8049 | }; |
| 8050 | break; |
| 8051 | /* pselect_nocancel */ |
| 8052 | case 395: |
| 8053 | switch(ndx) { |
| 8054 | case 0: |
| 8055 | p = "int" ; |
| 8056 | break; |
| 8057 | case 1: |
| 8058 | p = "userland u_int32_t *" ; |
| 8059 | break; |
| 8060 | case 2: |
| 8061 | p = "userland u_int32_t *" ; |
| 8062 | break; |
| 8063 | case 3: |
| 8064 | p = "userland u_int32_t *" ; |
| 8065 | break; |
| 8066 | case 4: |
| 8067 | p = "userland const struct timespec *" ; |
| 8068 | break; |
| 8069 | case 5: |
| 8070 | p = "userland const struct sigset_t *" ; |
| 8071 | break; |
| 8072 | default: |
| 8073 | break; |
| 8074 | }; |
| 8075 | break; |
| 8076 | /* read_nocancel */ |
| 8077 | case 396: |
| 8078 | switch(ndx) { |
| 8079 | case 0: |
| 8080 | p = "int" ; |
| 8081 | break; |
| 8082 | case 1: |
| 8083 | p = "user_addr_t" ; |
| 8084 | break; |
| 8085 | case 2: |
| 8086 | p = "user_size_t" ; |
| 8087 | break; |
| 8088 | default: |
| 8089 | break; |
| 8090 | }; |
| 8091 | break; |
| 8092 | /* write_nocancel */ |
| 8093 | case 397: |
| 8094 | switch(ndx) { |
| 8095 | case 0: |
| 8096 | p = "int" ; |
| 8097 | break; |
| 8098 | case 1: |
| 8099 | p = "user_addr_t" ; |
| 8100 | break; |
| 8101 | case 2: |
| 8102 | p = "user_size_t" ; |
| 8103 | break; |
| 8104 | default: |
| 8105 | break; |
| 8106 | }; |
| 8107 | break; |
| 8108 | /* open_nocancel */ |
| 8109 | case 398: |
| 8110 | switch(ndx) { |
| 8111 | case 0: |
| 8112 | p = "user_addr_t" ; |
| 8113 | break; |
| 8114 | case 1: |
| 8115 | p = "int" ; |
| 8116 | break; |
| 8117 | case 2: |
| 8118 | p = "int" ; |
| 8119 | break; |
| 8120 | default: |
| 8121 | break; |
| 8122 | }; |
| 8123 | break; |
| 8124 | /* close_nocancel */ |
| 8125 | case 399: |
| 8126 | switch(ndx) { |
| 8127 | case 0: |
| 8128 | p = "int" ; |
| 8129 | break; |
| 8130 | default: |
| 8131 | break; |
| 8132 | }; |
| 8133 | break; |
| 8134 | /* wait4_nocancel */ |
| 8135 | case 400: |
| 8136 | switch(ndx) { |
| 8137 | case 0: |
| 8138 | p = "int" ; |
| 8139 | break; |
| 8140 | case 1: |
| 8141 | p = "user_addr_t" ; |
| 8142 | break; |
| 8143 | case 2: |
| 8144 | p = "int" ; |
| 8145 | break; |
| 8146 | case 3: |
| 8147 | p = "user_addr_t" ; |
| 8148 | break; |
| 8149 | default: |
| 8150 | break; |
| 8151 | }; |
| 8152 | break; |
| 8153 | #if SOCKETS |
| 8154 | /* recvmsg_nocancel */ |
| 8155 | case 401: |
| 8156 | switch(ndx) { |
| 8157 | case 0: |
| 8158 | p = "int" ; |
| 8159 | break; |
| 8160 | case 1: |
| 8161 | p = "userland struct msghdr *" ; |
| 8162 | break; |
| 8163 | case 2: |
| 8164 | p = "int" ; |
| 8165 | break; |
| 8166 | default: |
| 8167 | break; |
| 8168 | }; |
| 8169 | break; |
| 8170 | /* sendmsg_nocancel */ |
| 8171 | case 402: |
| 8172 | switch(ndx) { |
| 8173 | case 0: |
| 8174 | p = "int" ; |
| 8175 | break; |
| 8176 | case 1: |
| 8177 | p = "caddr_t" ; |
| 8178 | break; |
| 8179 | case 2: |
| 8180 | p = "int" ; |
| 8181 | break; |
| 8182 | default: |
| 8183 | break; |
| 8184 | }; |
| 8185 | break; |
| 8186 | /* recvfrom_nocancel */ |
| 8187 | case 403: |
| 8188 | switch(ndx) { |
| 8189 | case 0: |
| 8190 | p = "int" ; |
| 8191 | break; |
| 8192 | case 1: |
| 8193 | p = "userland void *" ; |
| 8194 | break; |
| 8195 | case 2: |
| 8196 | p = "size_t" ; |
| 8197 | break; |
| 8198 | case 3: |
| 8199 | p = "int" ; |
| 8200 | break; |
| 8201 | case 4: |
| 8202 | p = "userland struct sockaddr *" ; |
| 8203 | break; |
| 8204 | case 5: |
| 8205 | p = "userland int *" ; |
| 8206 | break; |
| 8207 | default: |
| 8208 | break; |
| 8209 | }; |
| 8210 | break; |
| 8211 | /* accept_nocancel */ |
| 8212 | case 404: |
| 8213 | switch(ndx) { |
| 8214 | case 0: |
| 8215 | p = "int" ; |
| 8216 | break; |
| 8217 | case 1: |
| 8218 | p = "caddr_t" ; |
| 8219 | break; |
| 8220 | case 2: |
| 8221 | p = "userland socklen_t *" ; |
| 8222 | break; |
| 8223 | default: |
| 8224 | break; |
| 8225 | }; |
| 8226 | break; |
| 8227 | #else |
| 8228 | #endif /* SOCKETS */ |
| 8229 | /* msync_nocancel */ |
| 8230 | case 405: |
| 8231 | switch(ndx) { |
| 8232 | case 0: |
| 8233 | p = "caddr_t" ; |
| 8234 | break; |
| 8235 | case 1: |
| 8236 | p = "size_t" ; |
| 8237 | break; |
| 8238 | case 2: |
| 8239 | p = "int" ; |
| 8240 | break; |
| 8241 | default: |
| 8242 | break; |
| 8243 | }; |
| 8244 | break; |
| 8245 | /* fcntl_nocancel */ |
| 8246 | case 406: |
| 8247 | switch(ndx) { |
| 8248 | case 0: |
| 8249 | p = "int" ; |
| 8250 | break; |
| 8251 | case 1: |
| 8252 | p = "int" ; |
| 8253 | break; |
| 8254 | case 2: |
| 8255 | p = "long" ; |
| 8256 | break; |
| 8257 | default: |
| 8258 | break; |
| 8259 | }; |
| 8260 | break; |
| 8261 | /* select_nocancel */ |
| 8262 | case 407: |
| 8263 | switch(ndx) { |
| 8264 | case 0: |
| 8265 | p = "int" ; |
| 8266 | break; |
| 8267 | case 1: |
| 8268 | p = "userland u_int32_t *" ; |
| 8269 | break; |
| 8270 | case 2: |
| 8271 | p = "userland u_int32_t *" ; |
| 8272 | break; |
| 8273 | case 3: |
| 8274 | p = "userland u_int32_t *" ; |
| 8275 | break; |
| 8276 | case 4: |
| 8277 | p = "userland struct timeval *" ; |
| 8278 | break; |
| 8279 | default: |
| 8280 | break; |
| 8281 | }; |
| 8282 | break; |
| 8283 | /* fsync_nocancel */ |
| 8284 | case 408: |
| 8285 | switch(ndx) { |
| 8286 | case 0: |
| 8287 | p = "int" ; |
| 8288 | break; |
| 8289 | default: |
| 8290 | break; |
| 8291 | }; |
| 8292 | break; |
| 8293 | #if SOCKETS |
| 8294 | /* connect_nocancel */ |
| 8295 | case 409: |
| 8296 | switch(ndx) { |
| 8297 | case 0: |
| 8298 | p = "int" ; |
| 8299 | break; |
| 8300 | case 1: |
| 8301 | p = "caddr_t" ; |
| 8302 | break; |
| 8303 | case 2: |
| 8304 | p = "socklen_t" ; |
| 8305 | break; |
| 8306 | default: |
| 8307 | break; |
| 8308 | }; |
| 8309 | break; |
| 8310 | #else |
| 8311 | #endif /* SOCKETS */ |
| 8312 | /* sigsuspend_nocancel */ |
| 8313 | case 410: |
| 8314 | switch(ndx) { |
| 8315 | case 0: |
| 8316 | p = "sigset_t" ; |
| 8317 | break; |
| 8318 | default: |
| 8319 | break; |
| 8320 | }; |
| 8321 | break; |
| 8322 | /* readv_nocancel */ |
| 8323 | case 411: |
| 8324 | switch(ndx) { |
| 8325 | case 0: |
| 8326 | p = "int" ; |
| 8327 | break; |
| 8328 | case 1: |
| 8329 | p = "userland struct iovec *" ; |
| 8330 | break; |
| 8331 | case 2: |
| 8332 | p = "u_int" ; |
| 8333 | break; |
| 8334 | default: |
| 8335 | break; |
| 8336 | }; |
| 8337 | break; |
| 8338 | /* writev_nocancel */ |
| 8339 | case 412: |
| 8340 | switch(ndx) { |
| 8341 | case 0: |
| 8342 | p = "int" ; |
| 8343 | break; |
| 8344 | case 1: |
| 8345 | p = "userland struct iovec *" ; |
| 8346 | break; |
| 8347 | case 2: |
| 8348 | p = "u_int" ; |
| 8349 | break; |
| 8350 | default: |
| 8351 | break; |
| 8352 | }; |
| 8353 | break; |
| 8354 | #if SOCKETS |
| 8355 | /* sendto_nocancel */ |
| 8356 | case 413: |
| 8357 | switch(ndx) { |
| 8358 | case 0: |
| 8359 | p = "int" ; |
| 8360 | break; |
| 8361 | case 1: |
| 8362 | p = "caddr_t" ; |
| 8363 | break; |
| 8364 | case 2: |
| 8365 | p = "size_t" ; |
| 8366 | break; |
| 8367 | case 3: |
| 8368 | p = "int" ; |
| 8369 | break; |
| 8370 | case 4: |
| 8371 | p = "caddr_t" ; |
| 8372 | break; |
| 8373 | case 5: |
| 8374 | p = "socklen_t" ; |
| 8375 | break; |
| 8376 | default: |
| 8377 | break; |
| 8378 | }; |
| 8379 | break; |
| 8380 | #else |
| 8381 | #endif /* SOCKETS */ |
| 8382 | /* pread_nocancel */ |
| 8383 | case 414: |
| 8384 | switch(ndx) { |
| 8385 | case 0: |
| 8386 | p = "int" ; |
| 8387 | break; |
| 8388 | case 1: |
| 8389 | p = "user_addr_t" ; |
| 8390 | break; |
| 8391 | case 2: |
| 8392 | p = "user_size_t" ; |
| 8393 | break; |
| 8394 | case 3: |
| 8395 | p = "off_t" ; |
| 8396 | break; |
| 8397 | default: |
| 8398 | break; |
| 8399 | }; |
| 8400 | break; |
| 8401 | /* pwrite_nocancel */ |
| 8402 | case 415: |
| 8403 | switch(ndx) { |
| 8404 | case 0: |
| 8405 | p = "int" ; |
| 8406 | break; |
| 8407 | case 1: |
| 8408 | p = "user_addr_t" ; |
| 8409 | break; |
| 8410 | case 2: |
| 8411 | p = "user_size_t" ; |
| 8412 | break; |
| 8413 | case 3: |
| 8414 | p = "off_t" ; |
| 8415 | break; |
| 8416 | default: |
| 8417 | break; |
| 8418 | }; |
| 8419 | break; |
| 8420 | /* waitid_nocancel */ |
| 8421 | case 416: |
| 8422 | switch(ndx) { |
| 8423 | case 0: |
| 8424 | p = "idtype_t" ; |
| 8425 | break; |
| 8426 | case 1: |
| 8427 | p = "id_t" ; |
| 8428 | break; |
| 8429 | case 2: |
| 8430 | p = "userland siginfo_t *" ; |
| 8431 | break; |
| 8432 | case 3: |
| 8433 | p = "int" ; |
| 8434 | break; |
| 8435 | default: |
| 8436 | break; |
| 8437 | }; |
| 8438 | break; |
| 8439 | /* poll_nocancel */ |
| 8440 | case 417: |
| 8441 | switch(ndx) { |
| 8442 | case 0: |
| 8443 | p = "userland struct pollfd *" ; |
| 8444 | break; |
| 8445 | case 1: |
| 8446 | p = "u_int" ; |
| 8447 | break; |
| 8448 | case 2: |
| 8449 | p = "int" ; |
| 8450 | break; |
| 8451 | default: |
| 8452 | break; |
| 8453 | }; |
| 8454 | break; |
| 8455 | #if SYSV_MSG |
| 8456 | /* msgsnd_nocancel */ |
| 8457 | case 418: |
| 8458 | switch(ndx) { |
| 8459 | case 0: |
| 8460 | p = "int" ; |
| 8461 | break; |
| 8462 | case 1: |
| 8463 | p = "userland void *" ; |
| 8464 | break; |
| 8465 | case 2: |
| 8466 | p = "size_t" ; |
| 8467 | break; |
| 8468 | case 3: |
| 8469 | p = "int" ; |
| 8470 | break; |
| 8471 | default: |
| 8472 | break; |
| 8473 | }; |
| 8474 | break; |
| 8475 | /* msgrcv_nocancel */ |
| 8476 | case 419: |
| 8477 | switch(ndx) { |
| 8478 | case 0: |
| 8479 | p = "int" ; |
| 8480 | break; |
| 8481 | case 1: |
| 8482 | p = "userland void *" ; |
| 8483 | break; |
| 8484 | case 2: |
| 8485 | p = "size_t" ; |
| 8486 | break; |
| 8487 | case 3: |
| 8488 | p = "long" ; |
| 8489 | break; |
| 8490 | case 4: |
| 8491 | p = "int" ; |
| 8492 | break; |
| 8493 | default: |
| 8494 | break; |
| 8495 | }; |
| 8496 | break; |
| 8497 | #else |
| 8498 | #endif |
| 8499 | /* sem_wait_nocancel */ |
| 8500 | case 420: |
| 8501 | switch(ndx) { |
| 8502 | case 0: |
| 8503 | p = "userland sem_t *" ; |
| 8504 | break; |
| 8505 | default: |
| 8506 | break; |
| 8507 | }; |
| 8508 | break; |
| 8509 | /* aio_suspend_nocancel */ |
| 8510 | case 421: |
| 8511 | switch(ndx) { |
| 8512 | case 0: |
| 8513 | p = "user_addr_t" ; |
| 8514 | break; |
| 8515 | case 1: |
| 8516 | p = "int" ; |
| 8517 | break; |
| 8518 | case 2: |
| 8519 | p = "user_addr_t" ; |
| 8520 | break; |
| 8521 | default: |
| 8522 | break; |
| 8523 | }; |
| 8524 | break; |
| 8525 | /* __sigwait_nocancel */ |
| 8526 | case 422: |
| 8527 | switch(ndx) { |
| 8528 | case 0: |
| 8529 | p = "user_addr_t" ; |
| 8530 | break; |
| 8531 | case 1: |
| 8532 | p = "user_addr_t" ; |
| 8533 | break; |
| 8534 | default: |
| 8535 | break; |
| 8536 | }; |
| 8537 | break; |
| 8538 | /* __semwait_signal_nocancel */ |
| 8539 | case 423: |
| 8540 | switch(ndx) { |
| 8541 | case 0: |
| 8542 | p = "int" ; |
| 8543 | break; |
| 8544 | case 1: |
| 8545 | p = "int" ; |
| 8546 | break; |
| 8547 | case 2: |
| 8548 | p = "int" ; |
| 8549 | break; |
| 8550 | case 3: |
| 8551 | p = "int" ; |
| 8552 | break; |
| 8553 | case 4: |
| 8554 | p = "int64_t" ; |
| 8555 | break; |
| 8556 | case 5: |
| 8557 | p = "int32_t" ; |
| 8558 | break; |
| 8559 | default: |
| 8560 | break; |
| 8561 | }; |
| 8562 | break; |
| 8563 | /* __mac_mount */ |
| 8564 | case 424: |
| 8565 | switch(ndx) { |
| 8566 | case 0: |
| 8567 | p = "userland char *" ; |
| 8568 | break; |
| 8569 | case 1: |
| 8570 | p = "userland char *" ; |
| 8571 | break; |
| 8572 | case 2: |
| 8573 | p = "int" ; |
| 8574 | break; |
| 8575 | case 3: |
| 8576 | p = "caddr_t" ; |
| 8577 | break; |
| 8578 | case 4: |
| 8579 | p = "userland struct mac *" ; |
| 8580 | break; |
| 8581 | default: |
| 8582 | break; |
| 8583 | }; |
| 8584 | break; |
| 8585 | #if CONFIG_MACF |
| 8586 | /* __mac_get_mount */ |
| 8587 | case 425: |
| 8588 | switch(ndx) { |
| 8589 | case 0: |
| 8590 | p = "userland char *" ; |
| 8591 | break; |
| 8592 | case 1: |
| 8593 | p = "userland struct mac *" ; |
| 8594 | break; |
| 8595 | default: |
| 8596 | break; |
| 8597 | }; |
| 8598 | break; |
| 8599 | #else |
| 8600 | #endif |
| 8601 | /* __mac_getfsstat */ |
| 8602 | case 426: |
| 8603 | switch(ndx) { |
| 8604 | case 0: |
| 8605 | p = "user_addr_t" ; |
| 8606 | break; |
| 8607 | case 1: |
| 8608 | p = "int" ; |
| 8609 | break; |
| 8610 | case 2: |
| 8611 | p = "user_addr_t" ; |
| 8612 | break; |
| 8613 | case 3: |
| 8614 | p = "int" ; |
| 8615 | break; |
| 8616 | case 4: |
| 8617 | p = "int" ; |
| 8618 | break; |
| 8619 | default: |
| 8620 | break; |
| 8621 | }; |
| 8622 | break; |
| 8623 | /* fsgetpath */ |
| 8624 | case 427: |
| 8625 | switch(ndx) { |
| 8626 | case 0: |
| 8627 | p = "user_addr_t" ; |
| 8628 | break; |
| 8629 | case 1: |
| 8630 | p = "size_t" ; |
| 8631 | break; |
| 8632 | case 2: |
| 8633 | p = "user_addr_t" ; |
| 8634 | break; |
| 8635 | case 3: |
| 8636 | p = "uint64_t" ; |
| 8637 | break; |
| 8638 | default: |
| 8639 | break; |
| 8640 | }; |
| 8641 | break; |
| 8642 | /* audit_session_self */ |
| 8643 | case 428: |
| 8644 | break; |
| 8645 | /* audit_session_join */ |
| 8646 | case 429: |
| 8647 | switch(ndx) { |
| 8648 | case 0: |
| 8649 | p = "mach_port_name_t" ; |
| 8650 | break; |
| 8651 | default: |
| 8652 | break; |
| 8653 | }; |
| 8654 | break; |
| 8655 | /* fileport_makeport */ |
| 8656 | case 430: |
| 8657 | switch(ndx) { |
| 8658 | case 0: |
| 8659 | p = "int" ; |
| 8660 | break; |
| 8661 | case 1: |
| 8662 | p = "user_addr_t" ; |
| 8663 | break; |
| 8664 | default: |
| 8665 | break; |
| 8666 | }; |
| 8667 | break; |
| 8668 | /* fileport_makefd */ |
| 8669 | case 431: |
| 8670 | switch(ndx) { |
| 8671 | case 0: |
| 8672 | p = "mach_port_name_t" ; |
| 8673 | break; |
| 8674 | default: |
| 8675 | break; |
| 8676 | }; |
| 8677 | break; |
| 8678 | /* audit_session_port */ |
| 8679 | case 432: |
| 8680 | switch(ndx) { |
| 8681 | case 0: |
| 8682 | p = "au_asid_t" ; |
| 8683 | break; |
| 8684 | case 1: |
| 8685 | p = "user_addr_t" ; |
| 8686 | break; |
| 8687 | default: |
| 8688 | break; |
| 8689 | }; |
| 8690 | break; |
| 8691 | /* pid_suspend */ |
| 8692 | case 433: |
| 8693 | switch(ndx) { |
| 8694 | case 0: |
| 8695 | p = "int" ; |
| 8696 | break; |
| 8697 | default: |
| 8698 | break; |
| 8699 | }; |
| 8700 | break; |
| 8701 | /* pid_resume */ |
| 8702 | case 434: |
| 8703 | switch(ndx) { |
| 8704 | case 0: |
| 8705 | p = "int" ; |
| 8706 | break; |
| 8707 | default: |
| 8708 | break; |
| 8709 | }; |
| 8710 | break; |
| 8711 | #if CONFIG_EMBEDDED |
| 8712 | /* pid_hibernate */ |
| 8713 | case 435: |
| 8714 | switch(ndx) { |
| 8715 | case 0: |
| 8716 | p = "int" ; |
| 8717 | break; |
| 8718 | default: |
| 8719 | break; |
| 8720 | }; |
| 8721 | break; |
| 8722 | #else |
| 8723 | #endif |
| 8724 | #if SOCKETS |
| 8725 | /* pid_shutdown_sockets */ |
| 8726 | case 436: |
| 8727 | switch(ndx) { |
| 8728 | case 0: |
| 8729 | p = "int" ; |
| 8730 | break; |
| 8731 | case 1: |
| 8732 | p = "int" ; |
| 8733 | break; |
| 8734 | default: |
| 8735 | break; |
| 8736 | }; |
| 8737 | break; |
| 8738 | #else |
| 8739 | #endif |
| 8740 | /* shared_region_map_and_slide_np */ |
| 8741 | case 438: |
| 8742 | switch(ndx) { |
| 8743 | case 0: |
| 8744 | p = "int" ; |
| 8745 | break; |
| 8746 | case 1: |
| 8747 | p = "uint32_t" ; |
| 8748 | break; |
| 8749 | case 2: |
| 8750 | p = "userland const struct shared_file_mapping_np *" ; |
| 8751 | break; |
| 8752 | case 3: |
| 8753 | p = "uint32_t" ; |
| 8754 | break; |
| 8755 | case 4: |
| 8756 | p = "userland uint64_t *" ; |
| 8757 | break; |
| 8758 | case 5: |
| 8759 | p = "uint32_t" ; |
| 8760 | break; |
| 8761 | default: |
| 8762 | break; |
| 8763 | }; |
| 8764 | break; |
| 8765 | /* kas_info */ |
| 8766 | case 439: |
| 8767 | switch(ndx) { |
| 8768 | case 0: |
| 8769 | p = "int" ; |
| 8770 | break; |
| 8771 | case 1: |
| 8772 | p = "userland void *" ; |
| 8773 | break; |
| 8774 | case 2: |
| 8775 | p = "userland size_t *" ; |
| 8776 | break; |
| 8777 | default: |
| 8778 | break; |
| 8779 | }; |
| 8780 | break; |
| 8781 | #if CONFIG_MEMORYSTATUS |
| 8782 | /* memorystatus_control */ |
| 8783 | case 440: |
| 8784 | switch(ndx) { |
| 8785 | case 0: |
| 8786 | p = "uint32_t" ; |
| 8787 | break; |
| 8788 | case 1: |
| 8789 | p = "int32_t" ; |
| 8790 | break; |
| 8791 | case 2: |
| 8792 | p = "uint32_t" ; |
| 8793 | break; |
| 8794 | case 3: |
| 8795 | p = "user_addr_t" ; |
| 8796 | break; |
| 8797 | case 4: |
| 8798 | p = "size_t" ; |
| 8799 | break; |
| 8800 | default: |
| 8801 | break; |
| 8802 | }; |
| 8803 | break; |
| 8804 | #else |
| 8805 | #endif |
| 8806 | /* guarded_open_np */ |
| 8807 | case 441: |
| 8808 | switch(ndx) { |
| 8809 | case 0: |
| 8810 | p = "user_addr_t" ; |
| 8811 | break; |
| 8812 | case 1: |
| 8813 | p = "userland const guardid_t *" ; |
| 8814 | break; |
| 8815 | case 2: |
| 8816 | p = "u_int" ; |
| 8817 | break; |
| 8818 | case 3: |
| 8819 | p = "int" ; |
| 8820 | break; |
| 8821 | case 4: |
| 8822 | p = "int" ; |
| 8823 | break; |
| 8824 | default: |
| 8825 | break; |
| 8826 | }; |
| 8827 | break; |
| 8828 | /* guarded_close_np */ |
| 8829 | case 442: |
| 8830 | switch(ndx) { |
| 8831 | case 0: |
| 8832 | p = "int" ; |
| 8833 | break; |
| 8834 | case 1: |
| 8835 | p = "userland const guardid_t *" ; |
| 8836 | break; |
| 8837 | default: |
| 8838 | break; |
| 8839 | }; |
| 8840 | break; |
| 8841 | /* guarded_kqueue_np */ |
| 8842 | case 443: |
| 8843 | switch(ndx) { |
| 8844 | case 0: |
| 8845 | p = "userland const guardid_t *" ; |
| 8846 | break; |
| 8847 | case 1: |
| 8848 | p = "u_int" ; |
| 8849 | break; |
| 8850 | default: |
| 8851 | break; |
| 8852 | }; |
| 8853 | break; |
| 8854 | /* change_fdguard_np */ |
| 8855 | case 444: |
| 8856 | switch(ndx) { |
| 8857 | case 0: |
| 8858 | p = "int" ; |
| 8859 | break; |
| 8860 | case 1: |
| 8861 | p = "userland const guardid_t *" ; |
| 8862 | break; |
| 8863 | case 2: |
| 8864 | p = "u_int" ; |
| 8865 | break; |
| 8866 | case 3: |
| 8867 | p = "userland const guardid_t *" ; |
| 8868 | break; |
| 8869 | case 4: |
| 8870 | p = "u_int" ; |
| 8871 | break; |
| 8872 | case 5: |
| 8873 | p = "userland int *" ; |
| 8874 | break; |
| 8875 | default: |
| 8876 | break; |
| 8877 | }; |
| 8878 | break; |
| 8879 | /* usrctl */ |
| 8880 | case 445: |
| 8881 | switch(ndx) { |
| 8882 | case 0: |
| 8883 | p = "uint32_t" ; |
| 8884 | break; |
| 8885 | default: |
| 8886 | break; |
| 8887 | }; |
| 8888 | break; |
| 8889 | /* proc_rlimit_control */ |
| 8890 | case 446: |
| 8891 | switch(ndx) { |
| 8892 | case 0: |
| 8893 | p = "pid_t" ; |
| 8894 | break; |
| 8895 | case 1: |
| 8896 | p = "int" ; |
| 8897 | break; |
| 8898 | case 2: |
| 8899 | p = "userland void *" ; |
| 8900 | break; |
| 8901 | default: |
| 8902 | break; |
| 8903 | }; |
| 8904 | break; |
| 8905 | #if SOCKETS |
| 8906 | /* connectx */ |
| 8907 | case 447: |
| 8908 | switch(ndx) { |
| 8909 | case 0: |
| 8910 | p = "int" ; |
| 8911 | break; |
| 8912 | case 1: |
| 8913 | p = "userland const sa_endpoints_t *" ; |
| 8914 | break; |
| 8915 | case 2: |
| 8916 | p = "sae_associd_t" ; |
| 8917 | break; |
| 8918 | case 3: |
| 8919 | p = "unsigned int" ; |
| 8920 | break; |
| 8921 | case 4: |
| 8922 | p = "userland const struct iovec *" ; |
| 8923 | break; |
| 8924 | case 5: |
| 8925 | p = "unsigned int" ; |
| 8926 | break; |
| 8927 | case 6: |
| 8928 | p = "userland size_t *" ; |
| 8929 | break; |
| 8930 | case 7: |
| 8931 | p = "userland sae_connid_t *" ; |
| 8932 | break; |
| 8933 | default: |
| 8934 | break; |
| 8935 | }; |
| 8936 | break; |
| 8937 | /* disconnectx */ |
| 8938 | case 448: |
| 8939 | switch(ndx) { |
| 8940 | case 0: |
| 8941 | p = "int" ; |
| 8942 | break; |
| 8943 | case 1: |
| 8944 | p = "sae_associd_t" ; |
| 8945 | break; |
| 8946 | case 2: |
| 8947 | p = "sae_connid_t" ; |
| 8948 | break; |
| 8949 | default: |
| 8950 | break; |
| 8951 | }; |
| 8952 | break; |
| 8953 | /* peeloff */ |
| 8954 | case 449: |
| 8955 | switch(ndx) { |
| 8956 | case 0: |
| 8957 | p = "int" ; |
| 8958 | break; |
| 8959 | case 1: |
| 8960 | p = "sae_associd_t" ; |
| 8961 | break; |
| 8962 | default: |
| 8963 | break; |
| 8964 | }; |
| 8965 | break; |
| 8966 | /* socket_delegate */ |
| 8967 | case 450: |
| 8968 | switch(ndx) { |
| 8969 | case 0: |
| 8970 | p = "int" ; |
| 8971 | break; |
| 8972 | case 1: |
| 8973 | p = "int" ; |
| 8974 | break; |
| 8975 | case 2: |
| 8976 | p = "int" ; |
| 8977 | break; |
| 8978 | case 3: |
| 8979 | p = "pid_t" ; |
| 8980 | break; |
| 8981 | default: |
| 8982 | break; |
| 8983 | }; |
| 8984 | break; |
| 8985 | #else |
| 8986 | #endif /* SOCKETS */ |
| 8987 | /* telemetry */ |
| 8988 | case 451: |
| 8989 | switch(ndx) { |
| 8990 | case 0: |
| 8991 | p = "uint64_t" ; |
| 8992 | break; |
| 8993 | case 1: |
| 8994 | p = "uint64_t" ; |
| 8995 | break; |
| 8996 | case 2: |
| 8997 | p = "uint64_t" ; |
| 8998 | break; |
| 8999 | case 3: |
| 9000 | p = "uint64_t" ; |
| 9001 | break; |
| 9002 | case 4: |
| 9003 | p = "uint64_t" ; |
| 9004 | break; |
| 9005 | case 5: |
| 9006 | p = "uint64_t" ; |
| 9007 | break; |
| 9008 | default: |
| 9009 | break; |
| 9010 | }; |
| 9011 | break; |
| 9012 | #if CONFIG_PROC_UUID_POLICY |
| 9013 | /* proc_uuid_policy */ |
| 9014 | case 452: |
| 9015 | switch(ndx) { |
| 9016 | case 0: |
| 9017 | p = "uint32_t" ; |
| 9018 | break; |
| 9019 | case 1: |
| 9020 | p = "uuid_t" ; |
| 9021 | break; |
| 9022 | case 2: |
| 9023 | p = "size_t" ; |
| 9024 | break; |
| 9025 | case 3: |
| 9026 | p = "uint32_t" ; |
| 9027 | break; |
| 9028 | default: |
| 9029 | break; |
| 9030 | }; |
| 9031 | break; |
| 9032 | #else |
| 9033 | #endif |
| 9034 | #if CONFIG_MEMORYSTATUS |
| 9035 | /* memorystatus_get_level */ |
| 9036 | case 453: |
| 9037 | switch(ndx) { |
| 9038 | case 0: |
| 9039 | p = "user_addr_t" ; |
| 9040 | break; |
| 9041 | default: |
| 9042 | break; |
| 9043 | }; |
| 9044 | break; |
| 9045 | #else |
| 9046 | #endif |
| 9047 | /* system_override */ |
| 9048 | case 454: |
| 9049 | switch(ndx) { |
| 9050 | case 0: |
| 9051 | p = "uint64_t" ; |
| 9052 | break; |
| 9053 | case 1: |
| 9054 | p = "uint64_t" ; |
| 9055 | break; |
| 9056 | default: |
| 9057 | break; |
| 9058 | }; |
| 9059 | break; |
| 9060 | /* vfs_purge */ |
| 9061 | case 455: |
| 9062 | break; |
| 9063 | /* sfi_ctl */ |
| 9064 | case 456: |
| 9065 | switch(ndx) { |
| 9066 | case 0: |
| 9067 | p = "uint32_t" ; |
| 9068 | break; |
| 9069 | case 1: |
| 9070 | p = "uint32_t" ; |
| 9071 | break; |
| 9072 | case 2: |
| 9073 | p = "uint64_t" ; |
| 9074 | break; |
| 9075 | case 3: |
| 9076 | p = "userland uint64_t *" ; |
| 9077 | break; |
| 9078 | default: |
| 9079 | break; |
| 9080 | }; |
| 9081 | break; |
| 9082 | /* sfi_pidctl */ |
| 9083 | case 457: |
| 9084 | switch(ndx) { |
| 9085 | case 0: |
| 9086 | p = "uint32_t" ; |
| 9087 | break; |
| 9088 | case 1: |
| 9089 | p = "pid_t" ; |
| 9090 | break; |
| 9091 | case 2: |
| 9092 | p = "uint32_t" ; |
| 9093 | break; |
| 9094 | case 3: |
| 9095 | p = "userland uint32_t *" ; |
| 9096 | break; |
| 9097 | default: |
| 9098 | break; |
| 9099 | }; |
| 9100 | break; |
| 9101 | #if CONFIG_COALITIONS |
| 9102 | /* coalition */ |
| 9103 | case 458: |
| 9104 | switch(ndx) { |
| 9105 | case 0: |
| 9106 | p = "uint32_t" ; |
| 9107 | break; |
| 9108 | case 1: |
| 9109 | p = "userland uint64_t *" ; |
| 9110 | break; |
| 9111 | case 2: |
| 9112 | p = "uint32_t" ; |
| 9113 | break; |
| 9114 | default: |
| 9115 | break; |
| 9116 | }; |
| 9117 | break; |
| 9118 | /* coalition_info */ |
| 9119 | case 459: |
| 9120 | switch(ndx) { |
| 9121 | case 0: |
| 9122 | p = "uint32_t" ; |
| 9123 | break; |
| 9124 | case 1: |
| 9125 | p = "userland uint64_t *" ; |
| 9126 | break; |
| 9127 | case 2: |
| 9128 | p = "userland void *" ; |
| 9129 | break; |
| 9130 | case 3: |
| 9131 | p = "userland size_t *" ; |
| 9132 | break; |
| 9133 | default: |
| 9134 | break; |
| 9135 | }; |
| 9136 | break; |
| 9137 | #else |
| 9138 | #endif /* COALITIONS */ |
| 9139 | #if NECP |
| 9140 | /* necp_match_policy */ |
| 9141 | case 460: |
| 9142 | switch(ndx) { |
| 9143 | case 0: |
| 9144 | p = "userland uint8_t *" ; |
| 9145 | break; |
| 9146 | case 1: |
| 9147 | p = "size_t" ; |
| 9148 | break; |
| 9149 | case 2: |
| 9150 | p = "userland struct necp_aggregate_result *" ; |
| 9151 | break; |
| 9152 | default: |
| 9153 | break; |
| 9154 | }; |
| 9155 | break; |
| 9156 | #else |
| 9157 | #endif /* NECP */ |
| 9158 | /* getattrlistbulk */ |
| 9159 | case 461: |
| 9160 | switch(ndx) { |
| 9161 | case 0: |
| 9162 | p = "int" ; |
| 9163 | break; |
| 9164 | case 1: |
| 9165 | p = "userland struct attrlist *" ; |
| 9166 | break; |
| 9167 | case 2: |
| 9168 | p = "userland void *" ; |
| 9169 | break; |
| 9170 | case 3: |
| 9171 | p = "size_t" ; |
| 9172 | break; |
| 9173 | case 4: |
| 9174 | p = "uint64_t" ; |
| 9175 | break; |
| 9176 | default: |
| 9177 | break; |
| 9178 | }; |
| 9179 | break; |
| 9180 | /* clonefileat */ |
| 9181 | case 462: |
| 9182 | switch(ndx) { |
| 9183 | case 0: |
| 9184 | p = "int" ; |
| 9185 | break; |
| 9186 | case 1: |
| 9187 | p = "user_addr_t" ; |
| 9188 | break; |
| 9189 | case 2: |
| 9190 | p = "int" ; |
| 9191 | break; |
| 9192 | case 3: |
| 9193 | p = "user_addr_t" ; |
| 9194 | break; |
| 9195 | case 4: |
| 9196 | p = "uint32_t" ; |
| 9197 | break; |
| 9198 | default: |
| 9199 | break; |
| 9200 | }; |
| 9201 | break; |
| 9202 | /* openat */ |
| 9203 | case 463: |
| 9204 | switch(ndx) { |
| 9205 | case 0: |
| 9206 | p = "int" ; |
| 9207 | break; |
| 9208 | case 1: |
| 9209 | p = "user_addr_t" ; |
| 9210 | break; |
| 9211 | case 2: |
| 9212 | p = "int" ; |
| 9213 | break; |
| 9214 | case 3: |
| 9215 | p = "int" ; |
| 9216 | break; |
| 9217 | default: |
| 9218 | break; |
| 9219 | }; |
| 9220 | break; |
| 9221 | /* openat_nocancel */ |
| 9222 | case 464: |
| 9223 | switch(ndx) { |
| 9224 | case 0: |
| 9225 | p = "int" ; |
| 9226 | break; |
| 9227 | case 1: |
| 9228 | p = "user_addr_t" ; |
| 9229 | break; |
| 9230 | case 2: |
| 9231 | p = "int" ; |
| 9232 | break; |
| 9233 | case 3: |
| 9234 | p = "int" ; |
| 9235 | break; |
| 9236 | default: |
| 9237 | break; |
| 9238 | }; |
| 9239 | break; |
| 9240 | /* renameat */ |
| 9241 | case 465: |
| 9242 | switch(ndx) { |
| 9243 | case 0: |
| 9244 | p = "int" ; |
| 9245 | break; |
| 9246 | case 1: |
| 9247 | p = "userland char *" ; |
| 9248 | break; |
| 9249 | case 2: |
| 9250 | p = "int" ; |
| 9251 | break; |
| 9252 | case 3: |
| 9253 | p = "userland char *" ; |
| 9254 | break; |
| 9255 | default: |
| 9256 | break; |
| 9257 | }; |
| 9258 | break; |
| 9259 | /* faccessat */ |
| 9260 | case 466: |
| 9261 | switch(ndx) { |
| 9262 | case 0: |
| 9263 | p = "int" ; |
| 9264 | break; |
| 9265 | case 1: |
| 9266 | p = "user_addr_t" ; |
| 9267 | break; |
| 9268 | case 2: |
| 9269 | p = "int" ; |
| 9270 | break; |
| 9271 | case 3: |
| 9272 | p = "int" ; |
| 9273 | break; |
| 9274 | default: |
| 9275 | break; |
| 9276 | }; |
| 9277 | break; |
| 9278 | /* fchmodat */ |
| 9279 | case 467: |
| 9280 | switch(ndx) { |
| 9281 | case 0: |
| 9282 | p = "int" ; |
| 9283 | break; |
| 9284 | case 1: |
| 9285 | p = "user_addr_t" ; |
| 9286 | break; |
| 9287 | case 2: |
| 9288 | p = "int" ; |
| 9289 | break; |
| 9290 | case 3: |
| 9291 | p = "int" ; |
| 9292 | break; |
| 9293 | default: |
| 9294 | break; |
| 9295 | }; |
| 9296 | break; |
| 9297 | /* fchownat */ |
| 9298 | case 468: |
| 9299 | switch(ndx) { |
| 9300 | case 0: |
| 9301 | p = "int" ; |
| 9302 | break; |
| 9303 | case 1: |
| 9304 | p = "user_addr_t" ; |
| 9305 | break; |
| 9306 | case 2: |
| 9307 | p = "uid_t" ; |
| 9308 | break; |
| 9309 | case 3: |
| 9310 | p = "gid_t" ; |
| 9311 | break; |
| 9312 | case 4: |
| 9313 | p = "int" ; |
| 9314 | break; |
| 9315 | default: |
| 9316 | break; |
| 9317 | }; |
| 9318 | break; |
| 9319 | /* fstatat */ |
| 9320 | case 469: |
| 9321 | switch(ndx) { |
| 9322 | case 0: |
| 9323 | p = "int" ; |
| 9324 | break; |
| 9325 | case 1: |
| 9326 | p = "user_addr_t" ; |
| 9327 | break; |
| 9328 | case 2: |
| 9329 | p = "user_addr_t" ; |
| 9330 | break; |
| 9331 | case 3: |
| 9332 | p = "int" ; |
| 9333 | break; |
| 9334 | default: |
| 9335 | break; |
| 9336 | }; |
| 9337 | break; |
| 9338 | /* fstatat64 */ |
| 9339 | case 470: |
| 9340 | switch(ndx) { |
| 9341 | case 0: |
| 9342 | p = "int" ; |
| 9343 | break; |
| 9344 | case 1: |
| 9345 | p = "user_addr_t" ; |
| 9346 | break; |
| 9347 | case 2: |
| 9348 | p = "user_addr_t" ; |
| 9349 | break; |
| 9350 | case 3: |
| 9351 | p = "int" ; |
| 9352 | break; |
| 9353 | default: |
| 9354 | break; |
| 9355 | }; |
| 9356 | break; |
| 9357 | /* linkat */ |
| 9358 | case 471: |
| 9359 | switch(ndx) { |
| 9360 | case 0: |
| 9361 | p = "int" ; |
| 9362 | break; |
| 9363 | case 1: |
| 9364 | p = "user_addr_t" ; |
| 9365 | break; |
| 9366 | case 2: |
| 9367 | p = "int" ; |
| 9368 | break; |
| 9369 | case 3: |
| 9370 | p = "user_addr_t" ; |
| 9371 | break; |
| 9372 | case 4: |
| 9373 | p = "int" ; |
| 9374 | break; |
| 9375 | default: |
| 9376 | break; |
| 9377 | }; |
| 9378 | break; |
| 9379 | /* unlinkat */ |
| 9380 | case 472: |
| 9381 | switch(ndx) { |
| 9382 | case 0: |
| 9383 | p = "int" ; |
| 9384 | break; |
| 9385 | case 1: |
| 9386 | p = "user_addr_t" ; |
| 9387 | break; |
| 9388 | case 2: |
| 9389 | p = "int" ; |
| 9390 | break; |
| 9391 | default: |
| 9392 | break; |
| 9393 | }; |
| 9394 | break; |
| 9395 | /* readlinkat */ |
| 9396 | case 473: |
| 9397 | switch(ndx) { |
| 9398 | case 0: |
| 9399 | p = "int" ; |
| 9400 | break; |
| 9401 | case 1: |
| 9402 | p = "user_addr_t" ; |
| 9403 | break; |
| 9404 | case 2: |
| 9405 | p = "user_addr_t" ; |
| 9406 | break; |
| 9407 | case 3: |
| 9408 | p = "size_t" ; |
| 9409 | break; |
| 9410 | default: |
| 9411 | break; |
| 9412 | }; |
| 9413 | break; |
| 9414 | /* symlinkat */ |
| 9415 | case 474: |
| 9416 | switch(ndx) { |
| 9417 | case 0: |
| 9418 | p = "userland user_addr_t *" ; |
| 9419 | break; |
| 9420 | case 1: |
| 9421 | p = "int" ; |
| 9422 | break; |
| 9423 | case 2: |
| 9424 | p = "user_addr_t" ; |
| 9425 | break; |
| 9426 | default: |
| 9427 | break; |
| 9428 | }; |
| 9429 | break; |
| 9430 | /* mkdirat */ |
| 9431 | case 475: |
| 9432 | switch(ndx) { |
| 9433 | case 0: |
| 9434 | p = "int" ; |
| 9435 | break; |
| 9436 | case 1: |
| 9437 | p = "user_addr_t" ; |
| 9438 | break; |
| 9439 | case 2: |
| 9440 | p = "int" ; |
| 9441 | break; |
| 9442 | default: |
| 9443 | break; |
| 9444 | }; |
| 9445 | break; |
| 9446 | /* getattrlistat */ |
| 9447 | case 476: |
| 9448 | switch(ndx) { |
| 9449 | case 0: |
| 9450 | p = "int" ; |
| 9451 | break; |
| 9452 | case 1: |
| 9453 | p = "userland const char *" ; |
| 9454 | break; |
| 9455 | case 2: |
| 9456 | p = "userland struct attrlist *" ; |
| 9457 | break; |
| 9458 | case 3: |
| 9459 | p = "userland void *" ; |
| 9460 | break; |
| 9461 | case 4: |
| 9462 | p = "size_t" ; |
| 9463 | break; |
| 9464 | case 5: |
| 9465 | p = "u_long" ; |
| 9466 | break; |
| 9467 | default: |
| 9468 | break; |
| 9469 | }; |
| 9470 | break; |
| 9471 | /* proc_trace_log */ |
| 9472 | case 477: |
| 9473 | switch(ndx) { |
| 9474 | case 0: |
| 9475 | p = "pid_t" ; |
| 9476 | break; |
| 9477 | case 1: |
| 9478 | p = "uint64_t" ; |
| 9479 | break; |
| 9480 | default: |
| 9481 | break; |
| 9482 | }; |
| 9483 | break; |
| 9484 | /* bsdthread_ctl */ |
| 9485 | case 478: |
| 9486 | switch(ndx) { |
| 9487 | case 0: |
| 9488 | p = "user_addr_t" ; |
| 9489 | break; |
| 9490 | case 1: |
| 9491 | p = "user_addr_t" ; |
| 9492 | break; |
| 9493 | case 2: |
| 9494 | p = "user_addr_t" ; |
| 9495 | break; |
| 9496 | case 3: |
| 9497 | p = "user_addr_t" ; |
| 9498 | break; |
| 9499 | default: |
| 9500 | break; |
| 9501 | }; |
| 9502 | break; |
| 9503 | /* openbyid_np */ |
| 9504 | case 479: |
| 9505 | switch(ndx) { |
| 9506 | case 0: |
| 9507 | p = "user_addr_t" ; |
| 9508 | break; |
| 9509 | case 1: |
| 9510 | p = "user_addr_t" ; |
| 9511 | break; |
| 9512 | case 2: |
| 9513 | p = "int" ; |
| 9514 | break; |
| 9515 | default: |
| 9516 | break; |
| 9517 | }; |
| 9518 | break; |
| 9519 | #if SOCKETS |
| 9520 | /* recvmsg_x */ |
| 9521 | case 480: |
| 9522 | switch(ndx) { |
| 9523 | case 0: |
| 9524 | p = "int" ; |
| 9525 | break; |
| 9526 | case 1: |
| 9527 | p = "userland struct msghdr_x *" ; |
| 9528 | break; |
| 9529 | case 2: |
| 9530 | p = "u_int" ; |
| 9531 | break; |
| 9532 | case 3: |
| 9533 | p = "int" ; |
| 9534 | break; |
| 9535 | default: |
| 9536 | break; |
| 9537 | }; |
| 9538 | break; |
| 9539 | /* sendmsg_x */ |
| 9540 | case 481: |
| 9541 | switch(ndx) { |
| 9542 | case 0: |
| 9543 | p = "int" ; |
| 9544 | break; |
| 9545 | case 1: |
| 9546 | p = "userland struct msghdr_x *" ; |
| 9547 | break; |
| 9548 | case 2: |
| 9549 | p = "u_int" ; |
| 9550 | break; |
| 9551 | case 3: |
| 9552 | p = "int" ; |
| 9553 | break; |
| 9554 | default: |
| 9555 | break; |
| 9556 | }; |
| 9557 | break; |
| 9558 | #else |
| 9559 | #endif /* SOCKETS */ |
| 9560 | /* thread_selfusage */ |
| 9561 | case 482: |
| 9562 | break; |
| 9563 | #if CONFIG_CSR |
| 9564 | /* csrctl */ |
| 9565 | case 483: |
| 9566 | switch(ndx) { |
| 9567 | case 0: |
| 9568 | p = "uint32_t" ; |
| 9569 | break; |
| 9570 | case 1: |
| 9571 | p = "user_addr_t" ; |
| 9572 | break; |
| 9573 | case 2: |
| 9574 | p = "user_addr_t" ; |
| 9575 | break; |
| 9576 | default: |
| 9577 | break; |
| 9578 | }; |
| 9579 | break; |
| 9580 | #else |
| 9581 | #endif /* CSR */ |
| 9582 | /* guarded_open_dprotected_np */ |
| 9583 | case 484: |
| 9584 | switch(ndx) { |
| 9585 | case 0: |
| 9586 | p = "user_addr_t" ; |
| 9587 | break; |
| 9588 | case 1: |
| 9589 | p = "userland const guardid_t *" ; |
| 9590 | break; |
| 9591 | case 2: |
| 9592 | p = "u_int" ; |
| 9593 | break; |
| 9594 | case 3: |
| 9595 | p = "int" ; |
| 9596 | break; |
| 9597 | case 4: |
| 9598 | p = "int" ; |
| 9599 | break; |
| 9600 | case 5: |
| 9601 | p = "int" ; |
| 9602 | break; |
| 9603 | case 6: |
| 9604 | p = "int" ; |
| 9605 | break; |
| 9606 | default: |
| 9607 | break; |
| 9608 | }; |
| 9609 | break; |
| 9610 | /* guarded_write_np */ |
| 9611 | case 485: |
| 9612 | switch(ndx) { |
| 9613 | case 0: |
| 9614 | p = "int" ; |
| 9615 | break; |
| 9616 | case 1: |
| 9617 | p = "userland const guardid_t *" ; |
| 9618 | break; |
| 9619 | case 2: |
| 9620 | p = "user_addr_t" ; |
| 9621 | break; |
| 9622 | case 3: |
| 9623 | p = "user_size_t" ; |
| 9624 | break; |
| 9625 | default: |
| 9626 | break; |
| 9627 | }; |
| 9628 | break; |
| 9629 | /* guarded_pwrite_np */ |
| 9630 | case 486: |
| 9631 | switch(ndx) { |
| 9632 | case 0: |
| 9633 | p = "int" ; |
| 9634 | break; |
| 9635 | case 1: |
| 9636 | p = "userland const guardid_t *" ; |
| 9637 | break; |
| 9638 | case 2: |
| 9639 | p = "user_addr_t" ; |
| 9640 | break; |
| 9641 | case 3: |
| 9642 | p = "user_size_t" ; |
| 9643 | break; |
| 9644 | case 4: |
| 9645 | p = "off_t" ; |
| 9646 | break; |
| 9647 | default: |
| 9648 | break; |
| 9649 | }; |
| 9650 | break; |
| 9651 | /* guarded_writev_np */ |
| 9652 | case 487: |
| 9653 | switch(ndx) { |
| 9654 | case 0: |
| 9655 | p = "int" ; |
| 9656 | break; |
| 9657 | case 1: |
| 9658 | p = "userland const guardid_t *" ; |
| 9659 | break; |
| 9660 | case 2: |
| 9661 | p = "userland struct iovec *" ; |
| 9662 | break; |
| 9663 | case 3: |
| 9664 | p = "int" ; |
| 9665 | break; |
| 9666 | default: |
| 9667 | break; |
| 9668 | }; |
| 9669 | break; |
| 9670 | /* renameatx_np */ |
| 9671 | case 488: |
| 9672 | switch(ndx) { |
| 9673 | case 0: |
| 9674 | p = "int" ; |
| 9675 | break; |
| 9676 | case 1: |
| 9677 | p = "userland char *" ; |
| 9678 | break; |
| 9679 | case 2: |
| 9680 | p = "int" ; |
| 9681 | break; |
| 9682 | case 3: |
| 9683 | p = "userland char *" ; |
| 9684 | break; |
| 9685 | case 4: |
| 9686 | p = "u_int" ; |
| 9687 | break; |
| 9688 | default: |
| 9689 | break; |
| 9690 | }; |
| 9691 | break; |
| 9692 | #if CONFIG_CODE_DECRYPTION |
| 9693 | /* mremap_encrypted */ |
| 9694 | case 489: |
| 9695 | switch(ndx) { |
| 9696 | case 0: |
| 9697 | p = "caddr_t" ; |
| 9698 | break; |
| 9699 | case 1: |
| 9700 | p = "size_t" ; |
| 9701 | break; |
| 9702 | case 2: |
| 9703 | p = "uint32_t" ; |
| 9704 | break; |
| 9705 | case 3: |
| 9706 | p = "uint32_t" ; |
| 9707 | break; |
| 9708 | case 4: |
| 9709 | p = "uint32_t" ; |
| 9710 | break; |
| 9711 | default: |
| 9712 | break; |
| 9713 | }; |
| 9714 | break; |
| 9715 | #else |
| 9716 | #endif |
| 9717 | #if NETWORKING |
| 9718 | /* netagent_trigger */ |
| 9719 | case 490: |
| 9720 | switch(ndx) { |
| 9721 | case 0: |
| 9722 | p = "uuid_t" ; |
| 9723 | break; |
| 9724 | case 1: |
| 9725 | p = "size_t" ; |
| 9726 | break; |
| 9727 | default: |
| 9728 | break; |
| 9729 | }; |
| 9730 | break; |
| 9731 | #else |
| 9732 | #endif /* NETWORKING */ |
| 9733 | /* stack_snapshot_with_config */ |
| 9734 | case 491: |
| 9735 | switch(ndx) { |
| 9736 | case 0: |
| 9737 | p = "int" ; |
| 9738 | break; |
| 9739 | case 1: |
| 9740 | p = "user_addr_t" ; |
| 9741 | break; |
| 9742 | case 2: |
| 9743 | p = "size_t" ; |
| 9744 | break; |
| 9745 | default: |
| 9746 | break; |
| 9747 | }; |
| 9748 | break; |
| 9749 | #if CONFIG_TELEMETRY |
| 9750 | /* microstackshot */ |
| 9751 | case 492: |
| 9752 | switch(ndx) { |
| 9753 | case 0: |
| 9754 | p = "user_addr_t" ; |
| 9755 | break; |
| 9756 | case 1: |
| 9757 | p = "uint32_t" ; |
| 9758 | break; |
| 9759 | case 2: |
| 9760 | p = "uint32_t" ; |
| 9761 | break; |
| 9762 | default: |
| 9763 | break; |
| 9764 | }; |
| 9765 | break; |
| 9766 | #else |
| 9767 | #endif /* CONFIG_TELEMETRY */ |
| 9768 | #if PGO |
| 9769 | /* grab_pgo_data */ |
| 9770 | case 493: |
| 9771 | switch(ndx) { |
| 9772 | case 0: |
| 9773 | p = "user_addr_t" ; |
| 9774 | break; |
| 9775 | case 1: |
| 9776 | p = "int" ; |
| 9777 | break; |
| 9778 | case 2: |
| 9779 | p = "user_addr_t" ; |
| 9780 | break; |
| 9781 | case 3: |
| 9782 | p = "user_ssize_t" ; |
| 9783 | break; |
| 9784 | default: |
| 9785 | break; |
| 9786 | }; |
| 9787 | break; |
| 9788 | #else |
| 9789 | #endif |
| 9790 | #if CONFIG_PERSONAS |
| 9791 | /* persona */ |
| 9792 | case 494: |
| 9793 | switch(ndx) { |
| 9794 | case 0: |
| 9795 | p = "uint32_t" ; |
| 9796 | break; |
| 9797 | case 1: |
| 9798 | p = "uint32_t" ; |
| 9799 | break; |
| 9800 | case 2: |
| 9801 | p = "userland struct kpersona_info *" ; |
| 9802 | break; |
| 9803 | case 3: |
| 9804 | p = "userland uid_t *" ; |
| 9805 | break; |
| 9806 | case 4: |
| 9807 | p = "userland size_t *" ; |
| 9808 | break; |
| 9809 | default: |
| 9810 | break; |
| 9811 | }; |
| 9812 | break; |
| 9813 | #else |
| 9814 | #endif |
| 9815 | /* work_interval_ctl */ |
| 9816 | case 499: |
| 9817 | switch(ndx) { |
| 9818 | case 0: |
| 9819 | p = "uint32_t" ; |
| 9820 | break; |
| 9821 | case 1: |
| 9822 | p = "uint64_t" ; |
| 9823 | break; |
| 9824 | case 2: |
| 9825 | p = "userland void *" ; |
| 9826 | break; |
| 9827 | case 3: |
| 9828 | p = "size_t" ; |
| 9829 | break; |
| 9830 | default: |
| 9831 | break; |
| 9832 | }; |
| 9833 | break; |
| 9834 | /* getentropy */ |
| 9835 | case 500: |
| 9836 | switch(ndx) { |
| 9837 | case 0: |
| 9838 | p = "userland void *" ; |
| 9839 | break; |
| 9840 | case 1: |
| 9841 | p = "size_t" ; |
| 9842 | break; |
| 9843 | default: |
| 9844 | break; |
| 9845 | }; |
| 9846 | break; |
| 9847 | #if NECP |
| 9848 | /* necp_open */ |
| 9849 | case 501: |
| 9850 | switch(ndx) { |
| 9851 | case 0: |
| 9852 | p = "int" ; |
| 9853 | break; |
| 9854 | default: |
| 9855 | break; |
| 9856 | }; |
| 9857 | break; |
| 9858 | /* necp_client_action */ |
| 9859 | case 502: |
| 9860 | switch(ndx) { |
| 9861 | case 0: |
| 9862 | p = "int" ; |
| 9863 | break; |
| 9864 | case 1: |
| 9865 | p = "uint32_t" ; |
| 9866 | break; |
| 9867 | case 2: |
| 9868 | p = "uuid_t" ; |
| 9869 | break; |
| 9870 | case 3: |
| 9871 | p = "size_t" ; |
| 9872 | break; |
| 9873 | case 4: |
| 9874 | p = "userland uint8_t *" ; |
| 9875 | break; |
| 9876 | case 5: |
| 9877 | p = "size_t" ; |
| 9878 | break; |
| 9879 | default: |
| 9880 | break; |
| 9881 | }; |
| 9882 | break; |
| 9883 | #else |
| 9884 | #endif /* NECP */ |
| 9885 | /* ulock_wait */ |
| 9886 | case 515: |
| 9887 | switch(ndx) { |
| 9888 | case 0: |
| 9889 | p = "uint32_t" ; |
| 9890 | break; |
| 9891 | case 1: |
| 9892 | p = "userland void *" ; |
| 9893 | break; |
| 9894 | case 2: |
| 9895 | p = "uint64_t" ; |
| 9896 | break; |
| 9897 | case 3: |
| 9898 | p = "uint32_t" ; |
| 9899 | break; |
| 9900 | default: |
| 9901 | break; |
| 9902 | }; |
| 9903 | break; |
| 9904 | /* ulock_wake */ |
| 9905 | case 516: |
| 9906 | switch(ndx) { |
| 9907 | case 0: |
| 9908 | p = "uint32_t" ; |
| 9909 | break; |
| 9910 | case 1: |
| 9911 | p = "userland void *" ; |
| 9912 | break; |
| 9913 | case 2: |
| 9914 | p = "uint64_t" ; |
| 9915 | break; |
| 9916 | default: |
| 9917 | break; |
| 9918 | }; |
| 9919 | break; |
| 9920 | /* fclonefileat */ |
| 9921 | case 517: |
| 9922 | switch(ndx) { |
| 9923 | case 0: |
| 9924 | p = "int" ; |
| 9925 | break; |
| 9926 | case 1: |
| 9927 | p = "int" ; |
| 9928 | break; |
| 9929 | case 2: |
| 9930 | p = "user_addr_t" ; |
| 9931 | break; |
| 9932 | case 3: |
| 9933 | p = "uint32_t" ; |
| 9934 | break; |
| 9935 | default: |
| 9936 | break; |
| 9937 | }; |
| 9938 | break; |
| 9939 | /* fs_snapshot */ |
| 9940 | case 518: |
| 9941 | switch(ndx) { |
| 9942 | case 0: |
| 9943 | p = "uint32_t" ; |
| 9944 | break; |
| 9945 | case 1: |
| 9946 | p = "int" ; |
| 9947 | break; |
| 9948 | case 2: |
| 9949 | p = "user_addr_t" ; |
| 9950 | break; |
| 9951 | case 3: |
| 9952 | p = "user_addr_t" ; |
| 9953 | break; |
| 9954 | case 4: |
| 9955 | p = "user_addr_t" ; |
| 9956 | break; |
| 9957 | case 5: |
| 9958 | p = "uint32_t" ; |
| 9959 | break; |
| 9960 | default: |
| 9961 | break; |
| 9962 | }; |
| 9963 | break; |
| 9964 | /* terminate_with_payload */ |
| 9965 | case 520: |
| 9966 | switch(ndx) { |
| 9967 | case 0: |
| 9968 | p = "int" ; |
| 9969 | break; |
| 9970 | case 1: |
| 9971 | p = "uint32_t" ; |
| 9972 | break; |
| 9973 | case 2: |
| 9974 | p = "uint64_t" ; |
| 9975 | break; |
| 9976 | case 3: |
| 9977 | p = "userland void *" ; |
| 9978 | break; |
| 9979 | case 4: |
| 9980 | p = "uint32_t" ; |
| 9981 | break; |
| 9982 | case 5: |
| 9983 | p = "userland const char *" ; |
| 9984 | break; |
| 9985 | case 6: |
| 9986 | p = "uint64_t" ; |
| 9987 | break; |
| 9988 | default: |
| 9989 | break; |
| 9990 | }; |
| 9991 | break; |
| 9992 | /* abort_with_payload */ |
| 9993 | case 521: |
| 9994 | switch(ndx) { |
| 9995 | case 0: |
| 9996 | p = "uint32_t" ; |
| 9997 | break; |
| 9998 | case 1: |
| 9999 | p = "uint64_t" ; |
| 10000 | break; |
| 10001 | case 2: |
| 10002 | p = "userland void *" ; |
| 10003 | break; |
| 10004 | case 3: |
| 10005 | p = "uint32_t" ; |
| 10006 | break; |
| 10007 | case 4: |
| 10008 | p = "userland const char *" ; |
| 10009 | break; |
| 10010 | case 5: |
| 10011 | p = "uint64_t" ; |
| 10012 | break; |
| 10013 | default: |
| 10014 | break; |
| 10015 | }; |
| 10016 | break; |
| 10017 | #if NECP |
| 10018 | /* necp_session_open */ |
| 10019 | case 522: |
| 10020 | switch(ndx) { |
| 10021 | case 0: |
| 10022 | p = "int" ; |
| 10023 | break; |
| 10024 | default: |
| 10025 | break; |
| 10026 | }; |
| 10027 | break; |
| 10028 | /* necp_session_action */ |
| 10029 | case 523: |
| 10030 | switch(ndx) { |
| 10031 | case 0: |
| 10032 | p = "int" ; |
| 10033 | break; |
| 10034 | case 1: |
| 10035 | p = "uint32_t" ; |
| 10036 | break; |
| 10037 | case 2: |
| 10038 | p = "userland uint8_t *" ; |
| 10039 | break; |
| 10040 | case 3: |
| 10041 | p = "size_t" ; |
| 10042 | break; |
| 10043 | case 4: |
| 10044 | p = "userland uint8_t *" ; |
| 10045 | break; |
| 10046 | case 5: |
| 10047 | p = "size_t" ; |
| 10048 | break; |
| 10049 | default: |
| 10050 | break; |
| 10051 | }; |
| 10052 | break; |
| 10053 | #else /* NECP */ |
| 10054 | #endif /* NECP */ |
| 10055 | /* setattrlistat */ |
| 10056 | case 524: |
| 10057 | switch(ndx) { |
| 10058 | case 0: |
| 10059 | p = "int" ; |
| 10060 | break; |
| 10061 | case 1: |
| 10062 | p = "userland const char *" ; |
| 10063 | break; |
| 10064 | case 2: |
| 10065 | p = "userland struct attrlist *" ; |
| 10066 | break; |
| 10067 | case 3: |
| 10068 | p = "userland void *" ; |
| 10069 | break; |
| 10070 | case 4: |
| 10071 | p = "size_t" ; |
| 10072 | break; |
| 10073 | case 5: |
| 10074 | p = "uint32_t" ; |
| 10075 | break; |
| 10076 | default: |
| 10077 | break; |
| 10078 | }; |
| 10079 | break; |
| 10080 | /* net_qos_guideline */ |
| 10081 | case 525: |
| 10082 | switch(ndx) { |
| 10083 | case 0: |
| 10084 | p = "userland struct net_qos_param *" ; |
| 10085 | break; |
| 10086 | case 1: |
| 10087 | p = "uint32_t" ; |
| 10088 | break; |
| 10089 | default: |
| 10090 | break; |
| 10091 | }; |
| 10092 | break; |
| 10093 | /* fmount */ |
| 10094 | case 526: |
| 10095 | switch(ndx) { |
| 10096 | case 0: |
| 10097 | p = "userland const char *" ; |
| 10098 | break; |
| 10099 | case 1: |
| 10100 | p = "int" ; |
| 10101 | break; |
| 10102 | case 2: |
| 10103 | p = "int" ; |
| 10104 | break; |
| 10105 | case 3: |
| 10106 | p = "userland void *" ; |
| 10107 | break; |
| 10108 | default: |
| 10109 | break; |
| 10110 | }; |
| 10111 | break; |
| 10112 | /* ntp_adjtime */ |
| 10113 | case 527: |
| 10114 | switch(ndx) { |
| 10115 | case 0: |
| 10116 | p = "userland struct timex *" ; |
| 10117 | break; |
| 10118 | default: |
| 10119 | break; |
| 10120 | }; |
| 10121 | break; |
| 10122 | /* ntp_gettime */ |
| 10123 | case 528: |
| 10124 | switch(ndx) { |
| 10125 | case 0: |
| 10126 | p = "userland struct ntptimeval *" ; |
| 10127 | break; |
| 10128 | default: |
| 10129 | break; |
| 10130 | }; |
| 10131 | break; |
| 10132 | /* os_fault_with_payload */ |
| 10133 | case 529: |
| 10134 | switch(ndx) { |
| 10135 | case 0: |
| 10136 | p = "uint32_t" ; |
| 10137 | break; |
| 10138 | case 1: |
| 10139 | p = "uint64_t" ; |
| 10140 | break; |
| 10141 | case 2: |
| 10142 | p = "userland void *" ; |
| 10143 | break; |
| 10144 | case 3: |
| 10145 | p = "uint32_t" ; |
| 10146 | break; |
| 10147 | case 4: |
| 10148 | p = "userland const char *" ; |
| 10149 | break; |
| 10150 | case 5: |
| 10151 | p = "uint64_t" ; |
| 10152 | break; |
| 10153 | default: |
| 10154 | break; |
| 10155 | }; |
| 10156 | break; |
| 10157 | #if CONFIG_WORKQUEUE |
| 10158 | /* kqueue_workloop_ctl */ |
| 10159 | case 530: |
| 10160 | switch(ndx) { |
| 10161 | case 0: |
| 10162 | p = "user_addr_t" ; |
| 10163 | break; |
| 10164 | case 1: |
| 10165 | p = "uint64_t" ; |
| 10166 | break; |
| 10167 | case 2: |
| 10168 | p = "user_addr_t" ; |
| 10169 | break; |
| 10170 | case 3: |
| 10171 | p = "size_t" ; |
| 10172 | break; |
| 10173 | default: |
| 10174 | break; |
| 10175 | }; |
| 10176 | break; |
| 10177 | #else |
| 10178 | #endif // CONFIG_WORKQUEUE |
| 10179 | default: |
| 10180 | break; |
| 10181 | }; |
| 10182 | if (p != NULL) |
| 10183 | strlcpy(desc, p, descsz); |
| 10184 | } |
| 10185 | void |
| 10186 | systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) |
| 10187 | { |
| 10188 | const char *p = NULL; |
| 10189 | switch (sysnum) { |
| 10190 | /* nosys */ |
| 10191 | case 0: |
| 10192 | if (ndx == 0 || ndx == 1) |
| 10193 | p = "int" ; |
| 10194 | break; |
| 10195 | /* exit */ |
| 10196 | case 1: |
| 10197 | if (ndx == 0 || ndx == 1) |
| 10198 | p = "void" ; |
| 10199 | break; |
| 10200 | /* fork */ |
| 10201 | case 2: |
| 10202 | if (ndx == 0 || ndx == 1) |
| 10203 | p = "int" ; |
| 10204 | break; |
| 10205 | /* read */ |
| 10206 | case 3: |
| 10207 | if (ndx == 0 || ndx == 1) |
| 10208 | p = "user_ssize_t" ; |
| 10209 | break; |
| 10210 | /* write */ |
| 10211 | case 4: |
| 10212 | if (ndx == 0 || ndx == 1) |
| 10213 | p = "user_ssize_t" ; |
| 10214 | break; |
| 10215 | /* open */ |
| 10216 | case 5: |
| 10217 | if (ndx == 0 || ndx == 1) |
| 10218 | p = "int" ; |
| 10219 | break; |
| 10220 | /* close */ |
| 10221 | case 6: |
| 10222 | if (ndx == 0 || ndx == 1) |
| 10223 | p = "int" ; |
| 10224 | break; |
| 10225 | /* wait4 */ |
| 10226 | case 7: |
| 10227 | if (ndx == 0 || ndx == 1) |
| 10228 | p = "int" ; |
| 10229 | break; |
| 10230 | /* link */ |
| 10231 | case 9: |
| 10232 | if (ndx == 0 || ndx == 1) |
| 10233 | p = "int" ; |
| 10234 | break; |
| 10235 | /* unlink */ |
| 10236 | case 10: |
| 10237 | if (ndx == 0 || ndx == 1) |
| 10238 | p = "int" ; |
| 10239 | break; |
| 10240 | /* chdir */ |
| 10241 | case 12: |
| 10242 | if (ndx == 0 || ndx == 1) |
| 10243 | p = "int" ; |
| 10244 | break; |
| 10245 | /* fchdir */ |
| 10246 | case 13: |
| 10247 | if (ndx == 0 || ndx == 1) |
| 10248 | p = "int" ; |
| 10249 | break; |
| 10250 | /* mknod */ |
| 10251 | case 14: |
| 10252 | if (ndx == 0 || ndx == 1) |
| 10253 | p = "int" ; |
| 10254 | break; |
| 10255 | /* chmod */ |
| 10256 | case 15: |
| 10257 | if (ndx == 0 || ndx == 1) |
| 10258 | p = "int" ; |
| 10259 | break; |
| 10260 | /* chown */ |
| 10261 | case 16: |
| 10262 | if (ndx == 0 || ndx == 1) |
| 10263 | p = "int" ; |
| 10264 | break; |
| 10265 | /* getfsstat */ |
| 10266 | case 18: |
| 10267 | if (ndx == 0 || ndx == 1) |
| 10268 | p = "int" ; |
| 10269 | break; |
| 10270 | /* getpid */ |
| 10271 | case 20: |
| 10272 | if (ndx == 0 || ndx == 1) |
| 10273 | p = "int" ; |
| 10274 | break; |
| 10275 | /* setuid */ |
| 10276 | case 23: |
| 10277 | if (ndx == 0 || ndx == 1) |
| 10278 | p = "int" ; |
| 10279 | break; |
| 10280 | /* getuid */ |
| 10281 | case 24: |
| 10282 | if (ndx == 0 || ndx == 1) |
| 10283 | p = "int" ; |
| 10284 | break; |
| 10285 | /* geteuid */ |
| 10286 | case 25: |
| 10287 | if (ndx == 0 || ndx == 1) |
| 10288 | p = "int" ; |
| 10289 | break; |
| 10290 | /* ptrace */ |
| 10291 | case 26: |
| 10292 | if (ndx == 0 || ndx == 1) |
| 10293 | p = "int" ; |
| 10294 | break; |
| 10295 | #if SOCKETS |
| 10296 | /* recvmsg */ |
| 10297 | case 27: |
| 10298 | if (ndx == 0 || ndx == 1) |
| 10299 | p = "int" ; |
| 10300 | break; |
| 10301 | /* sendmsg */ |
| 10302 | case 28: |
| 10303 | if (ndx == 0 || ndx == 1) |
| 10304 | p = "int" ; |
| 10305 | break; |
| 10306 | /* recvfrom */ |
| 10307 | case 29: |
| 10308 | if (ndx == 0 || ndx == 1) |
| 10309 | p = "int" ; |
| 10310 | break; |
| 10311 | /* accept */ |
| 10312 | case 30: |
| 10313 | if (ndx == 0 || ndx == 1) |
| 10314 | p = "int" ; |
| 10315 | break; |
| 10316 | /* getpeername */ |
| 10317 | case 31: |
| 10318 | if (ndx == 0 || ndx == 1) |
| 10319 | p = "int" ; |
| 10320 | break; |
| 10321 | /* getsockname */ |
| 10322 | case 32: |
| 10323 | if (ndx == 0 || ndx == 1) |
| 10324 | p = "int" ; |
| 10325 | break; |
| 10326 | #else |
| 10327 | #endif /* SOCKETS */ |
| 10328 | /* access */ |
| 10329 | case 33: |
| 10330 | if (ndx == 0 || ndx == 1) |
| 10331 | p = "int" ; |
| 10332 | break; |
| 10333 | /* chflags */ |
| 10334 | case 34: |
| 10335 | if (ndx == 0 || ndx == 1) |
| 10336 | p = "int" ; |
| 10337 | break; |
| 10338 | /* fchflags */ |
| 10339 | case 35: |
| 10340 | if (ndx == 0 || ndx == 1) |
| 10341 | p = "int" ; |
| 10342 | break; |
| 10343 | /* sync */ |
| 10344 | case 36: |
| 10345 | if (ndx == 0 || ndx == 1) |
| 10346 | p = "int" ; |
| 10347 | break; |
| 10348 | /* kill */ |
| 10349 | case 37: |
| 10350 | if (ndx == 0 || ndx == 1) |
| 10351 | p = "int" ; |
| 10352 | break; |
| 10353 | /* getppid */ |
| 10354 | case 39: |
| 10355 | if (ndx == 0 || ndx == 1) |
| 10356 | p = "int" ; |
| 10357 | break; |
| 10358 | /* dup */ |
| 10359 | case 41: |
| 10360 | if (ndx == 0 || ndx == 1) |
| 10361 | p = "int" ; |
| 10362 | break; |
| 10363 | /* pipe */ |
| 10364 | case 42: |
| 10365 | if (ndx == 0 || ndx == 1) |
| 10366 | p = "int" ; |
| 10367 | break; |
| 10368 | /* getegid */ |
| 10369 | case 43: |
| 10370 | if (ndx == 0 || ndx == 1) |
| 10371 | p = "int" ; |
| 10372 | break; |
| 10373 | /* sigaction */ |
| 10374 | case 46: |
| 10375 | if (ndx == 0 || ndx == 1) |
| 10376 | p = "int" ; |
| 10377 | break; |
| 10378 | /* getgid */ |
| 10379 | case 47: |
| 10380 | if (ndx == 0 || ndx == 1) |
| 10381 | p = "int" ; |
| 10382 | break; |
| 10383 | /* sigprocmask */ |
| 10384 | case 48: |
| 10385 | if (ndx == 0 || ndx == 1) |
| 10386 | p = "int" ; |
| 10387 | break; |
| 10388 | /* getlogin */ |
| 10389 | case 49: |
| 10390 | if (ndx == 0 || ndx == 1) |
| 10391 | p = "int" ; |
| 10392 | break; |
| 10393 | /* setlogin */ |
| 10394 | case 50: |
| 10395 | if (ndx == 0 || ndx == 1) |
| 10396 | p = "int" ; |
| 10397 | break; |
| 10398 | /* acct */ |
| 10399 | case 51: |
| 10400 | if (ndx == 0 || ndx == 1) |
| 10401 | p = "int" ; |
| 10402 | break; |
| 10403 | /* sigpending */ |
| 10404 | case 52: |
| 10405 | if (ndx == 0 || ndx == 1) |
| 10406 | p = "int" ; |
| 10407 | break; |
| 10408 | /* sigaltstack */ |
| 10409 | case 53: |
| 10410 | if (ndx == 0 || ndx == 1) |
| 10411 | p = "int" ; |
| 10412 | break; |
| 10413 | /* ioctl */ |
| 10414 | case 54: |
| 10415 | if (ndx == 0 || ndx == 1) |
| 10416 | p = "int" ; |
| 10417 | break; |
| 10418 | /* reboot */ |
| 10419 | case 55: |
| 10420 | if (ndx == 0 || ndx == 1) |
| 10421 | p = "int" ; |
| 10422 | break; |
| 10423 | /* revoke */ |
| 10424 | case 56: |
| 10425 | if (ndx == 0 || ndx == 1) |
| 10426 | p = "int" ; |
| 10427 | break; |
| 10428 | /* symlink */ |
| 10429 | case 57: |
| 10430 | if (ndx == 0 || ndx == 1) |
| 10431 | p = "int" ; |
| 10432 | break; |
| 10433 | /* readlink */ |
| 10434 | case 58: |
| 10435 | if (ndx == 0 || ndx == 1) |
| 10436 | p = "int" ; |
| 10437 | break; |
| 10438 | /* execve */ |
| 10439 | case 59: |
| 10440 | if (ndx == 0 || ndx == 1) |
| 10441 | p = "int" ; |
| 10442 | break; |
| 10443 | /* umask */ |
| 10444 | case 60: |
| 10445 | if (ndx == 0 || ndx == 1) |
| 10446 | p = "int" ; |
| 10447 | break; |
| 10448 | /* chroot */ |
| 10449 | case 61: |
| 10450 | if (ndx == 0 || ndx == 1) |
| 10451 | p = "int" ; |
| 10452 | break; |
| 10453 | /* msync */ |
| 10454 | case 65: |
| 10455 | if (ndx == 0 || ndx == 1) |
| 10456 | p = "int" ; |
| 10457 | break; |
| 10458 | /* vfork */ |
| 10459 | case 66: |
| 10460 | if (ndx == 0 || ndx == 1) |
| 10461 | p = "int" ; |
| 10462 | break; |
| 10463 | /* munmap */ |
| 10464 | case 73: |
| 10465 | if (ndx == 0 || ndx == 1) |
| 10466 | p = "int" ; |
| 10467 | break; |
| 10468 | /* mprotect */ |
| 10469 | case 74: |
| 10470 | if (ndx == 0 || ndx == 1) |
| 10471 | p = "int" ; |
| 10472 | break; |
| 10473 | /* madvise */ |
| 10474 | case 75: |
| 10475 | if (ndx == 0 || ndx == 1) |
| 10476 | p = "int" ; |
| 10477 | break; |
| 10478 | /* mincore */ |
| 10479 | case 78: |
| 10480 | if (ndx == 0 || ndx == 1) |
| 10481 | p = "int" ; |
| 10482 | break; |
| 10483 | /* getgroups */ |
| 10484 | case 79: |
| 10485 | if (ndx == 0 || ndx == 1) |
| 10486 | p = "int" ; |
| 10487 | break; |
| 10488 | /* setgroups */ |
| 10489 | case 80: |
| 10490 | if (ndx == 0 || ndx == 1) |
| 10491 | p = "int" ; |
| 10492 | break; |
| 10493 | /* getpgrp */ |
| 10494 | case 81: |
| 10495 | if (ndx == 0 || ndx == 1) |
| 10496 | p = "int" ; |
| 10497 | break; |
| 10498 | /* setpgid */ |
| 10499 | case 82: |
| 10500 | if (ndx == 0 || ndx == 1) |
| 10501 | p = "int" ; |
| 10502 | break; |
| 10503 | /* setitimer */ |
| 10504 | case 83: |
| 10505 | if (ndx == 0 || ndx == 1) |
| 10506 | p = "int" ; |
| 10507 | break; |
| 10508 | /* swapon */ |
| 10509 | case 85: |
| 10510 | if (ndx == 0 || ndx == 1) |
| 10511 | p = "int" ; |
| 10512 | break; |
| 10513 | /* getitimer */ |
| 10514 | case 86: |
| 10515 | if (ndx == 0 || ndx == 1) |
| 10516 | p = "int" ; |
| 10517 | break; |
| 10518 | /* getdtablesize */ |
| 10519 | case 89: |
| 10520 | if (ndx == 0 || ndx == 1) |
| 10521 | p = "int" ; |
| 10522 | break; |
| 10523 | /* dup2 */ |
| 10524 | case 90: |
| 10525 | if (ndx == 0 || ndx == 1) |
| 10526 | p = "int" ; |
| 10527 | break; |
| 10528 | /* fcntl */ |
| 10529 | case 92: |
| 10530 | if (ndx == 0 || ndx == 1) |
| 10531 | p = "int" ; |
| 10532 | break; |
| 10533 | /* select */ |
| 10534 | case 93: |
| 10535 | if (ndx == 0 || ndx == 1) |
| 10536 | p = "int" ; |
| 10537 | break; |
| 10538 | /* fsync */ |
| 10539 | case 95: |
| 10540 | if (ndx == 0 || ndx == 1) |
| 10541 | p = "int" ; |
| 10542 | break; |
| 10543 | /* setpriority */ |
| 10544 | case 96: |
| 10545 | if (ndx == 0 || ndx == 1) |
| 10546 | p = "int" ; |
| 10547 | break; |
| 10548 | #if SOCKETS |
| 10549 | /* socket */ |
| 10550 | case 97: |
| 10551 | if (ndx == 0 || ndx == 1) |
| 10552 | p = "int" ; |
| 10553 | break; |
| 10554 | /* connect */ |
| 10555 | case 98: |
| 10556 | if (ndx == 0 || ndx == 1) |
| 10557 | p = "int" ; |
| 10558 | break; |
| 10559 | #else |
| 10560 | #endif /* SOCKETS */ |
| 10561 | /* getpriority */ |
| 10562 | case 100: |
| 10563 | if (ndx == 0 || ndx == 1) |
| 10564 | p = "int" ; |
| 10565 | break; |
| 10566 | #if SOCKETS |
| 10567 | /* bind */ |
| 10568 | case 104: |
| 10569 | if (ndx == 0 || ndx == 1) |
| 10570 | p = "int" ; |
| 10571 | break; |
| 10572 | /* setsockopt */ |
| 10573 | case 105: |
| 10574 | if (ndx == 0 || ndx == 1) |
| 10575 | p = "int" ; |
| 10576 | break; |
| 10577 | /* listen */ |
| 10578 | case 106: |
| 10579 | if (ndx == 0 || ndx == 1) |
| 10580 | p = "int" ; |
| 10581 | break; |
| 10582 | #else |
| 10583 | #endif /* SOCKETS */ |
| 10584 | /* sigsuspend */ |
| 10585 | case 111: |
| 10586 | if (ndx == 0 || ndx == 1) |
| 10587 | p = "int" ; |
| 10588 | break; |
| 10589 | #if SOCKETS |
| 10590 | #else |
| 10591 | #endif /* SOCKETS */ |
| 10592 | /* gettimeofday */ |
| 10593 | case 116: |
| 10594 | if (ndx == 0 || ndx == 1) |
| 10595 | p = "int" ; |
| 10596 | break; |
| 10597 | /* getrusage */ |
| 10598 | case 117: |
| 10599 | if (ndx == 0 || ndx == 1) |
| 10600 | p = "int" ; |
| 10601 | break; |
| 10602 | #if SOCKETS |
| 10603 | /* getsockopt */ |
| 10604 | case 118: |
| 10605 | if (ndx == 0 || ndx == 1) |
| 10606 | p = "int" ; |
| 10607 | break; |
| 10608 | #else |
| 10609 | #endif /* SOCKETS */ |
| 10610 | /* readv */ |
| 10611 | case 120: |
| 10612 | if (ndx == 0 || ndx == 1) |
| 10613 | p = "user_ssize_t" ; |
| 10614 | break; |
| 10615 | /* writev */ |
| 10616 | case 121: |
| 10617 | if (ndx == 0 || ndx == 1) |
| 10618 | p = "user_ssize_t" ; |
| 10619 | break; |
| 10620 | /* settimeofday */ |
| 10621 | case 122: |
| 10622 | if (ndx == 0 || ndx == 1) |
| 10623 | p = "int" ; |
| 10624 | break; |
| 10625 | /* fchown */ |
| 10626 | case 123: |
| 10627 | if (ndx == 0 || ndx == 1) |
| 10628 | p = "int" ; |
| 10629 | break; |
| 10630 | /* fchmod */ |
| 10631 | case 124: |
| 10632 | if (ndx == 0 || ndx == 1) |
| 10633 | p = "int" ; |
| 10634 | break; |
| 10635 | /* setreuid */ |
| 10636 | case 126: |
| 10637 | if (ndx == 0 || ndx == 1) |
| 10638 | p = "int" ; |
| 10639 | break; |
| 10640 | /* setregid */ |
| 10641 | case 127: |
| 10642 | if (ndx == 0 || ndx == 1) |
| 10643 | p = "int" ; |
| 10644 | break; |
| 10645 | /* rename */ |
| 10646 | case 128: |
| 10647 | if (ndx == 0 || ndx == 1) |
| 10648 | p = "int" ; |
| 10649 | break; |
| 10650 | /* flock */ |
| 10651 | case 131: |
| 10652 | if (ndx == 0 || ndx == 1) |
| 10653 | p = "int" ; |
| 10654 | break; |
| 10655 | /* mkfifo */ |
| 10656 | case 132: |
| 10657 | if (ndx == 0 || ndx == 1) |
| 10658 | p = "int" ; |
| 10659 | break; |
| 10660 | #if SOCKETS |
| 10661 | /* sendto */ |
| 10662 | case 133: |
| 10663 | if (ndx == 0 || ndx == 1) |
| 10664 | p = "int" ; |
| 10665 | break; |
| 10666 | /* shutdown */ |
| 10667 | case 134: |
| 10668 | if (ndx == 0 || ndx == 1) |
| 10669 | p = "int" ; |
| 10670 | break; |
| 10671 | /* socketpair */ |
| 10672 | case 135: |
| 10673 | if (ndx == 0 || ndx == 1) |
| 10674 | p = "int" ; |
| 10675 | break; |
| 10676 | #else |
| 10677 | #endif /* SOCKETS */ |
| 10678 | /* mkdir */ |
| 10679 | case 136: |
| 10680 | if (ndx == 0 || ndx == 1) |
| 10681 | p = "int" ; |
| 10682 | break; |
| 10683 | /* rmdir */ |
| 10684 | case 137: |
| 10685 | if (ndx == 0 || ndx == 1) |
| 10686 | p = "int" ; |
| 10687 | break; |
| 10688 | /* utimes */ |
| 10689 | case 138: |
| 10690 | if (ndx == 0 || ndx == 1) |
| 10691 | p = "int" ; |
| 10692 | break; |
| 10693 | /* futimes */ |
| 10694 | case 139: |
| 10695 | if (ndx == 0 || ndx == 1) |
| 10696 | p = "int" ; |
| 10697 | break; |
| 10698 | /* adjtime */ |
| 10699 | case 140: |
| 10700 | if (ndx == 0 || ndx == 1) |
| 10701 | p = "int" ; |
| 10702 | break; |
| 10703 | /* gethostuuid */ |
| 10704 | case 142: |
| 10705 | if (ndx == 0 || ndx == 1) |
| 10706 | p = "int" ; |
| 10707 | break; |
| 10708 | /* setsid */ |
| 10709 | case 147: |
| 10710 | if (ndx == 0 || ndx == 1) |
| 10711 | p = "int" ; |
| 10712 | break; |
| 10713 | /* getpgid */ |
| 10714 | case 151: |
| 10715 | if (ndx == 0 || ndx == 1) |
| 10716 | p = "int" ; |
| 10717 | break; |
| 10718 | /* setprivexec */ |
| 10719 | case 152: |
| 10720 | if (ndx == 0 || ndx == 1) |
| 10721 | p = "int" ; |
| 10722 | break; |
| 10723 | /* pread */ |
| 10724 | case 153: |
| 10725 | if (ndx == 0 || ndx == 1) |
| 10726 | p = "user_ssize_t" ; |
| 10727 | break; |
| 10728 | /* pwrite */ |
| 10729 | case 154: |
| 10730 | if (ndx == 0 || ndx == 1) |
| 10731 | p = "user_ssize_t" ; |
| 10732 | break; |
| 10733 | #if NFSSERVER |
| 10734 | /* nfssvc */ |
| 10735 | case 155: |
| 10736 | if (ndx == 0 || ndx == 1) |
| 10737 | p = "int" ; |
| 10738 | break; |
| 10739 | #else |
| 10740 | #endif |
| 10741 | /* statfs */ |
| 10742 | case 157: |
| 10743 | if (ndx == 0 || ndx == 1) |
| 10744 | p = "int" ; |
| 10745 | break; |
| 10746 | /* fstatfs */ |
| 10747 | case 158: |
| 10748 | if (ndx == 0 || ndx == 1) |
| 10749 | p = "int" ; |
| 10750 | break; |
| 10751 | /* unmount */ |
| 10752 | case 159: |
| 10753 | if (ndx == 0 || ndx == 1) |
| 10754 | p = "int" ; |
| 10755 | break; |
| 10756 | #if NFSSERVER |
| 10757 | /* getfh */ |
| 10758 | case 161: |
| 10759 | if (ndx == 0 || ndx == 1) |
| 10760 | p = "int" ; |
| 10761 | break; |
| 10762 | #else |
| 10763 | #endif |
| 10764 | /* quotactl */ |
| 10765 | case 165: |
| 10766 | if (ndx == 0 || ndx == 1) |
| 10767 | p = "int" ; |
| 10768 | break; |
| 10769 | /* mount */ |
| 10770 | case 167: |
| 10771 | if (ndx == 0 || ndx == 1) |
| 10772 | p = "int" ; |
| 10773 | break; |
| 10774 | /* csops */ |
| 10775 | case 169: |
| 10776 | if (ndx == 0 || ndx == 1) |
| 10777 | p = "int" ; |
| 10778 | break; |
| 10779 | /* csops_audittoken */ |
| 10780 | case 170: |
| 10781 | if (ndx == 0 || ndx == 1) |
| 10782 | p = "int" ; |
| 10783 | break; |
| 10784 | /* waitid */ |
| 10785 | case 173: |
| 10786 | if (ndx == 0 || ndx == 1) |
| 10787 | p = "int" ; |
| 10788 | break; |
| 10789 | /* kdebug_typefilter */ |
| 10790 | case 177: |
| 10791 | if (ndx == 0 || ndx == 1) |
| 10792 | p = "int" ; |
| 10793 | break; |
| 10794 | /* kdebug_trace_string */ |
| 10795 | case 178: |
| 10796 | if (ndx == 0 || ndx == 1) |
| 10797 | p = "uint64_t" ; |
| 10798 | break; |
| 10799 | /* kdebug_trace64 */ |
| 10800 | case 179: |
| 10801 | if (ndx == 0 || ndx == 1) |
| 10802 | p = "int" ; |
| 10803 | break; |
| 10804 | /* kdebug_trace */ |
| 10805 | case 180: |
| 10806 | if (ndx == 0 || ndx == 1) |
| 10807 | p = "int" ; |
| 10808 | break; |
| 10809 | /* setgid */ |
| 10810 | case 181: |
| 10811 | if (ndx == 0 || ndx == 1) |
| 10812 | p = "int" ; |
| 10813 | break; |
| 10814 | /* setegid */ |
| 10815 | case 182: |
| 10816 | if (ndx == 0 || ndx == 1) |
| 10817 | p = "int" ; |
| 10818 | break; |
| 10819 | /* seteuid */ |
| 10820 | case 183: |
| 10821 | if (ndx == 0 || ndx == 1) |
| 10822 | p = "int" ; |
| 10823 | break; |
| 10824 | /* sigreturn */ |
| 10825 | case 184: |
| 10826 | if (ndx == 0 || ndx == 1) |
| 10827 | p = "int" ; |
| 10828 | break; |
| 10829 | /* thread_selfcounts */ |
| 10830 | case 186: |
| 10831 | if (ndx == 0 || ndx == 1) |
| 10832 | p = "int" ; |
| 10833 | break; |
| 10834 | /* fdatasync */ |
| 10835 | case 187: |
| 10836 | if (ndx == 0 || ndx == 1) |
| 10837 | p = "int" ; |
| 10838 | break; |
| 10839 | /* stat */ |
| 10840 | case 188: |
| 10841 | if (ndx == 0 || ndx == 1) |
| 10842 | p = "int" ; |
| 10843 | break; |
| 10844 | /* fstat */ |
| 10845 | case 189: |
| 10846 | if (ndx == 0 || ndx == 1) |
| 10847 | p = "int" ; |
| 10848 | break; |
| 10849 | /* lstat */ |
| 10850 | case 190: |
| 10851 | if (ndx == 0 || ndx == 1) |
| 10852 | p = "int" ; |
| 10853 | break; |
| 10854 | /* pathconf */ |
| 10855 | case 191: |
| 10856 | if (ndx == 0 || ndx == 1) |
| 10857 | p = "int" ; |
| 10858 | break; |
| 10859 | /* fpathconf */ |
| 10860 | case 192: |
| 10861 | if (ndx == 0 || ndx == 1) |
| 10862 | p = "int" ; |
| 10863 | break; |
| 10864 | /* getrlimit */ |
| 10865 | case 194: |
| 10866 | if (ndx == 0 || ndx == 1) |
| 10867 | p = "int" ; |
| 10868 | break; |
| 10869 | /* setrlimit */ |
| 10870 | case 195: |
| 10871 | if (ndx == 0 || ndx == 1) |
| 10872 | p = "int" ; |
| 10873 | break; |
| 10874 | /* getdirentries */ |
| 10875 | case 196: |
| 10876 | if (ndx == 0 || ndx == 1) |
| 10877 | p = "int" ; |
| 10878 | break; |
| 10879 | /* mmap */ |
| 10880 | case 197: |
| 10881 | if (ndx == 0 || ndx == 1) |
| 10882 | p = "user_addr_t" ; |
| 10883 | break; |
| 10884 | /* lseek */ |
| 10885 | case 199: |
| 10886 | if (ndx == 0 || ndx == 1) |
| 10887 | p = "off_t" ; |
| 10888 | break; |
| 10889 | /* truncate */ |
| 10890 | case 200: |
| 10891 | if (ndx == 0 || ndx == 1) |
| 10892 | p = "int" ; |
| 10893 | break; |
| 10894 | /* ftruncate */ |
| 10895 | case 201: |
| 10896 | if (ndx == 0 || ndx == 1) |
| 10897 | p = "int" ; |
| 10898 | break; |
| 10899 | /* sysctl */ |
| 10900 | case 202: |
| 10901 | if (ndx == 0 || ndx == 1) |
| 10902 | p = "int" ; |
| 10903 | break; |
| 10904 | /* mlock */ |
| 10905 | case 203: |
| 10906 | if (ndx == 0 || ndx == 1) |
| 10907 | p = "int" ; |
| 10908 | break; |
| 10909 | /* munlock */ |
| 10910 | case 204: |
| 10911 | if (ndx == 0 || ndx == 1) |
| 10912 | p = "int" ; |
| 10913 | break; |
| 10914 | /* undelete */ |
| 10915 | case 205: |
| 10916 | if (ndx == 0 || ndx == 1) |
| 10917 | p = "int" ; |
| 10918 | break; |
| 10919 | /* open_dprotected_np */ |
| 10920 | case 216: |
| 10921 | if (ndx == 0 || ndx == 1) |
| 10922 | p = "int" ; |
| 10923 | break; |
| 10924 | /* getattrlist */ |
| 10925 | case 220: |
| 10926 | if (ndx == 0 || ndx == 1) |
| 10927 | p = "int" ; |
| 10928 | break; |
| 10929 | /* setattrlist */ |
| 10930 | case 221: |
| 10931 | if (ndx == 0 || ndx == 1) |
| 10932 | p = "int" ; |
| 10933 | break; |
| 10934 | /* getdirentriesattr */ |
| 10935 | case 222: |
| 10936 | if (ndx == 0 || ndx == 1) |
| 10937 | p = "int" ; |
| 10938 | break; |
| 10939 | /* exchangedata */ |
| 10940 | case 223: |
| 10941 | if (ndx == 0 || ndx == 1) |
| 10942 | p = "int" ; |
| 10943 | break; |
| 10944 | /* searchfs */ |
| 10945 | case 225: |
| 10946 | if (ndx == 0 || ndx == 1) |
| 10947 | p = "int" ; |
| 10948 | break; |
| 10949 | /* delete */ |
| 10950 | case 226: |
| 10951 | if (ndx == 0 || ndx == 1) |
| 10952 | p = "int" ; |
| 10953 | break; |
| 10954 | /* copyfile */ |
| 10955 | case 227: |
| 10956 | if (ndx == 0 || ndx == 1) |
| 10957 | p = "int" ; |
| 10958 | break; |
| 10959 | /* fgetattrlist */ |
| 10960 | case 228: |
| 10961 | if (ndx == 0 || ndx == 1) |
| 10962 | p = "int" ; |
| 10963 | break; |
| 10964 | /* fsetattrlist */ |
| 10965 | case 229: |
| 10966 | if (ndx == 0 || ndx == 1) |
| 10967 | p = "int" ; |
| 10968 | break; |
| 10969 | /* poll */ |
| 10970 | case 230: |
| 10971 | if (ndx == 0 || ndx == 1) |
| 10972 | p = "int" ; |
| 10973 | break; |
| 10974 | /* watchevent */ |
| 10975 | case 231: |
| 10976 | if (ndx == 0 || ndx == 1) |
| 10977 | p = "int" ; |
| 10978 | break; |
| 10979 | /* waitevent */ |
| 10980 | case 232: |
| 10981 | if (ndx == 0 || ndx == 1) |
| 10982 | p = "int" ; |
| 10983 | break; |
| 10984 | /* modwatch */ |
| 10985 | case 233: |
| 10986 | if (ndx == 0 || ndx == 1) |
| 10987 | p = "int" ; |
| 10988 | break; |
| 10989 | /* getxattr */ |
| 10990 | case 234: |
| 10991 | if (ndx == 0 || ndx == 1) |
| 10992 | p = "user_ssize_t" ; |
| 10993 | break; |
| 10994 | /* fgetxattr */ |
| 10995 | case 235: |
| 10996 | if (ndx == 0 || ndx == 1) |
| 10997 | p = "user_ssize_t" ; |
| 10998 | break; |
| 10999 | /* setxattr */ |
| 11000 | case 236: |
| 11001 | if (ndx == 0 || ndx == 1) |
| 11002 | p = "int" ; |
| 11003 | break; |
| 11004 | /* fsetxattr */ |
| 11005 | case 237: |
| 11006 | if (ndx == 0 || ndx == 1) |
| 11007 | p = "int" ; |
| 11008 | break; |
| 11009 | /* removexattr */ |
| 11010 | case 238: |
| 11011 | if (ndx == 0 || ndx == 1) |
| 11012 | p = "int" ; |
| 11013 | break; |
| 11014 | /* fremovexattr */ |
| 11015 | case 239: |
| 11016 | if (ndx == 0 || ndx == 1) |
| 11017 | p = "int" ; |
| 11018 | break; |
| 11019 | /* listxattr */ |
| 11020 | case 240: |
| 11021 | if (ndx == 0 || ndx == 1) |
| 11022 | p = "user_ssize_t" ; |
| 11023 | break; |
| 11024 | /* flistxattr */ |
| 11025 | case 241: |
| 11026 | if (ndx == 0 || ndx == 1) |
| 11027 | p = "user_ssize_t" ; |
| 11028 | break; |
| 11029 | /* fsctl */ |
| 11030 | case 242: |
| 11031 | if (ndx == 0 || ndx == 1) |
| 11032 | p = "int" ; |
| 11033 | break; |
| 11034 | /* initgroups */ |
| 11035 | case 243: |
| 11036 | if (ndx == 0 || ndx == 1) |
| 11037 | p = "int" ; |
| 11038 | break; |
| 11039 | /* posix_spawn */ |
| 11040 | case 244: |
| 11041 | if (ndx == 0 || ndx == 1) |
| 11042 | p = "int" ; |
| 11043 | break; |
| 11044 | /* ffsctl */ |
| 11045 | case 245: |
| 11046 | if (ndx == 0 || ndx == 1) |
| 11047 | p = "int" ; |
| 11048 | break; |
| 11049 | #if NFSCLIENT |
| 11050 | /* nfsclnt */ |
| 11051 | case 247: |
| 11052 | if (ndx == 0 || ndx == 1) |
| 11053 | p = "int" ; |
| 11054 | break; |
| 11055 | #else |
| 11056 | #endif |
| 11057 | #if NFSSERVER |
| 11058 | /* fhopen */ |
| 11059 | case 248: |
| 11060 | if (ndx == 0 || ndx == 1) |
| 11061 | p = "int" ; |
| 11062 | break; |
| 11063 | #else |
| 11064 | #endif |
| 11065 | /* minherit */ |
| 11066 | case 250: |
| 11067 | if (ndx == 0 || ndx == 1) |
| 11068 | p = "int" ; |
| 11069 | break; |
| 11070 | #if SYSV_SEM |
| 11071 | /* semsys */ |
| 11072 | case 251: |
| 11073 | if (ndx == 0 || ndx == 1) |
| 11074 | p = "int" ; |
| 11075 | break; |
| 11076 | #else |
| 11077 | #endif |
| 11078 | #if SYSV_MSG |
| 11079 | /* msgsys */ |
| 11080 | case 252: |
| 11081 | if (ndx == 0 || ndx == 1) |
| 11082 | p = "int" ; |
| 11083 | break; |
| 11084 | #else |
| 11085 | #endif |
| 11086 | #if SYSV_SHM |
| 11087 | /* shmsys */ |
| 11088 | case 253: |
| 11089 | if (ndx == 0 || ndx == 1) |
| 11090 | p = "int" ; |
| 11091 | break; |
| 11092 | #else |
| 11093 | #endif |
| 11094 | #if SYSV_SEM |
| 11095 | /* semctl */ |
| 11096 | case 254: |
| 11097 | if (ndx == 0 || ndx == 1) |
| 11098 | p = "int" ; |
| 11099 | break; |
| 11100 | /* semget */ |
| 11101 | case 255: |
| 11102 | if (ndx == 0 || ndx == 1) |
| 11103 | p = "int" ; |
| 11104 | break; |
| 11105 | /* semop */ |
| 11106 | case 256: |
| 11107 | if (ndx == 0 || ndx == 1) |
| 11108 | p = "int" ; |
| 11109 | break; |
| 11110 | #else |
| 11111 | #endif |
| 11112 | #if SYSV_MSG |
| 11113 | /* msgctl */ |
| 11114 | case 258: |
| 11115 | if (ndx == 0 || ndx == 1) |
| 11116 | p = "int" ; |
| 11117 | break; |
| 11118 | /* msgget */ |
| 11119 | case 259: |
| 11120 | if (ndx == 0 || ndx == 1) |
| 11121 | p = "int" ; |
| 11122 | break; |
| 11123 | /* msgsnd */ |
| 11124 | case 260: |
| 11125 | if (ndx == 0 || ndx == 1) |
| 11126 | p = "int" ; |
| 11127 | break; |
| 11128 | /* msgrcv */ |
| 11129 | case 261: |
| 11130 | if (ndx == 0 || ndx == 1) |
| 11131 | p = "user_ssize_t" ; |
| 11132 | break; |
| 11133 | #else |
| 11134 | #endif |
| 11135 | #if SYSV_SHM |
| 11136 | /* shmat */ |
| 11137 | case 262: |
| 11138 | if (ndx == 0 || ndx == 1) |
| 11139 | p = "user_addr_t" ; |
| 11140 | break; |
| 11141 | /* shmctl */ |
| 11142 | case 263: |
| 11143 | if (ndx == 0 || ndx == 1) |
| 11144 | p = "int" ; |
| 11145 | break; |
| 11146 | /* shmdt */ |
| 11147 | case 264: |
| 11148 | if (ndx == 0 || ndx == 1) |
| 11149 | p = "int" ; |
| 11150 | break; |
| 11151 | /* shmget */ |
| 11152 | case 265: |
| 11153 | if (ndx == 0 || ndx == 1) |
| 11154 | p = "int" ; |
| 11155 | break; |
| 11156 | #else |
| 11157 | #endif |
| 11158 | /* shm_open */ |
| 11159 | case 266: |
| 11160 | if (ndx == 0 || ndx == 1) |
| 11161 | p = "int" ; |
| 11162 | break; |
| 11163 | /* shm_unlink */ |
| 11164 | case 267: |
| 11165 | if (ndx == 0 || ndx == 1) |
| 11166 | p = "int" ; |
| 11167 | break; |
| 11168 | /* sem_open */ |
| 11169 | case 268: |
| 11170 | if (ndx == 0 || ndx == 1) |
| 11171 | p = "user_addr_t" ; |
| 11172 | break; |
| 11173 | /* sem_close */ |
| 11174 | case 269: |
| 11175 | if (ndx == 0 || ndx == 1) |
| 11176 | p = "int" ; |
| 11177 | break; |
| 11178 | /* sem_unlink */ |
| 11179 | case 270: |
| 11180 | if (ndx == 0 || ndx == 1) |
| 11181 | p = "int" ; |
| 11182 | break; |
| 11183 | /* sem_wait */ |
| 11184 | case 271: |
| 11185 | if (ndx == 0 || ndx == 1) |
| 11186 | p = "int" ; |
| 11187 | break; |
| 11188 | /* sem_trywait */ |
| 11189 | case 272: |
| 11190 | if (ndx == 0 || ndx == 1) |
| 11191 | p = "int" ; |
| 11192 | break; |
| 11193 | /* sem_post */ |
| 11194 | case 273: |
| 11195 | if (ndx == 0 || ndx == 1) |
| 11196 | p = "int" ; |
| 11197 | break; |
| 11198 | /* sysctlbyname */ |
| 11199 | case 274: |
| 11200 | if (ndx == 0 || ndx == 1) |
| 11201 | p = "int" ; |
| 11202 | break; |
| 11203 | /* open_extended */ |
| 11204 | case 277: |
| 11205 | if (ndx == 0 || ndx == 1) |
| 11206 | p = "int" ; |
| 11207 | break; |
| 11208 | /* umask_extended */ |
| 11209 | case 278: |
| 11210 | if (ndx == 0 || ndx == 1) |
| 11211 | p = "int" ; |
| 11212 | break; |
| 11213 | /* stat_extended */ |
| 11214 | case 279: |
| 11215 | if (ndx == 0 || ndx == 1) |
| 11216 | p = "int" ; |
| 11217 | break; |
| 11218 | /* lstat_extended */ |
| 11219 | case 280: |
| 11220 | if (ndx == 0 || ndx == 1) |
| 11221 | p = "int" ; |
| 11222 | break; |
| 11223 | /* fstat_extended */ |
| 11224 | case 281: |
| 11225 | if (ndx == 0 || ndx == 1) |
| 11226 | p = "int" ; |
| 11227 | break; |
| 11228 | /* chmod_extended */ |
| 11229 | case 282: |
| 11230 | if (ndx == 0 || ndx == 1) |
| 11231 | p = "int" ; |
| 11232 | break; |
| 11233 | /* fchmod_extended */ |
| 11234 | case 283: |
| 11235 | if (ndx == 0 || ndx == 1) |
| 11236 | p = "int" ; |
| 11237 | break; |
| 11238 | /* access_extended */ |
| 11239 | case 284: |
| 11240 | if (ndx == 0 || ndx == 1) |
| 11241 | p = "int" ; |
| 11242 | break; |
| 11243 | /* settid */ |
| 11244 | case 285: |
| 11245 | if (ndx == 0 || ndx == 1) |
| 11246 | p = "int" ; |
| 11247 | break; |
| 11248 | /* gettid */ |
| 11249 | case 286: |
| 11250 | if (ndx == 0 || ndx == 1) |
| 11251 | p = "int" ; |
| 11252 | break; |
| 11253 | /* setsgroups */ |
| 11254 | case 287: |
| 11255 | if (ndx == 0 || ndx == 1) |
| 11256 | p = "int" ; |
| 11257 | break; |
| 11258 | /* getsgroups */ |
| 11259 | case 288: |
| 11260 | if (ndx == 0 || ndx == 1) |
| 11261 | p = "int" ; |
| 11262 | break; |
| 11263 | /* setwgroups */ |
| 11264 | case 289: |
| 11265 | if (ndx == 0 || ndx == 1) |
| 11266 | p = "int" ; |
| 11267 | break; |
| 11268 | /* getwgroups */ |
| 11269 | case 290: |
| 11270 | if (ndx == 0 || ndx == 1) |
| 11271 | p = "int" ; |
| 11272 | break; |
| 11273 | /* mkfifo_extended */ |
| 11274 | case 291: |
| 11275 | if (ndx == 0 || ndx == 1) |
| 11276 | p = "int" ; |
| 11277 | break; |
| 11278 | /* mkdir_extended */ |
| 11279 | case 292: |
| 11280 | if (ndx == 0 || ndx == 1) |
| 11281 | p = "int" ; |
| 11282 | break; |
| 11283 | #if CONFIG_EXT_RESOLVER |
| 11284 | /* identitysvc */ |
| 11285 | case 293: |
| 11286 | if (ndx == 0 || ndx == 1) |
| 11287 | p = "int" ; |
| 11288 | break; |
| 11289 | #else |
| 11290 | #endif |
| 11291 | /* shared_region_check_np */ |
| 11292 | case 294: |
| 11293 | if (ndx == 0 || ndx == 1) |
| 11294 | p = "int" ; |
| 11295 | break; |
| 11296 | /* vm_pressure_monitor */ |
| 11297 | case 296: |
| 11298 | if (ndx == 0 || ndx == 1) |
| 11299 | p = "int" ; |
| 11300 | break; |
| 11301 | #if PSYNCH |
| 11302 | /* psynch_rw_longrdlock */ |
| 11303 | case 297: |
| 11304 | if (ndx == 0 || ndx == 1) |
| 11305 | p = "uint32_t" ; |
| 11306 | break; |
| 11307 | /* psynch_rw_yieldwrlock */ |
| 11308 | case 298: |
| 11309 | if (ndx == 0 || ndx == 1) |
| 11310 | p = "uint32_t" ; |
| 11311 | break; |
| 11312 | /* psynch_rw_downgrade */ |
| 11313 | case 299: |
| 11314 | if (ndx == 0 || ndx == 1) |
| 11315 | p = "int" ; |
| 11316 | break; |
| 11317 | /* psynch_rw_upgrade */ |
| 11318 | case 300: |
| 11319 | if (ndx == 0 || ndx == 1) |
| 11320 | p = "uint32_t" ; |
| 11321 | break; |
| 11322 | /* psynch_mutexwait */ |
| 11323 | case 301: |
| 11324 | if (ndx == 0 || ndx == 1) |
| 11325 | p = "uint32_t" ; |
| 11326 | break; |
| 11327 | /* psynch_mutexdrop */ |
| 11328 | case 302: |
| 11329 | if (ndx == 0 || ndx == 1) |
| 11330 | p = "uint32_t" ; |
| 11331 | break; |
| 11332 | /* psynch_cvbroad */ |
| 11333 | case 303: |
| 11334 | if (ndx == 0 || ndx == 1) |
| 11335 | p = "uint32_t" ; |
| 11336 | break; |
| 11337 | /* psynch_cvsignal */ |
| 11338 | case 304: |
| 11339 | if (ndx == 0 || ndx == 1) |
| 11340 | p = "uint32_t" ; |
| 11341 | break; |
| 11342 | /* psynch_cvwait */ |
| 11343 | case 305: |
| 11344 | if (ndx == 0 || ndx == 1) |
| 11345 | p = "uint32_t" ; |
| 11346 | break; |
| 11347 | /* psynch_rw_rdlock */ |
| 11348 | case 306: |
| 11349 | if (ndx == 0 || ndx == 1) |
| 11350 | p = "uint32_t" ; |
| 11351 | break; |
| 11352 | /* psynch_rw_wrlock */ |
| 11353 | case 307: |
| 11354 | if (ndx == 0 || ndx == 1) |
| 11355 | p = "uint32_t" ; |
| 11356 | break; |
| 11357 | /* psynch_rw_unlock */ |
| 11358 | case 308: |
| 11359 | if (ndx == 0 || ndx == 1) |
| 11360 | p = "uint32_t" ; |
| 11361 | break; |
| 11362 | /* psynch_rw_unlock2 */ |
| 11363 | case 309: |
| 11364 | if (ndx == 0 || ndx == 1) |
| 11365 | p = "uint32_t" ; |
| 11366 | break; |
| 11367 | #else |
| 11368 | #endif |
| 11369 | /* getsid */ |
| 11370 | case 310: |
| 11371 | if (ndx == 0 || ndx == 1) |
| 11372 | p = "int" ; |
| 11373 | break; |
| 11374 | /* settid_with_pid */ |
| 11375 | case 311: |
| 11376 | if (ndx == 0 || ndx == 1) |
| 11377 | p = "int" ; |
| 11378 | break; |
| 11379 | #if PSYNCH |
| 11380 | /* psynch_cvclrprepost */ |
| 11381 | case 312: |
| 11382 | if (ndx == 0 || ndx == 1) |
| 11383 | p = "int" ; |
| 11384 | break; |
| 11385 | #else |
| 11386 | #endif |
| 11387 | /* aio_fsync */ |
| 11388 | case 313: |
| 11389 | if (ndx == 0 || ndx == 1) |
| 11390 | p = "int" ; |
| 11391 | break; |
| 11392 | /* aio_return */ |
| 11393 | case 314: |
| 11394 | if (ndx == 0 || ndx == 1) |
| 11395 | p = "user_ssize_t" ; |
| 11396 | break; |
| 11397 | /* aio_suspend */ |
| 11398 | case 315: |
| 11399 | if (ndx == 0 || ndx == 1) |
| 11400 | p = "int" ; |
| 11401 | break; |
| 11402 | /* aio_cancel */ |
| 11403 | case 316: |
| 11404 | if (ndx == 0 || ndx == 1) |
| 11405 | p = "int" ; |
| 11406 | break; |
| 11407 | /* aio_error */ |
| 11408 | case 317: |
| 11409 | if (ndx == 0 || ndx == 1) |
| 11410 | p = "int" ; |
| 11411 | break; |
| 11412 | /* aio_read */ |
| 11413 | case 318: |
| 11414 | if (ndx == 0 || ndx == 1) |
| 11415 | p = "int" ; |
| 11416 | break; |
| 11417 | /* aio_write */ |
| 11418 | case 319: |
| 11419 | if (ndx == 0 || ndx == 1) |
| 11420 | p = "int" ; |
| 11421 | break; |
| 11422 | /* lio_listio */ |
| 11423 | case 320: |
| 11424 | if (ndx == 0 || ndx == 1) |
| 11425 | p = "int" ; |
| 11426 | break; |
| 11427 | /* iopolicysys */ |
| 11428 | case 322: |
| 11429 | if (ndx == 0 || ndx == 1) |
| 11430 | p = "int" ; |
| 11431 | break; |
| 11432 | /* process_policy */ |
| 11433 | case 323: |
| 11434 | if (ndx == 0 || ndx == 1) |
| 11435 | p = "int" ; |
| 11436 | break; |
| 11437 | /* mlockall */ |
| 11438 | case 324: |
| 11439 | if (ndx == 0 || ndx == 1) |
| 11440 | p = "int" ; |
| 11441 | break; |
| 11442 | /* munlockall */ |
| 11443 | case 325: |
| 11444 | if (ndx == 0 || ndx == 1) |
| 11445 | p = "int" ; |
| 11446 | break; |
| 11447 | /* issetugid */ |
| 11448 | case 327: |
| 11449 | if (ndx == 0 || ndx == 1) |
| 11450 | p = "int" ; |
| 11451 | break; |
| 11452 | /* __pthread_kill */ |
| 11453 | case 328: |
| 11454 | if (ndx == 0 || ndx == 1) |
| 11455 | p = "int" ; |
| 11456 | break; |
| 11457 | /* __pthread_sigmask */ |
| 11458 | case 329: |
| 11459 | if (ndx == 0 || ndx == 1) |
| 11460 | p = "int" ; |
| 11461 | break; |
| 11462 | /* __sigwait */ |
| 11463 | case 330: |
| 11464 | if (ndx == 0 || ndx == 1) |
| 11465 | p = "int" ; |
| 11466 | break; |
| 11467 | /* __disable_threadsignal */ |
| 11468 | case 331: |
| 11469 | if (ndx == 0 || ndx == 1) |
| 11470 | p = "int" ; |
| 11471 | break; |
| 11472 | /* __pthread_markcancel */ |
| 11473 | case 332: |
| 11474 | if (ndx == 0 || ndx == 1) |
| 11475 | p = "int" ; |
| 11476 | break; |
| 11477 | /* __pthread_canceled */ |
| 11478 | case 333: |
| 11479 | if (ndx == 0 || ndx == 1) |
| 11480 | p = "int" ; |
| 11481 | break; |
| 11482 | /* __semwait_signal */ |
| 11483 | case 334: |
| 11484 | if (ndx == 0 || ndx == 1) |
| 11485 | p = "int" ; |
| 11486 | break; |
| 11487 | /* proc_info */ |
| 11488 | case 336: |
| 11489 | if (ndx == 0 || ndx == 1) |
| 11490 | p = "int" ; |
| 11491 | break; |
| 11492 | #if SENDFILE |
| 11493 | /* sendfile */ |
| 11494 | case 337: |
| 11495 | if (ndx == 0 || ndx == 1) |
| 11496 | p = "int" ; |
| 11497 | break; |
| 11498 | #else /* !SENDFILE */ |
| 11499 | #endif /* SENDFILE */ |
| 11500 | /* stat64 */ |
| 11501 | case 338: |
| 11502 | if (ndx == 0 || ndx == 1) |
| 11503 | p = "int" ; |
| 11504 | break; |
| 11505 | /* fstat64 */ |
| 11506 | case 339: |
| 11507 | if (ndx == 0 || ndx == 1) |
| 11508 | p = "int" ; |
| 11509 | break; |
| 11510 | /* lstat64 */ |
| 11511 | case 340: |
| 11512 | if (ndx == 0 || ndx == 1) |
| 11513 | p = "int" ; |
| 11514 | break; |
| 11515 | /* stat64_extended */ |
| 11516 | case 341: |
| 11517 | if (ndx == 0 || ndx == 1) |
| 11518 | p = "int" ; |
| 11519 | break; |
| 11520 | /* lstat64_extended */ |
| 11521 | case 342: |
| 11522 | if (ndx == 0 || ndx == 1) |
| 11523 | p = "int" ; |
| 11524 | break; |
| 11525 | /* fstat64_extended */ |
| 11526 | case 343: |
| 11527 | if (ndx == 0 || ndx == 1) |
| 11528 | p = "int" ; |
| 11529 | break; |
| 11530 | /* getdirentries64 */ |
| 11531 | case 344: |
| 11532 | if (ndx == 0 || ndx == 1) |
| 11533 | p = "user_ssize_t" ; |
| 11534 | break; |
| 11535 | /* statfs64 */ |
| 11536 | case 345: |
| 11537 | if (ndx == 0 || ndx == 1) |
| 11538 | p = "int" ; |
| 11539 | break; |
| 11540 | /* fstatfs64 */ |
| 11541 | case 346: |
| 11542 | if (ndx == 0 || ndx == 1) |
| 11543 | p = "int" ; |
| 11544 | break; |
| 11545 | /* getfsstat64 */ |
| 11546 | case 347: |
| 11547 | if (ndx == 0 || ndx == 1) |
| 11548 | p = "int" ; |
| 11549 | break; |
| 11550 | /* __pthread_chdir */ |
| 11551 | case 348: |
| 11552 | if (ndx == 0 || ndx == 1) |
| 11553 | p = "int" ; |
| 11554 | break; |
| 11555 | /* __pthread_fchdir */ |
| 11556 | case 349: |
| 11557 | if (ndx == 0 || ndx == 1) |
| 11558 | p = "int" ; |
| 11559 | break; |
| 11560 | /* audit */ |
| 11561 | case 350: |
| 11562 | if (ndx == 0 || ndx == 1) |
| 11563 | p = "int" ; |
| 11564 | break; |
| 11565 | /* auditon */ |
| 11566 | case 351: |
| 11567 | if (ndx == 0 || ndx == 1) |
| 11568 | p = "int" ; |
| 11569 | break; |
| 11570 | /* getauid */ |
| 11571 | case 353: |
| 11572 | if (ndx == 0 || ndx == 1) |
| 11573 | p = "int" ; |
| 11574 | break; |
| 11575 | /* setauid */ |
| 11576 | case 354: |
| 11577 | if (ndx == 0 || ndx == 1) |
| 11578 | p = "int" ; |
| 11579 | break; |
| 11580 | /* getaudit_addr */ |
| 11581 | case 357: |
| 11582 | if (ndx == 0 || ndx == 1) |
| 11583 | p = "int" ; |
| 11584 | break; |
| 11585 | /* setaudit_addr */ |
| 11586 | case 358: |
| 11587 | if (ndx == 0 || ndx == 1) |
| 11588 | p = "int" ; |
| 11589 | break; |
| 11590 | /* auditctl */ |
| 11591 | case 359: |
| 11592 | if (ndx == 0 || ndx == 1) |
| 11593 | p = "int" ; |
| 11594 | break; |
| 11595 | #if CONFIG_WORKQUEUE |
| 11596 | /* bsdthread_create */ |
| 11597 | case 360: |
| 11598 | if (ndx == 0 || ndx == 1) |
| 11599 | p = "user_addr_t" ; |
| 11600 | break; |
| 11601 | /* bsdthread_terminate */ |
| 11602 | case 361: |
| 11603 | if (ndx == 0 || ndx == 1) |
| 11604 | p = "int" ; |
| 11605 | break; |
| 11606 | #else |
| 11607 | #endif /* CONFIG_WORKQUEUE */ |
| 11608 | /* kqueue */ |
| 11609 | case 362: |
| 11610 | if (ndx == 0 || ndx == 1) |
| 11611 | p = "int" ; |
| 11612 | break; |
| 11613 | /* kevent */ |
| 11614 | case 363: |
| 11615 | if (ndx == 0 || ndx == 1) |
| 11616 | p = "int" ; |
| 11617 | break; |
| 11618 | /* lchown */ |
| 11619 | case 364: |
| 11620 | if (ndx == 0 || ndx == 1) |
| 11621 | p = "int" ; |
| 11622 | break; |
| 11623 | #if CONFIG_WORKQUEUE |
| 11624 | /* bsdthread_register */ |
| 11625 | case 366: |
| 11626 | if (ndx == 0 || ndx == 1) |
| 11627 | p = "int" ; |
| 11628 | break; |
| 11629 | /* workq_open */ |
| 11630 | case 367: |
| 11631 | if (ndx == 0 || ndx == 1) |
| 11632 | p = "int" ; |
| 11633 | break; |
| 11634 | /* workq_kernreturn */ |
| 11635 | case 368: |
| 11636 | if (ndx == 0 || ndx == 1) |
| 11637 | p = "int" ; |
| 11638 | break; |
| 11639 | #else |
| 11640 | #endif /* CONFIG_WORKQUEUE */ |
| 11641 | /* kevent64 */ |
| 11642 | case 369: |
| 11643 | if (ndx == 0 || ndx == 1) |
| 11644 | p = "int" ; |
| 11645 | break; |
| 11646 | #if OLD_SEMWAIT_SIGNAL |
| 11647 | /* __old_semwait_signal */ |
| 11648 | case 370: |
| 11649 | if (ndx == 0 || ndx == 1) |
| 11650 | p = "int" ; |
| 11651 | break; |
| 11652 | /* __old_semwait_signal_nocancel */ |
| 11653 | case 371: |
| 11654 | if (ndx == 0 || ndx == 1) |
| 11655 | p = "int" ; |
| 11656 | break; |
| 11657 | #else |
| 11658 | #endif |
| 11659 | /* thread_selfid */ |
| 11660 | case 372: |
| 11661 | if (ndx == 0 || ndx == 1) |
| 11662 | p = "uint64_t" ; |
| 11663 | break; |
| 11664 | /* ledger */ |
| 11665 | case 373: |
| 11666 | if (ndx == 0 || ndx == 1) |
| 11667 | p = "int" ; |
| 11668 | break; |
| 11669 | /* kevent_qos */ |
| 11670 | case 374: |
| 11671 | if (ndx == 0 || ndx == 1) |
| 11672 | p = "int" ; |
| 11673 | break; |
| 11674 | /* kevent_id */ |
| 11675 | case 375: |
| 11676 | if (ndx == 0 || ndx == 1) |
| 11677 | p = "int" ; |
| 11678 | break; |
| 11679 | /* __mac_execve */ |
| 11680 | case 380: |
| 11681 | if (ndx == 0 || ndx == 1) |
| 11682 | p = "int" ; |
| 11683 | break; |
| 11684 | #if CONFIG_MACF |
| 11685 | /* __mac_syscall */ |
| 11686 | case 381: |
| 11687 | if (ndx == 0 || ndx == 1) |
| 11688 | p = "int" ; |
| 11689 | break; |
| 11690 | /* __mac_get_file */ |
| 11691 | case 382: |
| 11692 | if (ndx == 0 || ndx == 1) |
| 11693 | p = "int" ; |
| 11694 | break; |
| 11695 | /* __mac_set_file */ |
| 11696 | case 383: |
| 11697 | if (ndx == 0 || ndx == 1) |
| 11698 | p = "int" ; |
| 11699 | break; |
| 11700 | /* __mac_get_link */ |
| 11701 | case 384: |
| 11702 | if (ndx == 0 || ndx == 1) |
| 11703 | p = "int" ; |
| 11704 | break; |
| 11705 | /* __mac_set_link */ |
| 11706 | case 385: |
| 11707 | if (ndx == 0 || ndx == 1) |
| 11708 | p = "int" ; |
| 11709 | break; |
| 11710 | /* __mac_get_proc */ |
| 11711 | case 386: |
| 11712 | if (ndx == 0 || ndx == 1) |
| 11713 | p = "int" ; |
| 11714 | break; |
| 11715 | /* __mac_set_proc */ |
| 11716 | case 387: |
| 11717 | if (ndx == 0 || ndx == 1) |
| 11718 | p = "int" ; |
| 11719 | break; |
| 11720 | /* __mac_get_fd */ |
| 11721 | case 388: |
| 11722 | if (ndx == 0 || ndx == 1) |
| 11723 | p = "int" ; |
| 11724 | break; |
| 11725 | /* __mac_set_fd */ |
| 11726 | case 389: |
| 11727 | if (ndx == 0 || ndx == 1) |
| 11728 | p = "int" ; |
| 11729 | break; |
| 11730 | /* __mac_get_pid */ |
| 11731 | case 390: |
| 11732 | if (ndx == 0 || ndx == 1) |
| 11733 | p = "int" ; |
| 11734 | break; |
| 11735 | #else |
| 11736 | #endif |
| 11737 | /* pselect */ |
| 11738 | case 394: |
| 11739 | if (ndx == 0 || ndx == 1) |
| 11740 | p = "int" ; |
| 11741 | break; |
| 11742 | /* pselect_nocancel */ |
| 11743 | case 395: |
| 11744 | if (ndx == 0 || ndx == 1) |
| 11745 | p = "int" ; |
| 11746 | break; |
| 11747 | /* read_nocancel */ |
| 11748 | case 396: |
| 11749 | if (ndx == 0 || ndx == 1) |
| 11750 | p = "user_ssize_t" ; |
| 11751 | break; |
| 11752 | /* write_nocancel */ |
| 11753 | case 397: |
| 11754 | if (ndx == 0 || ndx == 1) |
| 11755 | p = "user_ssize_t" ; |
| 11756 | break; |
| 11757 | /* open_nocancel */ |
| 11758 | case 398: |
| 11759 | if (ndx == 0 || ndx == 1) |
| 11760 | p = "int" ; |
| 11761 | break; |
| 11762 | /* close_nocancel */ |
| 11763 | case 399: |
| 11764 | if (ndx == 0 || ndx == 1) |
| 11765 | p = "int" ; |
| 11766 | break; |
| 11767 | /* wait4_nocancel */ |
| 11768 | case 400: |
| 11769 | if (ndx == 0 || ndx == 1) |
| 11770 | p = "int" ; |
| 11771 | break; |
| 11772 | #if SOCKETS |
| 11773 | /* recvmsg_nocancel */ |
| 11774 | case 401: |
| 11775 | if (ndx == 0 || ndx == 1) |
| 11776 | p = "int" ; |
| 11777 | break; |
| 11778 | /* sendmsg_nocancel */ |
| 11779 | case 402: |
| 11780 | if (ndx == 0 || ndx == 1) |
| 11781 | p = "int" ; |
| 11782 | break; |
| 11783 | /* recvfrom_nocancel */ |
| 11784 | case 403: |
| 11785 | if (ndx == 0 || ndx == 1) |
| 11786 | p = "int" ; |
| 11787 | break; |
| 11788 | /* accept_nocancel */ |
| 11789 | case 404: |
| 11790 | if (ndx == 0 || ndx == 1) |
| 11791 | p = "int" ; |
| 11792 | break; |
| 11793 | #else |
| 11794 | #endif /* SOCKETS */ |
| 11795 | /* msync_nocancel */ |
| 11796 | case 405: |
| 11797 | if (ndx == 0 || ndx == 1) |
| 11798 | p = "int" ; |
| 11799 | break; |
| 11800 | /* fcntl_nocancel */ |
| 11801 | case 406: |
| 11802 | if (ndx == 0 || ndx == 1) |
| 11803 | p = "int" ; |
| 11804 | break; |
| 11805 | /* select_nocancel */ |
| 11806 | case 407: |
| 11807 | if (ndx == 0 || ndx == 1) |
| 11808 | p = "int" ; |
| 11809 | break; |
| 11810 | /* fsync_nocancel */ |
| 11811 | case 408: |
| 11812 | if (ndx == 0 || ndx == 1) |
| 11813 | p = "int" ; |
| 11814 | break; |
| 11815 | #if SOCKETS |
| 11816 | /* connect_nocancel */ |
| 11817 | case 409: |
| 11818 | if (ndx == 0 || ndx == 1) |
| 11819 | p = "int" ; |
| 11820 | break; |
| 11821 | #else |
| 11822 | #endif /* SOCKETS */ |
| 11823 | /* sigsuspend_nocancel */ |
| 11824 | case 410: |
| 11825 | if (ndx == 0 || ndx == 1) |
| 11826 | p = "int" ; |
| 11827 | break; |
| 11828 | /* readv_nocancel */ |
| 11829 | case 411: |
| 11830 | if (ndx == 0 || ndx == 1) |
| 11831 | p = "user_ssize_t" ; |
| 11832 | break; |
| 11833 | /* writev_nocancel */ |
| 11834 | case 412: |
| 11835 | if (ndx == 0 || ndx == 1) |
| 11836 | p = "user_ssize_t" ; |
| 11837 | break; |
| 11838 | #if SOCKETS |
| 11839 | /* sendto_nocancel */ |
| 11840 | case 413: |
| 11841 | if (ndx == 0 || ndx == 1) |
| 11842 | p = "int" ; |
| 11843 | break; |
| 11844 | #else |
| 11845 | #endif /* SOCKETS */ |
| 11846 | /* pread_nocancel */ |
| 11847 | case 414: |
| 11848 | if (ndx == 0 || ndx == 1) |
| 11849 | p = "user_ssize_t" ; |
| 11850 | break; |
| 11851 | /* pwrite_nocancel */ |
| 11852 | case 415: |
| 11853 | if (ndx == 0 || ndx == 1) |
| 11854 | p = "user_ssize_t" ; |
| 11855 | break; |
| 11856 | /* waitid_nocancel */ |
| 11857 | case 416: |
| 11858 | if (ndx == 0 || ndx == 1) |
| 11859 | p = "int" ; |
| 11860 | break; |
| 11861 | /* poll_nocancel */ |
| 11862 | case 417: |
| 11863 | if (ndx == 0 || ndx == 1) |
| 11864 | p = "int" ; |
| 11865 | break; |
| 11866 | #if SYSV_MSG |
| 11867 | /* msgsnd_nocancel */ |
| 11868 | case 418: |
| 11869 | if (ndx == 0 || ndx == 1) |
| 11870 | p = "int" ; |
| 11871 | break; |
| 11872 | /* msgrcv_nocancel */ |
| 11873 | case 419: |
| 11874 | if (ndx == 0 || ndx == 1) |
| 11875 | p = "user_ssize_t" ; |
| 11876 | break; |
| 11877 | #else |
| 11878 | #endif |
| 11879 | /* sem_wait_nocancel */ |
| 11880 | case 420: |
| 11881 | if (ndx == 0 || ndx == 1) |
| 11882 | p = "int" ; |
| 11883 | break; |
| 11884 | /* aio_suspend_nocancel */ |
| 11885 | case 421: |
| 11886 | if (ndx == 0 || ndx == 1) |
| 11887 | p = "int" ; |
| 11888 | break; |
| 11889 | /* __sigwait_nocancel */ |
| 11890 | case 422: |
| 11891 | if (ndx == 0 || ndx == 1) |
| 11892 | p = "int" ; |
| 11893 | break; |
| 11894 | /* __semwait_signal_nocancel */ |
| 11895 | case 423: |
| 11896 | if (ndx == 0 || ndx == 1) |
| 11897 | p = "int" ; |
| 11898 | break; |
| 11899 | /* __mac_mount */ |
| 11900 | case 424: |
| 11901 | if (ndx == 0 || ndx == 1) |
| 11902 | p = "int" ; |
| 11903 | break; |
| 11904 | #if CONFIG_MACF |
| 11905 | /* __mac_get_mount */ |
| 11906 | case 425: |
| 11907 | if (ndx == 0 || ndx == 1) |
| 11908 | p = "int" ; |
| 11909 | break; |
| 11910 | #else |
| 11911 | #endif |
| 11912 | /* __mac_getfsstat */ |
| 11913 | case 426: |
| 11914 | if (ndx == 0 || ndx == 1) |
| 11915 | p = "int" ; |
| 11916 | break; |
| 11917 | /* fsgetpath */ |
| 11918 | case 427: |
| 11919 | if (ndx == 0 || ndx == 1) |
| 11920 | p = "user_ssize_t" ; |
| 11921 | break; |
| 11922 | /* audit_session_self */ |
| 11923 | case 428: |
| 11924 | if (ndx == 0 || ndx == 1) |
| 11925 | p = "mach_port_name_t" ; |
| 11926 | break; |
| 11927 | /* audit_session_join */ |
| 11928 | case 429: |
| 11929 | if (ndx == 0 || ndx == 1) |
| 11930 | p = "int" ; |
| 11931 | break; |
| 11932 | /* fileport_makeport */ |
| 11933 | case 430: |
| 11934 | if (ndx == 0 || ndx == 1) |
| 11935 | p = "int" ; |
| 11936 | break; |
| 11937 | /* fileport_makefd */ |
| 11938 | case 431: |
| 11939 | if (ndx == 0 || ndx == 1) |
| 11940 | p = "int" ; |
| 11941 | break; |
| 11942 | /* audit_session_port */ |
| 11943 | case 432: |
| 11944 | if (ndx == 0 || ndx == 1) |
| 11945 | p = "int" ; |
| 11946 | break; |
| 11947 | /* pid_suspend */ |
| 11948 | case 433: |
| 11949 | if (ndx == 0 || ndx == 1) |
| 11950 | p = "int" ; |
| 11951 | break; |
| 11952 | /* pid_resume */ |
| 11953 | case 434: |
| 11954 | if (ndx == 0 || ndx == 1) |
| 11955 | p = "int" ; |
| 11956 | break; |
| 11957 | #if CONFIG_EMBEDDED |
| 11958 | /* pid_hibernate */ |
| 11959 | case 435: |
| 11960 | if (ndx == 0 || ndx == 1) |
| 11961 | p = "int" ; |
| 11962 | break; |
| 11963 | #else |
| 11964 | #endif |
| 11965 | #if SOCKETS |
| 11966 | /* pid_shutdown_sockets */ |
| 11967 | case 436: |
| 11968 | if (ndx == 0 || ndx == 1) |
| 11969 | p = "int" ; |
| 11970 | break; |
| 11971 | #else |
| 11972 | #endif |
| 11973 | /* shared_region_map_and_slide_np */ |
| 11974 | case 438: |
| 11975 | if (ndx == 0 || ndx == 1) |
| 11976 | p = "int" ; |
| 11977 | break; |
| 11978 | /* kas_info */ |
| 11979 | case 439: |
| 11980 | if (ndx == 0 || ndx == 1) |
| 11981 | p = "int" ; |
| 11982 | break; |
| 11983 | #if CONFIG_MEMORYSTATUS |
| 11984 | /* memorystatus_control */ |
| 11985 | case 440: |
| 11986 | if (ndx == 0 || ndx == 1) |
| 11987 | p = "int" ; |
| 11988 | break; |
| 11989 | #else |
| 11990 | #endif |
| 11991 | /* guarded_open_np */ |
| 11992 | case 441: |
| 11993 | if (ndx == 0 || ndx == 1) |
| 11994 | p = "int" ; |
| 11995 | break; |
| 11996 | /* guarded_close_np */ |
| 11997 | case 442: |
| 11998 | if (ndx == 0 || ndx == 1) |
| 11999 | p = "int" ; |
| 12000 | break; |
| 12001 | /* guarded_kqueue_np */ |
| 12002 | case 443: |
| 12003 | if (ndx == 0 || ndx == 1) |
| 12004 | p = "int" ; |
| 12005 | break; |
| 12006 | /* change_fdguard_np */ |
| 12007 | case 444: |
| 12008 | if (ndx == 0 || ndx == 1) |
| 12009 | p = "int" ; |
| 12010 | break; |
| 12011 | /* usrctl */ |
| 12012 | case 445: |
| 12013 | if (ndx == 0 || ndx == 1) |
| 12014 | p = "int" ; |
| 12015 | break; |
| 12016 | /* proc_rlimit_control */ |
| 12017 | case 446: |
| 12018 | if (ndx == 0 || ndx == 1) |
| 12019 | p = "int" ; |
| 12020 | break; |
| 12021 | #if SOCKETS |
| 12022 | /* connectx */ |
| 12023 | case 447: |
| 12024 | if (ndx == 0 || ndx == 1) |
| 12025 | p = "int" ; |
| 12026 | break; |
| 12027 | /* disconnectx */ |
| 12028 | case 448: |
| 12029 | if (ndx == 0 || ndx == 1) |
| 12030 | p = "int" ; |
| 12031 | break; |
| 12032 | /* peeloff */ |
| 12033 | case 449: |
| 12034 | if (ndx == 0 || ndx == 1) |
| 12035 | p = "int" ; |
| 12036 | break; |
| 12037 | /* socket_delegate */ |
| 12038 | case 450: |
| 12039 | if (ndx == 0 || ndx == 1) |
| 12040 | p = "int" ; |
| 12041 | break; |
| 12042 | #else |
| 12043 | #endif /* SOCKETS */ |
| 12044 | /* telemetry */ |
| 12045 | case 451: |
| 12046 | if (ndx == 0 || ndx == 1) |
| 12047 | p = "int" ; |
| 12048 | break; |
| 12049 | #if CONFIG_PROC_UUID_POLICY |
| 12050 | /* proc_uuid_policy */ |
| 12051 | case 452: |
| 12052 | if (ndx == 0 || ndx == 1) |
| 12053 | p = "int" ; |
| 12054 | break; |
| 12055 | #else |
| 12056 | #endif |
| 12057 | #if CONFIG_MEMORYSTATUS |
| 12058 | /* memorystatus_get_level */ |
| 12059 | case 453: |
| 12060 | if (ndx == 0 || ndx == 1) |
| 12061 | p = "int" ; |
| 12062 | break; |
| 12063 | #else |
| 12064 | #endif |
| 12065 | /* system_override */ |
| 12066 | case 454: |
| 12067 | if (ndx == 0 || ndx == 1) |
| 12068 | p = "int" ; |
| 12069 | break; |
| 12070 | /* vfs_purge */ |
| 12071 | case 455: |
| 12072 | if (ndx == 0 || ndx == 1) |
| 12073 | p = "int" ; |
| 12074 | break; |
| 12075 | /* sfi_ctl */ |
| 12076 | case 456: |
| 12077 | if (ndx == 0 || ndx == 1) |
| 12078 | p = "int" ; |
| 12079 | break; |
| 12080 | /* sfi_pidctl */ |
| 12081 | case 457: |
| 12082 | if (ndx == 0 || ndx == 1) |
| 12083 | p = "int" ; |
| 12084 | break; |
| 12085 | #if CONFIG_COALITIONS |
| 12086 | /* coalition */ |
| 12087 | case 458: |
| 12088 | if (ndx == 0 || ndx == 1) |
| 12089 | p = "int" ; |
| 12090 | break; |
| 12091 | /* coalition_info */ |
| 12092 | case 459: |
| 12093 | if (ndx == 0 || ndx == 1) |
| 12094 | p = "int" ; |
| 12095 | break; |
| 12096 | #else |
| 12097 | #endif /* COALITIONS */ |
| 12098 | #if NECP |
| 12099 | /* necp_match_policy */ |
| 12100 | case 460: |
| 12101 | if (ndx == 0 || ndx == 1) |
| 12102 | p = "int" ; |
| 12103 | break; |
| 12104 | #else |
| 12105 | #endif /* NECP */ |
| 12106 | /* getattrlistbulk */ |
| 12107 | case 461: |
| 12108 | if (ndx == 0 || ndx == 1) |
| 12109 | p = "int" ; |
| 12110 | break; |
| 12111 | /* clonefileat */ |
| 12112 | case 462: |
| 12113 | if (ndx == 0 || ndx == 1) |
| 12114 | p = "int" ; |
| 12115 | break; |
| 12116 | /* openat */ |
| 12117 | case 463: |
| 12118 | if (ndx == 0 || ndx == 1) |
| 12119 | p = "int" ; |
| 12120 | break; |
| 12121 | /* openat_nocancel */ |
| 12122 | case 464: |
| 12123 | if (ndx == 0 || ndx == 1) |
| 12124 | p = "int" ; |
| 12125 | break; |
| 12126 | /* renameat */ |
| 12127 | case 465: |
| 12128 | if (ndx == 0 || ndx == 1) |
| 12129 | p = "int" ; |
| 12130 | break; |
| 12131 | /* faccessat */ |
| 12132 | case 466: |
| 12133 | if (ndx == 0 || ndx == 1) |
| 12134 | p = "int" ; |
| 12135 | break; |
| 12136 | /* fchmodat */ |
| 12137 | case 467: |
| 12138 | if (ndx == 0 || ndx == 1) |
| 12139 | p = "int" ; |
| 12140 | break; |
| 12141 | /* fchownat */ |
| 12142 | case 468: |
| 12143 | if (ndx == 0 || ndx == 1) |
| 12144 | p = "int" ; |
| 12145 | break; |
| 12146 | /* fstatat */ |
| 12147 | case 469: |
| 12148 | if (ndx == 0 || ndx == 1) |
| 12149 | p = "int" ; |
| 12150 | break; |
| 12151 | /* fstatat64 */ |
| 12152 | case 470: |
| 12153 | if (ndx == 0 || ndx == 1) |
| 12154 | p = "int" ; |
| 12155 | break; |
| 12156 | /* linkat */ |
| 12157 | case 471: |
| 12158 | if (ndx == 0 || ndx == 1) |
| 12159 | p = "int" ; |
| 12160 | break; |
| 12161 | /* unlinkat */ |
| 12162 | case 472: |
| 12163 | if (ndx == 0 || ndx == 1) |
| 12164 | p = "int" ; |
| 12165 | break; |
| 12166 | /* readlinkat */ |
| 12167 | case 473: |
| 12168 | if (ndx == 0 || ndx == 1) |
| 12169 | p = "int" ; |
| 12170 | break; |
| 12171 | /* symlinkat */ |
| 12172 | case 474: |
| 12173 | if (ndx == 0 || ndx == 1) |
| 12174 | p = "int" ; |
| 12175 | break; |
| 12176 | /* mkdirat */ |
| 12177 | case 475: |
| 12178 | if (ndx == 0 || ndx == 1) |
| 12179 | p = "int" ; |
| 12180 | break; |
| 12181 | /* getattrlistat */ |
| 12182 | case 476: |
| 12183 | if (ndx == 0 || ndx == 1) |
| 12184 | p = "int" ; |
| 12185 | break; |
| 12186 | /* proc_trace_log */ |
| 12187 | case 477: |
| 12188 | if (ndx == 0 || ndx == 1) |
| 12189 | p = "int" ; |
| 12190 | break; |
| 12191 | /* bsdthread_ctl */ |
| 12192 | case 478: |
| 12193 | if (ndx == 0 || ndx == 1) |
| 12194 | p = "int" ; |
| 12195 | break; |
| 12196 | /* openbyid_np */ |
| 12197 | case 479: |
| 12198 | if (ndx == 0 || ndx == 1) |
| 12199 | p = "int" ; |
| 12200 | break; |
| 12201 | #if SOCKETS |
| 12202 | /* recvmsg_x */ |
| 12203 | case 480: |
| 12204 | if (ndx == 0 || ndx == 1) |
| 12205 | p = "user_ssize_t" ; |
| 12206 | break; |
| 12207 | /* sendmsg_x */ |
| 12208 | case 481: |
| 12209 | if (ndx == 0 || ndx == 1) |
| 12210 | p = "user_ssize_t" ; |
| 12211 | break; |
| 12212 | #else |
| 12213 | #endif /* SOCKETS */ |
| 12214 | /* thread_selfusage */ |
| 12215 | case 482: |
| 12216 | if (ndx == 0 || ndx == 1) |
| 12217 | p = "uint64_t" ; |
| 12218 | break; |
| 12219 | #if CONFIG_CSR |
| 12220 | /* csrctl */ |
| 12221 | case 483: |
| 12222 | if (ndx == 0 || ndx == 1) |
| 12223 | p = "int" ; |
| 12224 | break; |
| 12225 | #else |
| 12226 | #endif /* CSR */ |
| 12227 | /* guarded_open_dprotected_np */ |
| 12228 | case 484: |
| 12229 | if (ndx == 0 || ndx == 1) |
| 12230 | p = "int" ; |
| 12231 | break; |
| 12232 | /* guarded_write_np */ |
| 12233 | case 485: |
| 12234 | if (ndx == 0 || ndx == 1) |
| 12235 | p = "user_ssize_t" ; |
| 12236 | break; |
| 12237 | /* guarded_pwrite_np */ |
| 12238 | case 486: |
| 12239 | if (ndx == 0 || ndx == 1) |
| 12240 | p = "user_ssize_t" ; |
| 12241 | break; |
| 12242 | /* guarded_writev_np */ |
| 12243 | case 487: |
| 12244 | if (ndx == 0 || ndx == 1) |
| 12245 | p = "user_ssize_t" ; |
| 12246 | break; |
| 12247 | /* renameatx_np */ |
| 12248 | case 488: |
| 12249 | if (ndx == 0 || ndx == 1) |
| 12250 | p = "int" ; |
| 12251 | break; |
| 12252 | #if CONFIG_CODE_DECRYPTION |
| 12253 | /* mremap_encrypted */ |
| 12254 | case 489: |
| 12255 | if (ndx == 0 || ndx == 1) |
| 12256 | p = "int" ; |
| 12257 | break; |
| 12258 | #else |
| 12259 | #endif |
| 12260 | #if NETWORKING |
| 12261 | /* netagent_trigger */ |
| 12262 | case 490: |
| 12263 | if (ndx == 0 || ndx == 1) |
| 12264 | p = "int" ; |
| 12265 | break; |
| 12266 | #else |
| 12267 | #endif /* NETWORKING */ |
| 12268 | /* stack_snapshot_with_config */ |
| 12269 | case 491: |
| 12270 | if (ndx == 0 || ndx == 1) |
| 12271 | p = "int" ; |
| 12272 | break; |
| 12273 | #if CONFIG_TELEMETRY |
| 12274 | /* microstackshot */ |
| 12275 | case 492: |
| 12276 | if (ndx == 0 || ndx == 1) |
| 12277 | p = "int" ; |
| 12278 | break; |
| 12279 | #else |
| 12280 | #endif /* CONFIG_TELEMETRY */ |
| 12281 | #if PGO |
| 12282 | /* grab_pgo_data */ |
| 12283 | case 493: |
| 12284 | if (ndx == 0 || ndx == 1) |
| 12285 | p = "user_ssize_t" ; |
| 12286 | break; |
| 12287 | #else |
| 12288 | #endif |
| 12289 | #if CONFIG_PERSONAS |
| 12290 | /* persona */ |
| 12291 | case 494: |
| 12292 | if (ndx == 0 || ndx == 1) |
| 12293 | p = "int" ; |
| 12294 | break; |
| 12295 | #else |
| 12296 | #endif |
| 12297 | /* work_interval_ctl */ |
| 12298 | case 499: |
| 12299 | if (ndx == 0 || ndx == 1) |
| 12300 | p = "int" ; |
| 12301 | break; |
| 12302 | /* getentropy */ |
| 12303 | case 500: |
| 12304 | if (ndx == 0 || ndx == 1) |
| 12305 | p = "int" ; |
| 12306 | break; |
| 12307 | #if NECP |
| 12308 | /* necp_open */ |
| 12309 | case 501: |
| 12310 | if (ndx == 0 || ndx == 1) |
| 12311 | p = "int" ; |
| 12312 | break; |
| 12313 | /* necp_client_action */ |
| 12314 | case 502: |
| 12315 | if (ndx == 0 || ndx == 1) |
| 12316 | p = "int" ; |
| 12317 | break; |
| 12318 | #else |
| 12319 | #endif /* NECP */ |
| 12320 | /* ulock_wait */ |
| 12321 | case 515: |
| 12322 | if (ndx == 0 || ndx == 1) |
| 12323 | p = "int" ; |
| 12324 | break; |
| 12325 | /* ulock_wake */ |
| 12326 | case 516: |
| 12327 | if (ndx == 0 || ndx == 1) |
| 12328 | p = "int" ; |
| 12329 | break; |
| 12330 | /* fclonefileat */ |
| 12331 | case 517: |
| 12332 | if (ndx == 0 || ndx == 1) |
| 12333 | p = "int" ; |
| 12334 | break; |
| 12335 | /* fs_snapshot */ |
| 12336 | case 518: |
| 12337 | if (ndx == 0 || ndx == 1) |
| 12338 | p = "int" ; |
| 12339 | break; |
| 12340 | /* terminate_with_payload */ |
| 12341 | case 520: |
| 12342 | if (ndx == 0 || ndx == 1) |
| 12343 | p = "int" ; |
| 12344 | break; |
| 12345 | /* abort_with_payload */ |
| 12346 | case 521: |
| 12347 | if (ndx == 0 || ndx == 1) |
| 12348 | p = "void" ; |
| 12349 | break; |
| 12350 | #if NECP |
| 12351 | /* necp_session_open */ |
| 12352 | case 522: |
| 12353 | if (ndx == 0 || ndx == 1) |
| 12354 | p = "int" ; |
| 12355 | break; |
| 12356 | /* necp_session_action */ |
| 12357 | case 523: |
| 12358 | if (ndx == 0 || ndx == 1) |
| 12359 | p = "int" ; |
| 12360 | break; |
| 12361 | #else /* NECP */ |
| 12362 | #endif /* NECP */ |
| 12363 | /* setattrlistat */ |
| 12364 | case 524: |
| 12365 | if (ndx == 0 || ndx == 1) |
| 12366 | p = "int" ; |
| 12367 | break; |
| 12368 | /* net_qos_guideline */ |
| 12369 | case 525: |
| 12370 | if (ndx == 0 || ndx == 1) |
| 12371 | p = "int" ; |
| 12372 | break; |
| 12373 | /* fmount */ |
| 12374 | case 526: |
| 12375 | if (ndx == 0 || ndx == 1) |
| 12376 | p = "int" ; |
| 12377 | break; |
| 12378 | /* ntp_adjtime */ |
| 12379 | case 527: |
| 12380 | if (ndx == 0 || ndx == 1) |
| 12381 | p = "int" ; |
| 12382 | break; |
| 12383 | /* ntp_gettime */ |
| 12384 | case 528: |
| 12385 | if (ndx == 0 || ndx == 1) |
| 12386 | p = "int" ; |
| 12387 | break; |
| 12388 | /* os_fault_with_payload */ |
| 12389 | case 529: |
| 12390 | if (ndx == 0 || ndx == 1) |
| 12391 | p = "int" ; |
| 12392 | break; |
| 12393 | #if CONFIG_WORKQUEUE |
| 12394 | /* kqueue_workloop_ctl */ |
| 12395 | case 530: |
| 12396 | if (ndx == 0 || ndx == 1) |
| 12397 | p = "int" ; |
| 12398 | break; |
| 12399 | #else |
| 12400 | #endif // CONFIG_WORKQUEUE |
| 12401 | default: |
| 12402 | break; |
| 12403 | }; |
| 12404 | if (p != NULL) |
| 12405 | strlcpy(desc, p, descsz); |
| 12406 | } |
| 12407 | |