1 /* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 9 static void 10 systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) 11 { 12 int64_t *iarg = (int64_t *) uarg; 13 switch (sysnum) { 14 #define nosys linux_nosys 15 /* read */ 16 case 0: { 17 struct read_args *p = params; 18 iarg[0] = p->fd; /* int */ 19 uarg[1] = (intptr_t) p->buf; /* char * */ 20 uarg[2] = p->nbyte; /* u_int */ 21 *n_args = 3; 22 break; 23 } 24 /* write */ 25 case 1: { 26 struct write_args *p = params; 27 iarg[0] = p->fd; /* int */ 28 uarg[1] = (intptr_t) p->buf; /* char * */ 29 uarg[2] = p->nbyte; /* u_int */ 30 *n_args = 3; 31 break; 32 } 33 /* linux_open */ 34 case 2: { 35 struct linux_open_args *p = params; 36 uarg[0] = (intptr_t) p->path; /* char * */ 37 iarg[1] = p->flags; /* l_int */ 38 iarg[2] = p->mode; /* l_int */ 39 *n_args = 3; 40 break; 41 } 42 /* close */ 43 case 3: { 44 struct close_args *p = params; 45 iarg[0] = p->fd; /* int */ 46 *n_args = 1; 47 break; 48 } 49 /* linux_newstat */ 50 case 4: { 51 struct linux_newstat_args *p = params; 52 uarg[0] = (intptr_t) p->path; /* char * */ 53 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 54 *n_args = 2; 55 break; 56 } 57 /* linux_newfstat */ 58 case 5: { 59 struct linux_newfstat_args *p = params; 60 iarg[0] = p->fd; /* l_uint */ 61 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 62 *n_args = 2; 63 break; 64 } 65 /* linux_newlstat */ 66 case 6: { 67 struct linux_newlstat_args *p = params; 68 uarg[0] = (intptr_t) p->path; /* char * */ 69 uarg[1] = (intptr_t) p->buf; /* struct l_newstat * */ 70 *n_args = 2; 71 break; 72 } 73 /* poll */ 74 case 7: { 75 struct poll_args *p = params; 76 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 77 uarg[1] = p->nfds; /* u_int */ 78 iarg[2] = p->timeout; /* int */ 79 *n_args = 3; 80 break; 81 } 82 /* linux_lseek */ 83 case 8: { 84 struct linux_lseek_args *p = params; 85 iarg[0] = p->fdes; /* l_uint */ 86 iarg[1] = p->off; /* l_off_t */ 87 iarg[2] = p->whence; /* l_int */ 88 *n_args = 3; 89 break; 90 } 91 /* linux_mmap2 */ 92 case 9: { 93 struct linux_mmap2_args *p = params; 94 iarg[0] = p->addr; /* l_ulong */ 95 iarg[1] = p->len; /* l_ulong */ 96 iarg[2] = p->prot; /* l_ulong */ 97 iarg[3] = p->flags; /* l_ulong */ 98 iarg[4] = p->fd; /* l_ulong */ 99 iarg[5] = p->pgoff; /* l_ulong */ 100 *n_args = 6; 101 break; 102 } 103 /* linux_mprotect */ 104 case 10: { 105 struct linux_mprotect_args *p = params; 106 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 107 iarg[1] = p->len; /* int */ 108 iarg[2] = p->prot; /* int */ 109 *n_args = 3; 110 break; 111 } 112 /* munmap */ 113 case 11: { 114 struct munmap_args *p = params; 115 uarg[0] = (intptr_t) p->addr; /* caddr_t */ 116 iarg[1] = p->len; /* int */ 117 *n_args = 2; 118 break; 119 } 120 /* linux_brk */ 121 case 12: { 122 struct linux_brk_args *p = params; 123 iarg[0] = p->dsend; /* l_ulong */ 124 *n_args = 1; 125 break; 126 } 127 /* linux_rt_sigaction */ 128 case 13: { 129 struct linux_rt_sigaction_args *p = params; 130 iarg[0] = p->sig; /* l_int */ 131 uarg[1] = (intptr_t) p->act; /* l_sigaction_t * */ 132 uarg[2] = (intptr_t) p->oact; /* l_sigaction_t * */ 133 iarg[3] = p->sigsetsize; /* l_size_t */ 134 *n_args = 4; 135 break; 136 } 137 /* linux_rt_sigprocmask */ 138 case 14: { 139 struct linux_rt_sigprocmask_args *p = params; 140 iarg[0] = p->how; /* l_int */ 141 uarg[1] = (intptr_t) p->mask; /* l_sigset_t * */ 142 uarg[2] = (intptr_t) p->omask; /* l_sigset_t * */ 143 iarg[3] = p->sigsetsize; /* l_size_t */ 144 *n_args = 4; 145 break; 146 } 147 /* linux_rt_sigreturn */ 148 case 15: { 149 struct linux_rt_sigreturn_args *p = params; 150 uarg[0] = (intptr_t) p->ucp; /* struct l_ucontext * */ 151 *n_args = 1; 152 break; 153 } 154 /* linux_ioctl */ 155 case 16: { 156 struct linux_ioctl_args *p = params; 157 iarg[0] = p->fd; /* l_uint */ 158 iarg[1] = p->cmd; /* l_uint */ 159 uarg[2] = p->arg; /* uintptr_t */ 160 *n_args = 3; 161 break; 162 } 163 /* linux_pread */ 164 case 17: { 165 struct linux_pread_args *p = params; 166 iarg[0] = p->fd; /* l_uint */ 167 uarg[1] = (intptr_t) p->buf; /* char * */ 168 iarg[2] = p->nbyte; /* l_size_t */ 169 iarg[3] = p->offset; /* l_loff_t */ 170 *n_args = 4; 171 break; 172 } 173 /* linux_pwrite */ 174 case 18: { 175 struct linux_pwrite_args *p = params; 176 iarg[0] = p->fd; /* l_uint */ 177 uarg[1] = (intptr_t) p->buf; /* char * */ 178 iarg[2] = p->nbyte; /* l_size_t */ 179 iarg[3] = p->offset; /* l_loff_t */ 180 *n_args = 4; 181 break; 182 } 183 /* readv */ 184 case 19: { 185 struct readv_args *p = params; 186 iarg[0] = p->fd; /* int */ 187 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 188 uarg[2] = p->iovcnt; /* u_int */ 189 *n_args = 3; 190 break; 191 } 192 /* writev */ 193 case 20: { 194 struct writev_args *p = params; 195 iarg[0] = p->fd; /* int */ 196 uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ 197 uarg[2] = p->iovcnt; /* u_int */ 198 *n_args = 3; 199 break; 200 } 201 /* linux_access */ 202 case 21: { 203 struct linux_access_args *p = params; 204 uarg[0] = (intptr_t) p->path; /* char * */ 205 iarg[1] = p->amode; /* l_int */ 206 *n_args = 2; 207 break; 208 } 209 /* linux_pipe */ 210 case 22: { 211 struct linux_pipe_args *p = params; 212 uarg[0] = (intptr_t) p->pipefds; /* l_ulong * */ 213 *n_args = 1; 214 break; 215 } 216 /* linux_select */ 217 case 23: { 218 struct linux_select_args *p = params; 219 iarg[0] = p->nfds; /* l_int */ 220 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 221 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 222 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 223 uarg[4] = (intptr_t) p->timeout; /* struct l_timeval * */ 224 *n_args = 5; 225 break; 226 } 227 /* sched_yield */ 228 case 24: { 229 *n_args = 0; 230 break; 231 } 232 /* linux_mremap */ 233 case 25: { 234 struct linux_mremap_args *p = params; 235 iarg[0] = p->addr; /* l_ulong */ 236 iarg[1] = p->old_len; /* l_ulong */ 237 iarg[2] = p->new_len; /* l_ulong */ 238 iarg[3] = p->flags; /* l_ulong */ 239 iarg[4] = p->new_addr; /* l_ulong */ 240 *n_args = 5; 241 break; 242 } 243 /* linux_msync */ 244 case 26: { 245 struct linux_msync_args *p = params; 246 iarg[0] = p->addr; /* l_ulong */ 247 iarg[1] = p->len; /* l_size_t */ 248 iarg[2] = p->fl; /* l_int */ 249 *n_args = 3; 250 break; 251 } 252 /* linux_mincore */ 253 case 27: { 254 struct linux_mincore_args *p = params; 255 iarg[0] = p->start; /* l_ulong */ 256 iarg[1] = p->len; /* l_size_t */ 257 uarg[2] = (intptr_t) p->vec; /* u_char * */ 258 *n_args = 3; 259 break; 260 } 261 /* madvise */ 262 case 28: { 263 struct madvise_args *p = params; 264 uarg[0] = (intptr_t) p->addr; /* void * */ 265 uarg[1] = p->len; /* size_t */ 266 iarg[2] = p->behav; /* int */ 267 *n_args = 3; 268 break; 269 } 270 /* linux_shmget */ 271 case 29: { 272 struct linux_shmget_args *p = params; 273 iarg[0] = p->key; /* l_key_t */ 274 iarg[1] = p->size; /* l_size_t */ 275 iarg[2] = p->shmflg; /* l_int */ 276 *n_args = 3; 277 break; 278 } 279 /* linux_shmat */ 280 case 30: { 281 struct linux_shmat_args *p = params; 282 iarg[0] = p->shmid; /* l_int */ 283 uarg[1] = (intptr_t) p->shmaddr; /* char * */ 284 iarg[2] = p->shmflg; /* l_int */ 285 *n_args = 3; 286 break; 287 } 288 /* linux_shmctl */ 289 case 31: { 290 struct linux_shmctl_args *p = params; 291 iarg[0] = p->shmid; /* l_int */ 292 iarg[1] = p->cmd; /* l_int */ 293 uarg[2] = (intptr_t) p->buf; /* struct l_shmid_ds * */ 294 *n_args = 3; 295 break; 296 } 297 /* dup */ 298 case 32: { 299 struct dup_args *p = params; 300 uarg[0] = p->fd; /* u_int */ 301 *n_args = 1; 302 break; 303 } 304 /* dup2 */ 305 case 33: { 306 struct dup2_args *p = params; 307 uarg[0] = p->from; /* u_int */ 308 uarg[1] = p->to; /* u_int */ 309 *n_args = 2; 310 break; 311 } 312 /* linux_pause */ 313 case 34: { 314 *n_args = 0; 315 break; 316 } 317 /* linux_nanosleep */ 318 case 35: { 319 struct linux_nanosleep_args *p = params; 320 uarg[0] = (intptr_t) p->rqtp; /* const struct l_timespec * */ 321 uarg[1] = (intptr_t) p->rmtp; /* struct l_timespec * */ 322 *n_args = 2; 323 break; 324 } 325 /* linux_getitimer */ 326 case 36: { 327 struct linux_getitimer_args *p = params; 328 iarg[0] = p->which; /* l_int */ 329 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 330 *n_args = 2; 331 break; 332 } 333 /* linux_alarm */ 334 case 37: { 335 struct linux_alarm_args *p = params; 336 iarg[0] = p->secs; /* l_uint */ 337 *n_args = 1; 338 break; 339 } 340 /* linux_setitimer */ 341 case 38: { 342 struct linux_setitimer_args *p = params; 343 iarg[0] = p->which; /* l_int */ 344 uarg[1] = (intptr_t) p->itv; /* struct l_itimerval * */ 345 uarg[2] = (intptr_t) p->oitv; /* struct l_itimerval * */ 346 *n_args = 3; 347 break; 348 } 349 /* linux_getpid */ 350 case 39: { 351 *n_args = 0; 352 break; 353 } 354 /* linux_sendfile */ 355 case 40: { 356 struct linux_sendfile_args *p = params; 357 iarg[0] = p->out; /* int */ 358 iarg[1] = p->in; /* int */ 359 uarg[2] = (intptr_t) p->offset; /* l_long * */ 360 iarg[3] = p->count; /* l_size_t */ 361 *n_args = 4; 362 break; 363 } 364 /* linux_socket */ 365 case 41: { 366 struct linux_socket_args *p = params; 367 iarg[0] = p->domain; /* l_int */ 368 iarg[1] = p->type; /* l_int */ 369 iarg[2] = p->protocol; /* l_int */ 370 *n_args = 3; 371 break; 372 } 373 /* linux_connect */ 374 case 42: { 375 struct linux_connect_args *p = params; 376 iarg[0] = p->s; /* l_int */ 377 iarg[1] = p->name; /* l_uintptr_t */ 378 iarg[2] = p->namelen; /* l_int */ 379 *n_args = 3; 380 break; 381 } 382 /* linux_accept */ 383 case 43: { 384 struct linux_accept_args *p = params; 385 iarg[0] = p->s; /* l_int */ 386 iarg[1] = p->addr; /* l_uintptr_t */ 387 iarg[2] = p->namelen; /* l_uintptr_t */ 388 *n_args = 3; 389 break; 390 } 391 /* linux_sendto */ 392 case 44: { 393 struct linux_sendto_args *p = params; 394 iarg[0] = p->s; /* l_int */ 395 iarg[1] = p->msg; /* l_uintptr_t */ 396 iarg[2] = p->len; /* l_int */ 397 iarg[3] = p->flags; /* l_int */ 398 iarg[4] = p->to; /* l_uintptr_t */ 399 iarg[5] = p->tolen; /* l_int */ 400 *n_args = 6; 401 break; 402 } 403 /* linux_recvfrom */ 404 case 45: { 405 struct linux_recvfrom_args *p = params; 406 iarg[0] = p->s; /* l_int */ 407 iarg[1] = p->buf; /* l_uintptr_t */ 408 iarg[2] = p->len; /* l_size_t */ 409 iarg[3] = p->flags; /* l_int */ 410 iarg[4] = p->from; /* l_uintptr_t */ 411 iarg[5] = p->fromlen; /* l_uintptr_t */ 412 *n_args = 6; 413 break; 414 } 415 /* linux_sendmsg */ 416 case 46: { 417 struct linux_sendmsg_args *p = params; 418 iarg[0] = p->s; /* l_int */ 419 iarg[1] = p->msg; /* l_uintptr_t */ 420 iarg[2] = p->flags; /* l_int */ 421 *n_args = 3; 422 break; 423 } 424 /* linux_recvmsg */ 425 case 47: { 426 struct linux_recvmsg_args *p = params; 427 iarg[0] = p->s; /* l_int */ 428 iarg[1] = p->msg; /* l_uintptr_t */ 429 iarg[2] = p->flags; /* l_int */ 430 *n_args = 3; 431 break; 432 } 433 /* linux_shutdown */ 434 case 48: { 435 struct linux_shutdown_args *p = params; 436 iarg[0] = p->s; /* l_int */ 437 iarg[1] = p->how; /* l_int */ 438 *n_args = 2; 439 break; 440 } 441 /* linux_bind */ 442 case 49: { 443 struct linux_bind_args *p = params; 444 iarg[0] = p->s; /* l_int */ 445 iarg[1] = p->name; /* l_uintptr_t */ 446 iarg[2] = p->namelen; /* l_int */ 447 *n_args = 3; 448 break; 449 } 450 /* linux_listen */ 451 case 50: { 452 struct linux_listen_args *p = params; 453 iarg[0] = p->s; /* l_int */ 454 iarg[1] = p->backlog; /* l_int */ 455 *n_args = 2; 456 break; 457 } 458 /* linux_getsockname */ 459 case 51: { 460 struct linux_getsockname_args *p = params; 461 iarg[0] = p->s; /* l_int */ 462 iarg[1] = p->addr; /* l_uintptr_t */ 463 iarg[2] = p->namelen; /* l_uintptr_t */ 464 *n_args = 3; 465 break; 466 } 467 /* linux_getpeername */ 468 case 52: { 469 struct linux_getpeername_args *p = params; 470 iarg[0] = p->s; /* l_int */ 471 iarg[1] = p->addr; /* l_uintptr_t */ 472 iarg[2] = p->namelen; /* l_uintptr_t */ 473 *n_args = 3; 474 break; 475 } 476 /* linux_socketpair */ 477 case 53: { 478 struct linux_socketpair_args *p = params; 479 iarg[0] = p->domain; /* l_int */ 480 iarg[1] = p->type; /* l_int */ 481 iarg[2] = p->protocol; /* l_int */ 482 iarg[3] = p->rsv; /* l_uintptr_t */ 483 *n_args = 4; 484 break; 485 } 486 /* linux_setsockopt */ 487 case 54: { 488 struct linux_setsockopt_args *p = params; 489 iarg[0] = p->s; /* l_int */ 490 iarg[1] = p->level; /* l_int */ 491 iarg[2] = p->optname; /* l_int */ 492 iarg[3] = p->optval; /* l_uintptr_t */ 493 iarg[4] = p->optlen; /* l_int */ 494 *n_args = 5; 495 break; 496 } 497 /* linux_getsockopt */ 498 case 55: { 499 struct linux_getsockopt_args *p = params; 500 iarg[0] = p->s; /* l_int */ 501 iarg[1] = p->level; /* l_int */ 502 iarg[2] = p->optname; /* l_int */ 503 iarg[3] = p->optval; /* l_uintptr_t */ 504 iarg[4] = p->optlen; /* l_uintptr_t */ 505 *n_args = 5; 506 break; 507 } 508 /* linux_clone */ 509 case 56: { 510 struct linux_clone_args *p = params; 511 iarg[0] = p->flags; /* l_int */ 512 uarg[1] = (intptr_t) p->stack; /* void * */ 513 uarg[2] = (intptr_t) p->parent_tidptr; /* void * */ 514 uarg[3] = (intptr_t) p->child_tidptr; /* void * */ 515 uarg[4] = (intptr_t) p->tls; /* void * */ 516 *n_args = 5; 517 break; 518 } 519 /* linux_fork */ 520 case 57: { 521 *n_args = 0; 522 break; 523 } 524 /* linux_vfork */ 525 case 58: { 526 *n_args = 0; 527 break; 528 } 529 /* linux_execve */ 530 case 59: { 531 struct linux_execve_args *p = params; 532 uarg[0] = (intptr_t) p->path; /* char * */ 533 uarg[1] = (intptr_t) p->argp; /* char ** */ 534 uarg[2] = (intptr_t) p->envp; /* char ** */ 535 *n_args = 3; 536 break; 537 } 538 /* linux_exit */ 539 case 60: { 540 struct linux_exit_args *p = params; 541 iarg[0] = p->rval; /* int */ 542 *n_args = 1; 543 break; 544 } 545 /* linux_wait4 */ 546 case 61: { 547 struct linux_wait4_args *p = params; 548 iarg[0] = p->pid; /* l_pid_t */ 549 uarg[1] = (intptr_t) p->status; /* l_int * */ 550 iarg[2] = p->options; /* l_int */ 551 uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ 552 *n_args = 4; 553 break; 554 } 555 /* linux_kill */ 556 case 62: { 557 struct linux_kill_args *p = params; 558 iarg[0] = p->pid; /* l_int */ 559 iarg[1] = p->signum; /* l_int */ 560 *n_args = 2; 561 break; 562 } 563 /* linux_newuname */ 564 case 63: { 565 struct linux_newuname_args *p = params; 566 uarg[0] = (intptr_t) p->buf; /* struct l_new_utsname * */ 567 *n_args = 1; 568 break; 569 } 570 /* linux_semget */ 571 case 64: { 572 struct linux_semget_args *p = params; 573 iarg[0] = p->key; /* l_key_t */ 574 iarg[1] = p->nsems; /* l_int */ 575 iarg[2] = p->semflg; /* l_int */ 576 *n_args = 3; 577 break; 578 } 579 /* linux_semop */ 580 case 65: { 581 struct linux_semop_args *p = params; 582 iarg[0] = p->semid; /* l_int */ 583 uarg[1] = (intptr_t) p->tsops; /* struct l_sembuf * */ 584 iarg[2] = p->nsops; /* l_uint */ 585 *n_args = 3; 586 break; 587 } 588 /* linux_semctl */ 589 case 66: { 590 struct linux_semctl_args *p = params; 591 iarg[0] = p->semid; /* l_int */ 592 iarg[1] = p->semnum; /* l_int */ 593 iarg[2] = p->cmd; /* l_int */ 594 uarg[3] = p->arg.buf; /* union l_semun */ 595 *n_args = 4; 596 break; 597 } 598 /* linux_shmdt */ 599 case 67: { 600 struct linux_shmdt_args *p = params; 601 uarg[0] = (intptr_t) p->shmaddr; /* char * */ 602 *n_args = 1; 603 break; 604 } 605 /* linux_msgget */ 606 case 68: { 607 struct linux_msgget_args *p = params; 608 iarg[0] = p->key; /* l_key_t */ 609 iarg[1] = p->msgflg; /* l_int */ 610 *n_args = 2; 611 break; 612 } 613 /* linux_msgsnd */ 614 case 69: { 615 struct linux_msgsnd_args *p = params; 616 iarg[0] = p->msqid; /* l_int */ 617 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ 618 iarg[2] = p->msgsz; /* l_size_t */ 619 iarg[3] = p->msgflg; /* l_int */ 620 *n_args = 4; 621 break; 622 } 623 /* linux_msgrcv */ 624 case 70: { 625 struct linux_msgrcv_args *p = params; 626 iarg[0] = p->msqid; /* l_int */ 627 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ 628 iarg[2] = p->msgsz; /* l_size_t */ 629 iarg[3] = p->msgtyp; /* l_long */ 630 iarg[4] = p->msgflg; /* l_int */ 631 *n_args = 5; 632 break; 633 } 634 /* linux_msgctl */ 635 case 71: { 636 struct linux_msgctl_args *p = params; 637 iarg[0] = p->msqid; /* l_int */ 638 iarg[1] = p->cmd; /* l_int */ 639 uarg[2] = (intptr_t) p->buf; /* struct l_msqid_ds * */ 640 *n_args = 3; 641 break; 642 } 643 /* linux_fcntl */ 644 case 72: { 645 struct linux_fcntl_args *p = params; 646 iarg[0] = p->fd; /* l_uint */ 647 iarg[1] = p->cmd; /* l_uint */ 648 iarg[2] = p->arg; /* l_ulong */ 649 *n_args = 3; 650 break; 651 } 652 /* flock */ 653 case 73: { 654 struct flock_args *p = params; 655 iarg[0] = p->fd; /* int */ 656 iarg[1] = p->how; /* int */ 657 *n_args = 2; 658 break; 659 } 660 /* fsync */ 661 case 74: { 662 struct fsync_args *p = params; 663 iarg[0] = p->fd; /* int */ 664 *n_args = 1; 665 break; 666 } 667 /* linux_fdatasync */ 668 case 75: { 669 struct linux_fdatasync_args *p = params; 670 iarg[0] = p->fd; /* l_uint */ 671 *n_args = 1; 672 break; 673 } 674 /* linux_truncate */ 675 case 76: { 676 struct linux_truncate_args *p = params; 677 uarg[0] = (intptr_t) p->path; /* char * */ 678 iarg[1] = p->length; /* l_ulong */ 679 *n_args = 2; 680 break; 681 } 682 /* linux_ftruncate */ 683 case 77: { 684 struct linux_ftruncate_args *p = params; 685 iarg[0] = p->fd; /* l_int */ 686 iarg[1] = p->length; /* l_long */ 687 *n_args = 2; 688 break; 689 } 690 /* linux_getdents */ 691 case 78: { 692 struct linux_getdents_args *p = params; 693 iarg[0] = p->fd; /* l_uint */ 694 uarg[1] = (intptr_t) p->dent; /* void * */ 695 iarg[2] = p->count; /* l_uint */ 696 *n_args = 3; 697 break; 698 } 699 /* linux_getcwd */ 700 case 79: { 701 struct linux_getcwd_args *p = params; 702 uarg[0] = (intptr_t) p->buf; /* char * */ 703 iarg[1] = p->bufsize; /* l_ulong */ 704 *n_args = 2; 705 break; 706 } 707 /* linux_chdir */ 708 case 80: { 709 struct linux_chdir_args *p = params; 710 uarg[0] = (intptr_t) p->path; /* char * */ 711 *n_args = 1; 712 break; 713 } 714 /* fchdir */ 715 case 81: { 716 struct fchdir_args *p = params; 717 iarg[0] = p->fd; /* int */ 718 *n_args = 1; 719 break; 720 } 721 /* linux_rename */ 722 case 82: { 723 struct linux_rename_args *p = params; 724 uarg[0] = (intptr_t) p->from; /* char * */ 725 uarg[1] = (intptr_t) p->to; /* char * */ 726 *n_args = 2; 727 break; 728 } 729 /* linux_mkdir */ 730 case 83: { 731 struct linux_mkdir_args *p = params; 732 uarg[0] = (intptr_t) p->path; /* char * */ 733 iarg[1] = p->mode; /* l_int */ 734 *n_args = 2; 735 break; 736 } 737 /* linux_rmdir */ 738 case 84: { 739 struct linux_rmdir_args *p = params; 740 uarg[0] = (intptr_t) p->path; /* char * */ 741 *n_args = 1; 742 break; 743 } 744 /* linux_creat */ 745 case 85: { 746 struct linux_creat_args *p = params; 747 uarg[0] = (intptr_t) p->path; /* char * */ 748 iarg[1] = p->mode; /* l_int */ 749 *n_args = 2; 750 break; 751 } 752 /* linux_link */ 753 case 86: { 754 struct linux_link_args *p = params; 755 uarg[0] = (intptr_t) p->path; /* char * */ 756 uarg[1] = (intptr_t) p->to; /* char * */ 757 *n_args = 2; 758 break; 759 } 760 /* linux_unlink */ 761 case 87: { 762 struct linux_unlink_args *p = params; 763 uarg[0] = (intptr_t) p->path; /* char * */ 764 *n_args = 1; 765 break; 766 } 767 /* linux_symlink */ 768 case 88: { 769 struct linux_symlink_args *p = params; 770 uarg[0] = (intptr_t) p->path; /* char * */ 771 uarg[1] = (intptr_t) p->to; /* char * */ 772 *n_args = 2; 773 break; 774 } 775 /* linux_readlink */ 776 case 89: { 777 struct linux_readlink_args *p = params; 778 uarg[0] = (intptr_t) p->name; /* char * */ 779 uarg[1] = (intptr_t) p->buf; /* char * */ 780 iarg[2] = p->count; /* l_int */ 781 *n_args = 3; 782 break; 783 } 784 /* linux_chmod */ 785 case 90: { 786 struct linux_chmod_args *p = params; 787 uarg[0] = (intptr_t) p->path; /* char * */ 788 iarg[1] = p->mode; /* l_mode_t */ 789 *n_args = 2; 790 break; 791 } 792 /* fchmod */ 793 case 91: { 794 struct fchmod_args *p = params; 795 iarg[0] = p->fd; /* int */ 796 iarg[1] = p->mode; /* int */ 797 *n_args = 2; 798 break; 799 } 800 /* linux_chown */ 801 case 92: { 802 struct linux_chown_args *p = params; 803 uarg[0] = (intptr_t) p->path; /* char * */ 804 iarg[1] = p->uid; /* l_uid_t */ 805 iarg[2] = p->gid; /* l_gid_t */ 806 *n_args = 3; 807 break; 808 } 809 /* fchown */ 810 case 93: { 811 struct fchown_args *p = params; 812 iarg[0] = p->fd; /* int */ 813 iarg[1] = p->uid; /* int */ 814 iarg[2] = p->gid; /* int */ 815 *n_args = 3; 816 break; 817 } 818 /* linux_lchown */ 819 case 94: { 820 struct linux_lchown_args *p = params; 821 uarg[0] = (intptr_t) p->path; /* char * */ 822 iarg[1] = p->uid; /* l_uid_t */ 823 iarg[2] = p->gid; /* l_gid_t */ 824 *n_args = 3; 825 break; 826 } 827 /* umask */ 828 case 95: { 829 struct umask_args *p = params; 830 iarg[0] = p->newmask; /* int */ 831 *n_args = 1; 832 break; 833 } 834 /* gettimeofday */ 835 case 96: { 836 struct gettimeofday_args *p = params; 837 uarg[0] = (intptr_t) p->tp; /* struct l_timeval * */ 838 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 839 *n_args = 2; 840 break; 841 } 842 /* linux_getrlimit */ 843 case 97: { 844 struct linux_getrlimit_args *p = params; 845 iarg[0] = p->resource; /* l_uint */ 846 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 847 *n_args = 2; 848 break; 849 } 850 /* getrusage */ 851 case 98: { 852 struct getrusage_args *p = params; 853 iarg[0] = p->who; /* int */ 854 uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ 855 *n_args = 2; 856 break; 857 } 858 /* linux_sysinfo */ 859 case 99: { 860 struct linux_sysinfo_args *p = params; 861 uarg[0] = (intptr_t) p->info; /* struct l_sysinfo * */ 862 *n_args = 1; 863 break; 864 } 865 /* linux_times */ 866 case 100: { 867 struct linux_times_args *p = params; 868 uarg[0] = (intptr_t) p->buf; /* struct l_times_argv * */ 869 *n_args = 1; 870 break; 871 } 872 /* linux_ptrace */ 873 case 101: { 874 struct linux_ptrace_args *p = params; 875 iarg[0] = p->req; /* l_long */ 876 iarg[1] = p->pid; /* l_long */ 877 iarg[2] = p->addr; /* l_ulong */ 878 iarg[3] = p->data; /* l_ulong */ 879 *n_args = 4; 880 break; 881 } 882 /* linux_getuid */ 883 case 102: { 884 *n_args = 0; 885 break; 886 } 887 /* linux_syslog */ 888 case 103: { 889 struct linux_syslog_args *p = params; 890 iarg[0] = p->type; /* l_int */ 891 uarg[1] = (intptr_t) p->buf; /* char * */ 892 iarg[2] = p->len; /* l_int */ 893 *n_args = 3; 894 break; 895 } 896 /* linux_getgid */ 897 case 104: { 898 *n_args = 0; 899 break; 900 } 901 /* setuid */ 902 case 105: { 903 struct setuid_args *p = params; 904 uarg[0] = p->uid; /* uid_t */ 905 *n_args = 1; 906 break; 907 } 908 /* setgid */ 909 case 106: { 910 struct setgid_args *p = params; 911 iarg[0] = p->gid; /* gid_t */ 912 *n_args = 1; 913 break; 914 } 915 /* geteuid */ 916 case 107: { 917 *n_args = 0; 918 break; 919 } 920 /* getegid */ 921 case 108: { 922 *n_args = 0; 923 break; 924 } 925 /* setpgid */ 926 case 109: { 927 struct setpgid_args *p = params; 928 iarg[0] = p->pid; /* int */ 929 iarg[1] = p->pgid; /* int */ 930 *n_args = 2; 931 break; 932 } 933 /* linux_getppid */ 934 case 110: { 935 *n_args = 0; 936 break; 937 } 938 /* getpgrp */ 939 case 111: { 940 *n_args = 0; 941 break; 942 } 943 /* setsid */ 944 case 112: { 945 *n_args = 0; 946 break; 947 } 948 /* setreuid */ 949 case 113: { 950 struct setreuid_args *p = params; 951 uarg[0] = p->ruid; /* uid_t */ 952 uarg[1] = p->euid; /* uid_t */ 953 *n_args = 2; 954 break; 955 } 956 /* setregid */ 957 case 114: { 958 struct setregid_args *p = params; 959 iarg[0] = p->rgid; /* gid_t */ 960 iarg[1] = p->egid; /* gid_t */ 961 *n_args = 2; 962 break; 963 } 964 /* linux_getgroups */ 965 case 115: { 966 struct linux_getgroups_args *p = params; 967 iarg[0] = p->gidsetsize; /* l_int */ 968 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 969 *n_args = 2; 970 break; 971 } 972 /* linux_setgroups */ 973 case 116: { 974 struct linux_setgroups_args *p = params; 975 iarg[0] = p->gidsetsize; /* l_int */ 976 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 977 *n_args = 2; 978 break; 979 } 980 /* setresuid */ 981 case 117: { 982 struct setresuid_args *p = params; 983 uarg[0] = p->ruid; /* uid_t */ 984 uarg[1] = p->euid; /* uid_t */ 985 uarg[2] = p->suid; /* uid_t */ 986 *n_args = 3; 987 break; 988 } 989 /* getresuid */ 990 case 118: { 991 struct getresuid_args *p = params; 992 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 993 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 994 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 995 *n_args = 3; 996 break; 997 } 998 /* setresgid */ 999 case 119: { 1000 struct setresgid_args *p = params; 1001 iarg[0] = p->rgid; /* gid_t */ 1002 iarg[1] = p->egid; /* gid_t */ 1003 iarg[2] = p->sgid; /* gid_t */ 1004 *n_args = 3; 1005 break; 1006 } 1007 /* getresgid */ 1008 case 120: { 1009 struct getresgid_args *p = params; 1010 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1011 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1012 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1013 *n_args = 3; 1014 break; 1015 } 1016 /* getpgid */ 1017 case 121: { 1018 struct getpgid_args *p = params; 1019 iarg[0] = p->pid; /* int */ 1020 *n_args = 1; 1021 break; 1022 } 1023 /* linux_setfsuid */ 1024 case 122: { 1025 struct linux_setfsuid_args *p = params; 1026 iarg[0] = p->uid; /* l_uid_t */ 1027 *n_args = 1; 1028 break; 1029 } 1030 /* linux_setfsgid */ 1031 case 123: { 1032 struct linux_setfsgid_args *p = params; 1033 iarg[0] = p->gid; /* l_gid_t */ 1034 *n_args = 1; 1035 break; 1036 } 1037 /* linux_getsid */ 1038 case 124: { 1039 struct linux_getsid_args *p = params; 1040 iarg[0] = p->pid; /* l_pid_t */ 1041 *n_args = 1; 1042 break; 1043 } 1044 /* linux_capget */ 1045 case 125: { 1046 struct linux_capget_args *p = params; 1047 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1048 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1049 *n_args = 2; 1050 break; 1051 } 1052 /* linux_capset */ 1053 case 126: { 1054 struct linux_capset_args *p = params; 1055 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1056 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1057 *n_args = 2; 1058 break; 1059 } 1060 /* linux_rt_sigpending */ 1061 case 127: { 1062 struct linux_rt_sigpending_args *p = params; 1063 uarg[0] = (intptr_t) p->set; /* l_sigset_t * */ 1064 iarg[1] = p->sigsetsize; /* l_size_t */ 1065 *n_args = 2; 1066 break; 1067 } 1068 /* linux_rt_sigtimedwait */ 1069 case 128: { 1070 struct linux_rt_sigtimedwait_args *p = params; 1071 uarg[0] = (intptr_t) p->mask; /* l_sigset_t * */ 1072 uarg[1] = (intptr_t) p->ptr; /* l_siginfo_t * */ 1073 uarg[2] = (intptr_t) p->timeout; /* struct l_timeval * */ 1074 iarg[3] = p->sigsetsize; /* l_size_t */ 1075 *n_args = 4; 1076 break; 1077 } 1078 /* linux_rt_sigqueueinfo */ 1079 case 129: { 1080 struct linux_rt_sigqueueinfo_args *p = params; 1081 iarg[0] = p->pid; /* l_pid_t */ 1082 iarg[1] = p->sig; /* l_int */ 1083 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 1084 *n_args = 3; 1085 break; 1086 } 1087 /* linux_rt_sigsuspend */ 1088 case 130: { 1089 struct linux_rt_sigsuspend_args *p = params; 1090 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 1091 iarg[1] = p->sigsetsize; /* l_size_t */ 1092 *n_args = 2; 1093 break; 1094 } 1095 /* linux_sigaltstack */ 1096 case 131: { 1097 struct linux_sigaltstack_args *p = params; 1098 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 1099 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 1100 *n_args = 2; 1101 break; 1102 } 1103 /* linux_utime */ 1104 case 132: { 1105 struct linux_utime_args *p = params; 1106 uarg[0] = (intptr_t) p->fname; /* char * */ 1107 uarg[1] = (intptr_t) p->times; /* struct l_utimbuf * */ 1108 *n_args = 2; 1109 break; 1110 } 1111 /* linux_mknod */ 1112 case 133: { 1113 struct linux_mknod_args *p = params; 1114 uarg[0] = (intptr_t) p->path; /* char * */ 1115 iarg[1] = p->mode; /* l_int */ 1116 iarg[2] = p->dev; /* l_dev_t */ 1117 *n_args = 3; 1118 break; 1119 } 1120 /* linux_personality */ 1121 case 135: { 1122 struct linux_personality_args *p = params; 1123 iarg[0] = p->per; /* l_uint */ 1124 *n_args = 1; 1125 break; 1126 } 1127 /* linux_ustat */ 1128 case 136: { 1129 struct linux_ustat_args *p = params; 1130 iarg[0] = p->dev; /* l_dev_t */ 1131 uarg[1] = (intptr_t) p->ubuf; /* struct l_ustat * */ 1132 *n_args = 2; 1133 break; 1134 } 1135 /* linux_statfs */ 1136 case 137: { 1137 struct linux_statfs_args *p = params; 1138 uarg[0] = (intptr_t) p->path; /* char * */ 1139 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 1140 *n_args = 2; 1141 break; 1142 } 1143 /* linux_fstatfs */ 1144 case 138: { 1145 struct linux_fstatfs_args *p = params; 1146 iarg[0] = p->fd; /* l_uint */ 1147 uarg[1] = (intptr_t) p->buf; /* struct l_statfs_buf * */ 1148 *n_args = 2; 1149 break; 1150 } 1151 /* linux_sysfs */ 1152 case 139: { 1153 struct linux_sysfs_args *p = params; 1154 iarg[0] = p->option; /* l_int */ 1155 iarg[1] = p->arg1; /* l_ulong */ 1156 iarg[2] = p->arg2; /* l_ulong */ 1157 *n_args = 3; 1158 break; 1159 } 1160 /* linux_getpriority */ 1161 case 140: { 1162 struct linux_getpriority_args *p = params; 1163 iarg[0] = p->which; /* int */ 1164 iarg[1] = p->who; /* int */ 1165 *n_args = 2; 1166 break; 1167 } 1168 /* setpriority */ 1169 case 141: { 1170 struct setpriority_args *p = params; 1171 iarg[0] = p->which; /* int */ 1172 iarg[1] = p->who; /* int */ 1173 iarg[2] = p->prio; /* int */ 1174 *n_args = 3; 1175 break; 1176 } 1177 /* linux_sched_setparam */ 1178 case 142: { 1179 struct linux_sched_setparam_args *p = params; 1180 iarg[0] = p->pid; /* l_pid_t */ 1181 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1182 *n_args = 2; 1183 break; 1184 } 1185 /* linux_sched_getparam */ 1186 case 143: { 1187 struct linux_sched_getparam_args *p = params; 1188 iarg[0] = p->pid; /* l_pid_t */ 1189 uarg[1] = (intptr_t) p->param; /* struct sched_param * */ 1190 *n_args = 2; 1191 break; 1192 } 1193 /* linux_sched_setscheduler */ 1194 case 144: { 1195 struct linux_sched_setscheduler_args *p = params; 1196 iarg[0] = p->pid; /* l_pid_t */ 1197 iarg[1] = p->policy; /* l_int */ 1198 uarg[2] = (intptr_t) p->param; /* struct sched_param * */ 1199 *n_args = 3; 1200 break; 1201 } 1202 /* linux_sched_getscheduler */ 1203 case 145: { 1204 struct linux_sched_getscheduler_args *p = params; 1205 iarg[0] = p->pid; /* l_pid_t */ 1206 *n_args = 1; 1207 break; 1208 } 1209 /* linux_sched_get_priority_max */ 1210 case 146: { 1211 struct linux_sched_get_priority_max_args *p = params; 1212 iarg[0] = p->policy; /* l_int */ 1213 *n_args = 1; 1214 break; 1215 } 1216 /* linux_sched_get_priority_min */ 1217 case 147: { 1218 struct linux_sched_get_priority_min_args *p = params; 1219 iarg[0] = p->policy; /* l_int */ 1220 *n_args = 1; 1221 break; 1222 } 1223 /* linux_sched_rr_get_interval */ 1224 case 148: { 1225 struct linux_sched_rr_get_interval_args *p = params; 1226 iarg[0] = p->pid; /* l_pid_t */ 1227 uarg[1] = (intptr_t) p->interval; /* struct l_timespec * */ 1228 *n_args = 2; 1229 break; 1230 } 1231 /* mlock */ 1232 case 149: { 1233 struct mlock_args *p = params; 1234 uarg[0] = (intptr_t) p->addr; /* const void * */ 1235 uarg[1] = p->len; /* size_t */ 1236 *n_args = 2; 1237 break; 1238 } 1239 /* munlock */ 1240 case 150: { 1241 struct munlock_args *p = params; 1242 uarg[0] = (intptr_t) p->addr; /* const void * */ 1243 uarg[1] = p->len; /* size_t */ 1244 *n_args = 2; 1245 break; 1246 } 1247 /* mlockall */ 1248 case 151: { 1249 struct mlockall_args *p = params; 1250 iarg[0] = p->how; /* int */ 1251 *n_args = 1; 1252 break; 1253 } 1254 /* munlockall */ 1255 case 152: { 1256 *n_args = 0; 1257 break; 1258 } 1259 /* linux_vhangup */ 1260 case 153: { 1261 *n_args = 0; 1262 break; 1263 } 1264 /* linux_pivot_root */ 1265 case 155: { 1266 *n_args = 0; 1267 break; 1268 } 1269 /* linux_sysctl */ 1270 case 156: { 1271 struct linux_sysctl_args *p = params; 1272 uarg[0] = (intptr_t) p->args; /* struct l___sysctl_args * */ 1273 *n_args = 1; 1274 break; 1275 } 1276 /* linux_prctl */ 1277 case 157: { 1278 struct linux_prctl_args *p = params; 1279 iarg[0] = p->option; /* l_int */ 1280 iarg[1] = p->arg2; /* l_uintptr_t */ 1281 iarg[2] = p->arg3; /* l_uintptr_t */ 1282 iarg[3] = p->arg4; /* l_uintptr_t */ 1283 iarg[4] = p->arg5; /* l_uintptr_t */ 1284 *n_args = 5; 1285 break; 1286 } 1287 /* linux_arch_prctl */ 1288 case 158: { 1289 struct linux_arch_prctl_args *p = params; 1290 iarg[0] = p->code; /* l_int */ 1291 iarg[1] = p->addr; /* l_ulong */ 1292 *n_args = 2; 1293 break; 1294 } 1295 /* linux_adjtimex */ 1296 case 159: { 1297 *n_args = 0; 1298 break; 1299 } 1300 /* linux_setrlimit */ 1301 case 160: { 1302 struct linux_setrlimit_args *p = params; 1303 iarg[0] = p->resource; /* l_uint */ 1304 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1305 *n_args = 2; 1306 break; 1307 } 1308 /* chroot */ 1309 case 161: { 1310 struct chroot_args *p = params; 1311 uarg[0] = (intptr_t) p->path; /* char * */ 1312 *n_args = 1; 1313 break; 1314 } 1315 /* sync */ 1316 case 162: { 1317 *n_args = 0; 1318 break; 1319 } 1320 /* acct */ 1321 case 163: { 1322 struct acct_args *p = params; 1323 uarg[0] = (intptr_t) p->path; /* char * */ 1324 *n_args = 1; 1325 break; 1326 } 1327 /* settimeofday */ 1328 case 164: { 1329 struct settimeofday_args *p = params; 1330 uarg[0] = (intptr_t) p->tv; /* struct l_timeval * */ 1331 uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ 1332 *n_args = 2; 1333 break; 1334 } 1335 /* linux_mount */ 1336 case 165: { 1337 struct linux_mount_args *p = params; 1338 uarg[0] = (intptr_t) p->specialfile; /* char * */ 1339 uarg[1] = (intptr_t) p->dir; /* char * */ 1340 uarg[2] = (intptr_t) p->filesystemtype; /* char * */ 1341 iarg[3] = p->rwflag; /* l_ulong */ 1342 uarg[4] = (intptr_t) p->data; /* void * */ 1343 *n_args = 5; 1344 break; 1345 } 1346 /* linux_umount */ 1347 case 166: { 1348 struct linux_umount_args *p = params; 1349 uarg[0] = (intptr_t) p->path; /* char * */ 1350 iarg[1] = p->flags; /* l_int */ 1351 *n_args = 2; 1352 break; 1353 } 1354 /* swapon */ 1355 case 167: { 1356 struct swapon_args *p = params; 1357 uarg[0] = (intptr_t) p->name; /* char * */ 1358 *n_args = 1; 1359 break; 1360 } 1361 /* linux_swapoff */ 1362 case 168: { 1363 *n_args = 0; 1364 break; 1365 } 1366 /* linux_reboot */ 1367 case 169: { 1368 struct linux_reboot_args *p = params; 1369 iarg[0] = p->magic1; /* l_int */ 1370 iarg[1] = p->magic2; /* l_int */ 1371 iarg[2] = p->cmd; /* l_uint */ 1372 uarg[3] = (intptr_t) p->arg; /* void * */ 1373 *n_args = 4; 1374 break; 1375 } 1376 /* linux_sethostname */ 1377 case 170: { 1378 struct linux_sethostname_args *p = params; 1379 uarg[0] = (intptr_t) p->hostname; /* char * */ 1380 iarg[1] = p->len; /* l_uint */ 1381 *n_args = 2; 1382 break; 1383 } 1384 /* linux_setdomainname */ 1385 case 171: { 1386 struct linux_setdomainname_args *p = params; 1387 uarg[0] = (intptr_t) p->name; /* char * */ 1388 iarg[1] = p->len; /* l_int */ 1389 *n_args = 2; 1390 break; 1391 } 1392 /* linux_iopl */ 1393 case 172: { 1394 struct linux_iopl_args *p = params; 1395 iarg[0] = p->level; /* l_uint */ 1396 *n_args = 1; 1397 break; 1398 } 1399 /* linux_create_module */ 1400 case 174: { 1401 *n_args = 0; 1402 break; 1403 } 1404 /* linux_init_module */ 1405 case 175: { 1406 *n_args = 0; 1407 break; 1408 } 1409 /* linux_delete_module */ 1410 case 176: { 1411 *n_args = 0; 1412 break; 1413 } 1414 /* linux_get_kernel_syms */ 1415 case 177: { 1416 *n_args = 0; 1417 break; 1418 } 1419 /* linux_query_module */ 1420 case 178: { 1421 *n_args = 0; 1422 break; 1423 } 1424 /* linux_quotactl */ 1425 case 179: { 1426 *n_args = 0; 1427 break; 1428 } 1429 /* linux_nfsservctl */ 1430 case 180: { 1431 *n_args = 0; 1432 break; 1433 } 1434 /* linux_getpmsg */ 1435 case 181: { 1436 *n_args = 0; 1437 break; 1438 } 1439 /* linux_putpmsg */ 1440 case 182: { 1441 *n_args = 0; 1442 break; 1443 } 1444 /* linux_afs_syscall */ 1445 case 183: { 1446 *n_args = 0; 1447 break; 1448 } 1449 /* linux_tuxcall */ 1450 case 184: { 1451 *n_args = 0; 1452 break; 1453 } 1454 /* linux_security */ 1455 case 185: { 1456 *n_args = 0; 1457 break; 1458 } 1459 /* linux_gettid */ 1460 case 186: { 1461 *n_args = 0; 1462 break; 1463 } 1464 /* linux_setxattr */ 1465 case 188: { 1466 *n_args = 0; 1467 break; 1468 } 1469 /* linux_lsetxattr */ 1470 case 189: { 1471 *n_args = 0; 1472 break; 1473 } 1474 /* linux_fsetxattr */ 1475 case 190: { 1476 *n_args = 0; 1477 break; 1478 } 1479 /* linux_getxattr */ 1480 case 191: { 1481 *n_args = 0; 1482 break; 1483 } 1484 /* linux_lgetxattr */ 1485 case 192: { 1486 *n_args = 0; 1487 break; 1488 } 1489 /* linux_fgetxattr */ 1490 case 193: { 1491 *n_args = 0; 1492 break; 1493 } 1494 /* linux_listxattr */ 1495 case 194: { 1496 *n_args = 0; 1497 break; 1498 } 1499 /* linux_llistxattr */ 1500 case 195: { 1501 *n_args = 0; 1502 break; 1503 } 1504 /* linux_flistxattr */ 1505 case 196: { 1506 *n_args = 0; 1507 break; 1508 } 1509 /* linux_removexattr */ 1510 case 197: { 1511 *n_args = 0; 1512 break; 1513 } 1514 /* linux_lremovexattr */ 1515 case 198: { 1516 *n_args = 0; 1517 break; 1518 } 1519 /* linux_fremovexattr */ 1520 case 199: { 1521 *n_args = 0; 1522 break; 1523 } 1524 /* linux_tkill */ 1525 case 200: { 1526 struct linux_tkill_args *p = params; 1527 iarg[0] = p->tid; /* int */ 1528 iarg[1] = p->sig; /* int */ 1529 *n_args = 2; 1530 break; 1531 } 1532 /* linux_time */ 1533 case 201: { 1534 struct linux_time_args *p = params; 1535 uarg[0] = (intptr_t) p->tm; /* l_time_t * */ 1536 *n_args = 1; 1537 break; 1538 } 1539 /* linux_sys_futex */ 1540 case 202: { 1541 struct linux_sys_futex_args *p = params; 1542 uarg[0] = (intptr_t) p->uaddr; /* void * */ 1543 iarg[1] = p->op; /* int */ 1544 iarg[2] = p->val; /* int */ 1545 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 1546 uarg[4] = (intptr_t) p->uaddr2; /* void * */ 1547 iarg[5] = p->val3; /* int */ 1548 *n_args = 6; 1549 break; 1550 } 1551 /* linux_sched_setaffinity */ 1552 case 203: { 1553 struct linux_sched_setaffinity_args *p = params; 1554 iarg[0] = p->pid; /* l_pid_t */ 1555 iarg[1] = p->len; /* l_uint */ 1556 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1557 *n_args = 3; 1558 break; 1559 } 1560 /* linux_sched_getaffinity */ 1561 case 204: { 1562 struct linux_sched_getaffinity_args *p = params; 1563 iarg[0] = p->pid; /* l_pid_t */ 1564 iarg[1] = p->len; /* l_uint */ 1565 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1566 *n_args = 3; 1567 break; 1568 } 1569 /* linux_set_thread_area */ 1570 case 205: { 1571 *n_args = 0; 1572 break; 1573 } 1574 /* linux_lookup_dcookie */ 1575 case 212: { 1576 *n_args = 0; 1577 break; 1578 } 1579 /* linux_epoll_create */ 1580 case 213: { 1581 struct linux_epoll_create_args *p = params; 1582 iarg[0] = p->size; /* l_int */ 1583 *n_args = 1; 1584 break; 1585 } 1586 /* linux_epoll_ctl_old */ 1587 case 214: { 1588 *n_args = 0; 1589 break; 1590 } 1591 /* linux_epoll_wait_old */ 1592 case 215: { 1593 *n_args = 0; 1594 break; 1595 } 1596 /* linux_remap_file_pages */ 1597 case 216: { 1598 *n_args = 0; 1599 break; 1600 } 1601 /* linux_getdents64 */ 1602 case 217: { 1603 struct linux_getdents64_args *p = params; 1604 iarg[0] = p->fd; /* l_uint */ 1605 uarg[1] = (intptr_t) p->dirent; /* void * */ 1606 iarg[2] = p->count; /* l_uint */ 1607 *n_args = 3; 1608 break; 1609 } 1610 /* linux_set_tid_address */ 1611 case 218: { 1612 struct linux_set_tid_address_args *p = params; 1613 uarg[0] = (intptr_t) p->tidptr; /* int * */ 1614 *n_args = 1; 1615 break; 1616 } 1617 /* linux_semtimedop */ 1618 case 220: { 1619 *n_args = 0; 1620 break; 1621 } 1622 /* linux_fadvise64 */ 1623 case 221: { 1624 struct linux_fadvise64_args *p = params; 1625 iarg[0] = p->fd; /* int */ 1626 iarg[1] = p->offset; /* l_loff_t */ 1627 iarg[2] = p->len; /* l_size_t */ 1628 iarg[3] = p->advice; /* int */ 1629 *n_args = 4; 1630 break; 1631 } 1632 /* linux_timer_create */ 1633 case 222: { 1634 struct linux_timer_create_args *p = params; 1635 iarg[0] = p->clock_id; /* clockid_t */ 1636 uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ 1637 uarg[2] = (intptr_t) p->timerid; /* l_timer_t * */ 1638 *n_args = 3; 1639 break; 1640 } 1641 /* linux_timer_settime */ 1642 case 223: { 1643 struct linux_timer_settime_args *p = params; 1644 iarg[0] = p->timerid; /* l_timer_t */ 1645 iarg[1] = p->flags; /* l_int */ 1646 uarg[2] = (intptr_t) p->new; /* const struct itimerspec * */ 1647 uarg[3] = (intptr_t) p->old; /* struct itimerspec * */ 1648 *n_args = 4; 1649 break; 1650 } 1651 /* linux_timer_gettime */ 1652 case 224: { 1653 struct linux_timer_gettime_args *p = params; 1654 iarg[0] = p->timerid; /* l_timer_t */ 1655 uarg[1] = (intptr_t) p->setting; /* struct itimerspec * */ 1656 *n_args = 2; 1657 break; 1658 } 1659 /* linux_timer_getoverrun */ 1660 case 225: { 1661 struct linux_timer_getoverrun_args *p = params; 1662 iarg[0] = p->timerid; /* l_timer_t */ 1663 *n_args = 1; 1664 break; 1665 } 1666 /* linux_timer_delete */ 1667 case 226: { 1668 struct linux_timer_delete_args *p = params; 1669 iarg[0] = p->timerid; /* l_timer_t */ 1670 *n_args = 1; 1671 break; 1672 } 1673 /* linux_clock_settime */ 1674 case 227: { 1675 struct linux_clock_settime_args *p = params; 1676 iarg[0] = p->which; /* clockid_t */ 1677 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1678 *n_args = 2; 1679 break; 1680 } 1681 /* linux_clock_gettime */ 1682 case 228: { 1683 struct linux_clock_gettime_args *p = params; 1684 iarg[0] = p->which; /* clockid_t */ 1685 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1686 *n_args = 2; 1687 break; 1688 } 1689 /* linux_clock_getres */ 1690 case 229: { 1691 struct linux_clock_getres_args *p = params; 1692 iarg[0] = p->which; /* clockid_t */ 1693 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1694 *n_args = 2; 1695 break; 1696 } 1697 /* linux_clock_nanosleep */ 1698 case 230: { 1699 struct linux_clock_nanosleep_args *p = params; 1700 iarg[0] = p->which; /* clockid_t */ 1701 iarg[1] = p->flags; /* int */ 1702 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 1703 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1704 *n_args = 4; 1705 break; 1706 } 1707 /* linux_exit_group */ 1708 case 231: { 1709 struct linux_exit_group_args *p = params; 1710 iarg[0] = p->error_code; /* int */ 1711 *n_args = 1; 1712 break; 1713 } 1714 /* linux_epoll_wait */ 1715 case 232: { 1716 struct linux_epoll_wait_args *p = params; 1717 iarg[0] = p->epfd; /* l_int */ 1718 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 1719 iarg[2] = p->maxevents; /* l_int */ 1720 iarg[3] = p->timeout; /* l_int */ 1721 *n_args = 4; 1722 break; 1723 } 1724 /* linux_epoll_ctl */ 1725 case 233: { 1726 struct linux_epoll_ctl_args *p = params; 1727 iarg[0] = p->epfd; /* l_int */ 1728 iarg[1] = p->op; /* l_int */ 1729 iarg[2] = p->fd; /* l_int */ 1730 uarg[3] = (intptr_t) p->event; /* struct epoll_event * */ 1731 *n_args = 4; 1732 break; 1733 } 1734 /* linux_tgkill */ 1735 case 234: { 1736 struct linux_tgkill_args *p = params; 1737 iarg[0] = p->tgid; /* int */ 1738 iarg[1] = p->pid; /* int */ 1739 iarg[2] = p->sig; /* int */ 1740 *n_args = 3; 1741 break; 1742 } 1743 /* linux_utimes */ 1744 case 235: { 1745 struct linux_utimes_args *p = params; 1746 uarg[0] = (intptr_t) p->fname; /* char * */ 1747 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */ 1748 *n_args = 2; 1749 break; 1750 } 1751 /* linux_mbind */ 1752 case 237: { 1753 *n_args = 0; 1754 break; 1755 } 1756 /* linux_set_mempolicy */ 1757 case 238: { 1758 *n_args = 0; 1759 break; 1760 } 1761 /* linux_get_mempolicy */ 1762 case 239: { 1763 *n_args = 0; 1764 break; 1765 } 1766 /* linux_mq_open */ 1767 case 240: { 1768 *n_args = 0; 1769 break; 1770 } 1771 /* linux_mq_unlink */ 1772 case 241: { 1773 *n_args = 0; 1774 break; 1775 } 1776 /* linux_mq_timedsend */ 1777 case 242: { 1778 *n_args = 0; 1779 break; 1780 } 1781 /* linux_mq_timedreceive */ 1782 case 243: { 1783 *n_args = 0; 1784 break; 1785 } 1786 /* linux_mq_notify */ 1787 case 244: { 1788 *n_args = 0; 1789 break; 1790 } 1791 /* linux_mq_getsetattr */ 1792 case 245: { 1793 *n_args = 0; 1794 break; 1795 } 1796 /* linux_kexec_load */ 1797 case 246: { 1798 *n_args = 0; 1799 break; 1800 } 1801 /* linux_waitid */ 1802 case 247: { 1803 struct linux_waitid_args *p = params; 1804 iarg[0] = p->idtype; /* int */ 1805 iarg[1] = p->id; /* l_pid_t */ 1806 uarg[2] = (intptr_t) p->info; /* l_siginfo_t * */ 1807 iarg[3] = p->options; /* int */ 1808 uarg[4] = (intptr_t) p->rusage; /* struct rusage * */ 1809 *n_args = 5; 1810 break; 1811 } 1812 /* linux_add_key */ 1813 case 248: { 1814 *n_args = 0; 1815 break; 1816 } 1817 /* linux_request_key */ 1818 case 249: { 1819 *n_args = 0; 1820 break; 1821 } 1822 /* linux_keyctl */ 1823 case 250: { 1824 *n_args = 0; 1825 break; 1826 } 1827 /* linux_ioprio_set */ 1828 case 251: { 1829 *n_args = 0; 1830 break; 1831 } 1832 /* linux_ioprio_get */ 1833 case 252: { 1834 *n_args = 0; 1835 break; 1836 } 1837 /* linux_inotify_init */ 1838 case 253: { 1839 *n_args = 0; 1840 break; 1841 } 1842 /* linux_inotify_add_watch */ 1843 case 254: { 1844 *n_args = 0; 1845 break; 1846 } 1847 /* linux_inotify_rm_watch */ 1848 case 255: { 1849 *n_args = 0; 1850 break; 1851 } 1852 /* linux_migrate_pages */ 1853 case 256: { 1854 *n_args = 0; 1855 break; 1856 } 1857 /* linux_openat */ 1858 case 257: { 1859 struct linux_openat_args *p = params; 1860 iarg[0] = p->dfd; /* l_int */ 1861 uarg[1] = (intptr_t) p->filename; /* const char * */ 1862 iarg[2] = p->flags; /* l_int */ 1863 iarg[3] = p->mode; /* l_int */ 1864 *n_args = 4; 1865 break; 1866 } 1867 /* linux_mkdirat */ 1868 case 258: { 1869 struct linux_mkdirat_args *p = params; 1870 iarg[0] = p->dfd; /* l_int */ 1871 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1872 iarg[2] = p->mode; /* l_int */ 1873 *n_args = 3; 1874 break; 1875 } 1876 /* linux_mknodat */ 1877 case 259: { 1878 struct linux_mknodat_args *p = params; 1879 iarg[0] = p->dfd; /* l_int */ 1880 uarg[1] = (intptr_t) p->filename; /* const char * */ 1881 iarg[2] = p->mode; /* l_int */ 1882 iarg[3] = p->dev; /* l_uint */ 1883 *n_args = 4; 1884 break; 1885 } 1886 /* linux_fchownat */ 1887 case 260: { 1888 struct linux_fchownat_args *p = params; 1889 iarg[0] = p->dfd; /* l_int */ 1890 uarg[1] = (intptr_t) p->filename; /* const char * */ 1891 iarg[2] = p->uid; /* l_uid_t */ 1892 iarg[3] = p->gid; /* l_gid_t */ 1893 iarg[4] = p->flag; /* l_int */ 1894 *n_args = 5; 1895 break; 1896 } 1897 /* linux_futimesat */ 1898 case 261: { 1899 struct linux_futimesat_args *p = params; 1900 iarg[0] = p->dfd; /* l_int */ 1901 uarg[1] = (intptr_t) p->filename; /* char * */ 1902 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */ 1903 *n_args = 3; 1904 break; 1905 } 1906 /* linux_newfstatat */ 1907 case 262: { 1908 struct linux_newfstatat_args *p = params; 1909 iarg[0] = p->dfd; /* l_int */ 1910 uarg[1] = (intptr_t) p->pathname; /* char * */ 1911 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1912 iarg[3] = p->flag; /* l_int */ 1913 *n_args = 4; 1914 break; 1915 } 1916 /* linux_unlinkat */ 1917 case 263: { 1918 struct linux_unlinkat_args *p = params; 1919 iarg[0] = p->dfd; /* l_int */ 1920 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1921 iarg[2] = p->flag; /* l_int */ 1922 *n_args = 3; 1923 break; 1924 } 1925 /* linux_renameat */ 1926 case 264: { 1927 struct linux_renameat_args *p = params; 1928 iarg[0] = p->olddfd; /* l_int */ 1929 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1930 iarg[2] = p->newdfd; /* l_int */ 1931 uarg[3] = (intptr_t) p->newname; /* const char * */ 1932 *n_args = 4; 1933 break; 1934 } 1935 /* linux_linkat */ 1936 case 265: { 1937 struct linux_linkat_args *p = params; 1938 iarg[0] = p->olddfd; /* l_int */ 1939 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1940 iarg[2] = p->newdfd; /* l_int */ 1941 uarg[3] = (intptr_t) p->newname; /* const char * */ 1942 iarg[4] = p->flag; /* l_int */ 1943 *n_args = 5; 1944 break; 1945 } 1946 /* linux_symlinkat */ 1947 case 266: { 1948 struct linux_symlinkat_args *p = params; 1949 uarg[0] = (intptr_t) p->oldname; /* const char * */ 1950 iarg[1] = p->newdfd; /* l_int */ 1951 uarg[2] = (intptr_t) p->newname; /* const char * */ 1952 *n_args = 3; 1953 break; 1954 } 1955 /* linux_readlinkat */ 1956 case 267: { 1957 struct linux_readlinkat_args *p = params; 1958 iarg[0] = p->dfd; /* l_int */ 1959 uarg[1] = (intptr_t) p->path; /* const char * */ 1960 uarg[2] = (intptr_t) p->buf; /* char * */ 1961 iarg[3] = p->bufsiz; /* l_int */ 1962 *n_args = 4; 1963 break; 1964 } 1965 /* linux_fchmodat */ 1966 case 268: { 1967 struct linux_fchmodat_args *p = params; 1968 iarg[0] = p->dfd; /* l_int */ 1969 uarg[1] = (intptr_t) p->filename; /* const char * */ 1970 iarg[2] = p->mode; /* l_mode_t */ 1971 *n_args = 3; 1972 break; 1973 } 1974 /* linux_faccessat */ 1975 case 269: { 1976 struct linux_faccessat_args *p = params; 1977 iarg[0] = p->dfd; /* l_int */ 1978 uarg[1] = (intptr_t) p->filename; /* const char * */ 1979 iarg[2] = p->amode; /* l_int */ 1980 *n_args = 3; 1981 break; 1982 } 1983 /* linux_pselect6 */ 1984 case 270: { 1985 struct linux_pselect6_args *p = params; 1986 iarg[0] = p->nfds; /* l_int */ 1987 uarg[1] = (intptr_t) p->readfds; /* l_fd_set * */ 1988 uarg[2] = (intptr_t) p->writefds; /* l_fd_set * */ 1989 uarg[3] = (intptr_t) p->exceptfds; /* l_fd_set * */ 1990 uarg[4] = (intptr_t) p->tsp; /* struct l_timespec * */ 1991 uarg[5] = (intptr_t) p->sig; /* l_uintptr_t * */ 1992 *n_args = 6; 1993 break; 1994 } 1995 /* linux_ppoll */ 1996 case 271: { 1997 struct linux_ppoll_args *p = params; 1998 uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ 1999 uarg[1] = p->nfds; /* uint32_t */ 2000 uarg[2] = (intptr_t) p->tsp; /* struct l_timespec * */ 2001 uarg[3] = (intptr_t) p->sset; /* l_sigset_t * */ 2002 iarg[4] = p->ssize; /* l_size_t */ 2003 *n_args = 5; 2004 break; 2005 } 2006 /* linux_unshare */ 2007 case 272: { 2008 *n_args = 0; 2009 break; 2010 } 2011 /* linux_set_robust_list */ 2012 case 273: { 2013 struct linux_set_robust_list_args *p = params; 2014 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2015 iarg[1] = p->len; /* l_size_t */ 2016 *n_args = 2; 2017 break; 2018 } 2019 /* linux_get_robust_list */ 2020 case 274: { 2021 struct linux_get_robust_list_args *p = params; 2022 iarg[0] = p->pid; /* l_int */ 2023 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head ** */ 2024 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2025 *n_args = 3; 2026 break; 2027 } 2028 /* linux_splice */ 2029 case 275: { 2030 *n_args = 0; 2031 break; 2032 } 2033 /* linux_tee */ 2034 case 276: { 2035 *n_args = 0; 2036 break; 2037 } 2038 /* linux_sync_file_range */ 2039 case 277: { 2040 *n_args = 0; 2041 break; 2042 } 2043 /* linux_vmsplice */ 2044 case 278: { 2045 *n_args = 0; 2046 break; 2047 } 2048 /* linux_move_pages */ 2049 case 279: { 2050 *n_args = 0; 2051 break; 2052 } 2053 /* linux_utimensat */ 2054 case 280: { 2055 struct linux_utimensat_args *p = params; 2056 iarg[0] = p->dfd; /* l_int */ 2057 uarg[1] = (intptr_t) p->pathname; /* const char * */ 2058 uarg[2] = (intptr_t) p->times; /* const struct l_timespec * */ 2059 iarg[3] = p->flags; /* l_int */ 2060 *n_args = 4; 2061 break; 2062 } 2063 /* linux_epoll_pwait */ 2064 case 281: { 2065 struct linux_epoll_pwait_args *p = params; 2066 iarg[0] = p->epfd; /* l_int */ 2067 uarg[1] = (intptr_t) p->events; /* struct epoll_event * */ 2068 iarg[2] = p->maxevents; /* l_int */ 2069 iarg[3] = p->timeout; /* l_int */ 2070 uarg[4] = (intptr_t) p->mask; /* l_sigset_t * */ 2071 iarg[5] = p->sigsetsize; /* l_size_t */ 2072 *n_args = 6; 2073 break; 2074 } 2075 /* linux_signalfd */ 2076 case 282: { 2077 *n_args = 0; 2078 break; 2079 } 2080 /* linux_timerfd_create */ 2081 case 283: { 2082 struct linux_timerfd_create_args *p = params; 2083 iarg[0] = p->clockid; /* l_int */ 2084 iarg[1] = p->flags; /* l_int */ 2085 *n_args = 2; 2086 break; 2087 } 2088 /* linux_eventfd */ 2089 case 284: { 2090 struct linux_eventfd_args *p = params; 2091 iarg[0] = p->initval; /* l_uint */ 2092 *n_args = 1; 2093 break; 2094 } 2095 /* linux_fallocate */ 2096 case 285: { 2097 struct linux_fallocate_args *p = params; 2098 iarg[0] = p->fd; /* l_int */ 2099 iarg[1] = p->mode; /* l_int */ 2100 iarg[2] = p->offset; /* l_loff_t */ 2101 iarg[3] = p->len; /* l_loff_t */ 2102 *n_args = 4; 2103 break; 2104 } 2105 /* linux_timerfd_settime */ 2106 case 286: { 2107 struct linux_timerfd_settime_args *p = params; 2108 iarg[0] = p->fd; /* l_int */ 2109 iarg[1] = p->flags; /* l_int */ 2110 uarg[2] = (intptr_t) p->new_value; /* const struct l_itimerspec * */ 2111 uarg[3] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2112 *n_args = 4; 2113 break; 2114 } 2115 /* linux_timerfd_gettime */ 2116 case 287: { 2117 struct linux_timerfd_gettime_args *p = params; 2118 iarg[0] = p->fd; /* l_int */ 2119 uarg[1] = (intptr_t) p->old_value; /* struct l_itimerspec * */ 2120 *n_args = 2; 2121 break; 2122 } 2123 /* linux_accept4 */ 2124 case 288: { 2125 struct linux_accept4_args *p = params; 2126 iarg[0] = p->s; /* l_int */ 2127 iarg[1] = p->addr; /* l_uintptr_t */ 2128 iarg[2] = p->namelen; /* l_uintptr_t */ 2129 iarg[3] = p->flags; /* int */ 2130 *n_args = 4; 2131 break; 2132 } 2133 /* linux_signalfd4 */ 2134 case 289: { 2135 *n_args = 0; 2136 break; 2137 } 2138 /* linux_eventfd2 */ 2139 case 290: { 2140 struct linux_eventfd2_args *p = params; 2141 iarg[0] = p->initval; /* l_uint */ 2142 iarg[1] = p->flags; /* l_int */ 2143 *n_args = 2; 2144 break; 2145 } 2146 /* linux_epoll_create1 */ 2147 case 291: { 2148 struct linux_epoll_create1_args *p = params; 2149 iarg[0] = p->flags; /* l_int */ 2150 *n_args = 1; 2151 break; 2152 } 2153 /* linux_dup3 */ 2154 case 292: { 2155 struct linux_dup3_args *p = params; 2156 iarg[0] = p->oldfd; /* l_int */ 2157 iarg[1] = p->newfd; /* l_int */ 2158 iarg[2] = p->flags; /* l_int */ 2159 *n_args = 3; 2160 break; 2161 } 2162 /* linux_pipe2 */ 2163 case 293: { 2164 struct linux_pipe2_args *p = params; 2165 uarg[0] = (intptr_t) p->pipefds; /* l_int * */ 2166 iarg[1] = p->flags; /* l_int */ 2167 *n_args = 2; 2168 break; 2169 } 2170 /* linux_inotify_init1 */ 2171 case 294: { 2172 struct linux_inotify_init1_args *p = params; 2173 iarg[0] = p->flags; /* l_int */ 2174 *n_args = 1; 2175 break; 2176 } 2177 /* linux_preadv */ 2178 case 295: { 2179 struct linux_preadv_args *p = params; 2180 iarg[0] = p->fd; /* l_ulong */ 2181 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2182 iarg[2] = p->vlen; /* l_ulong */ 2183 iarg[3] = p->pos_l; /* l_ulong */ 2184 iarg[4] = p->pos_h; /* l_ulong */ 2185 *n_args = 5; 2186 break; 2187 } 2188 /* linux_pwritev */ 2189 case 296: { 2190 struct linux_pwritev_args *p = params; 2191 iarg[0] = p->fd; /* l_ulong */ 2192 uarg[1] = (intptr_t) p->vec; /* struct iovec * */ 2193 iarg[2] = p->vlen; /* l_ulong */ 2194 iarg[3] = p->pos_l; /* l_ulong */ 2195 iarg[4] = p->pos_h; /* l_ulong */ 2196 *n_args = 5; 2197 break; 2198 } 2199 /* linux_rt_tgsigqueueinfo */ 2200 case 297: { 2201 struct linux_rt_tgsigqueueinfo_args *p = params; 2202 iarg[0] = p->tgid; /* l_pid_t */ 2203 iarg[1] = p->tid; /* l_pid_t */ 2204 iarg[2] = p->sig; /* l_int */ 2205 uarg[3] = (intptr_t) p->uinfo; /* l_siginfo_t * */ 2206 *n_args = 4; 2207 break; 2208 } 2209 /* linux_perf_event_open */ 2210 case 298: { 2211 *n_args = 0; 2212 break; 2213 } 2214 /* linux_recvmmsg */ 2215 case 299: { 2216 struct linux_recvmmsg_args *p = params; 2217 iarg[0] = p->s; /* l_int */ 2218 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2219 iarg[2] = p->vlen; /* l_uint */ 2220 iarg[3] = p->flags; /* l_uint */ 2221 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ 2222 *n_args = 5; 2223 break; 2224 } 2225 /* linux_fanotify_init */ 2226 case 300: { 2227 *n_args = 0; 2228 break; 2229 } 2230 /* linux_fanotify_mark */ 2231 case 301: { 2232 *n_args = 0; 2233 break; 2234 } 2235 /* linux_prlimit64 */ 2236 case 302: { 2237 struct linux_prlimit64_args *p = params; 2238 iarg[0] = p->pid; /* l_pid_t */ 2239 iarg[1] = p->resource; /* l_uint */ 2240 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 2241 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 2242 *n_args = 4; 2243 break; 2244 } 2245 /* linux_name_to_handle_at */ 2246 case 303: { 2247 *n_args = 0; 2248 break; 2249 } 2250 /* linux_open_by_handle_at */ 2251 case 304: { 2252 *n_args = 0; 2253 break; 2254 } 2255 /* linux_clock_adjtime */ 2256 case 305: { 2257 *n_args = 0; 2258 break; 2259 } 2260 /* linux_syncfs */ 2261 case 306: { 2262 struct linux_syncfs_args *p = params; 2263 iarg[0] = p->fd; /* l_int */ 2264 *n_args = 1; 2265 break; 2266 } 2267 /* linux_sendmmsg */ 2268 case 307: { 2269 struct linux_sendmmsg_args *p = params; 2270 iarg[0] = p->s; /* l_int */ 2271 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2272 iarg[2] = p->vlen; /* l_uint */ 2273 iarg[3] = p->flags; /* l_uint */ 2274 *n_args = 4; 2275 break; 2276 } 2277 /* linux_setns */ 2278 case 308: { 2279 struct linux_setns_args *p = params; 2280 iarg[0] = p->fd; /* l_int */ 2281 iarg[1] = p->nstype; /* l_int */ 2282 *n_args = 2; 2283 break; 2284 } 2285 /* linux_getcpu */ 2286 case 309: { 2287 struct linux_getcpu_args *p = params; 2288 uarg[0] = (intptr_t) p->cpu; /* l_uint * */ 2289 uarg[1] = (intptr_t) p->node; /* l_uint * */ 2290 uarg[2] = (intptr_t) p->cache; /* void * */ 2291 *n_args = 3; 2292 break; 2293 } 2294 /* linux_process_vm_readv */ 2295 case 310: { 2296 struct linux_process_vm_readv_args *p = params; 2297 iarg[0] = p->pid; /* l_pid_t */ 2298 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2299 iarg[2] = p->liovcnt; /* l_ulong */ 2300 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2301 iarg[4] = p->riovcnt; /* l_ulong */ 2302 iarg[5] = p->flags; /* l_ulong */ 2303 *n_args = 6; 2304 break; 2305 } 2306 /* linux_process_vm_writev */ 2307 case 311: { 2308 struct linux_process_vm_writev_args *p = params; 2309 iarg[0] = p->pid; /* l_pid_t */ 2310 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2311 iarg[2] = p->liovcnt; /* l_ulong */ 2312 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2313 iarg[4] = p->riovcnt; /* l_ulong */ 2314 iarg[5] = p->flags; /* l_ulong */ 2315 *n_args = 6; 2316 break; 2317 } 2318 /* linux_kcmp */ 2319 case 312: { 2320 struct linux_kcmp_args *p = params; 2321 iarg[0] = p->pid1; /* l_pid_t */ 2322 iarg[1] = p->pid2; /* l_pid_t */ 2323 iarg[2] = p->type; /* l_int */ 2324 iarg[3] = p->idx1; /* l_ulong */ 2325 iarg[4] = p->idx; /* l_ulong */ 2326 *n_args = 5; 2327 break; 2328 } 2329 /* linux_finit_module */ 2330 case 313: { 2331 struct linux_finit_module_args *p = params; 2332 iarg[0] = p->fd; /* l_int */ 2333 uarg[1] = (intptr_t) p->uargs; /* const char * */ 2334 iarg[2] = p->flags; /* l_int */ 2335 *n_args = 3; 2336 break; 2337 } 2338 /* linux_sched_setattr */ 2339 case 314: { 2340 struct linux_sched_setattr_args *p = params; 2341 iarg[0] = p->pid; /* l_pid_t */ 2342 uarg[1] = (intptr_t) p->attr; /* void * */ 2343 iarg[2] = p->flags; /* l_uint */ 2344 *n_args = 3; 2345 break; 2346 } 2347 /* linux_sched_getattr */ 2348 case 315: { 2349 struct linux_sched_getattr_args *p = params; 2350 iarg[0] = p->pid; /* l_pid_t */ 2351 uarg[1] = (intptr_t) p->attr; /* void * */ 2352 iarg[2] = p->size; /* l_uint */ 2353 iarg[3] = p->flags; /* l_uint */ 2354 *n_args = 4; 2355 break; 2356 } 2357 /* linux_renameat2 */ 2358 case 316: { 2359 struct linux_renameat2_args *p = params; 2360 iarg[0] = p->oldfd; /* l_int */ 2361 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2362 iarg[2] = p->newfd; /* l_int */ 2363 uarg[3] = (intptr_t) p->newname; /* const char * */ 2364 uarg[4] = p->flags; /* unsigned int */ 2365 *n_args = 5; 2366 break; 2367 } 2368 /* linux_seccomp */ 2369 case 317: { 2370 struct linux_seccomp_args *p = params; 2371 iarg[0] = p->op; /* l_uint */ 2372 iarg[1] = p->flags; /* l_uint */ 2373 uarg[2] = (intptr_t) p->uargs; /* const char * */ 2374 *n_args = 3; 2375 break; 2376 } 2377 /* linux_getrandom */ 2378 case 318: { 2379 struct linux_getrandom_args *p = params; 2380 uarg[0] = (intptr_t) p->buf; /* char * */ 2381 iarg[1] = p->count; /* l_size_t */ 2382 iarg[2] = p->flags; /* l_uint */ 2383 *n_args = 3; 2384 break; 2385 } 2386 /* linux_memfd_create */ 2387 case 319: { 2388 struct linux_memfd_create_args *p = params; 2389 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ 2390 iarg[1] = p->flags; /* l_uint */ 2391 *n_args = 2; 2392 break; 2393 } 2394 /* linux_kexec_file_load */ 2395 case 320: { 2396 struct linux_kexec_file_load_args *p = params; 2397 iarg[0] = p->kernel_fd; /* l_int */ 2398 iarg[1] = p->initrd_fd; /* l_int */ 2399 iarg[2] = p->cmdline_len; /* l_ulong */ 2400 uarg[3] = (intptr_t) p->cmdline_ptr; /* const char * */ 2401 iarg[4] = p->flags; /* l_ulong */ 2402 *n_args = 5; 2403 break; 2404 } 2405 /* linux_bpf */ 2406 case 321: { 2407 struct linux_bpf_args *p = params; 2408 iarg[0] = p->cmd; /* l_int */ 2409 uarg[1] = (intptr_t) p->attr; /* void * */ 2410 iarg[2] = p->size; /* l_uint */ 2411 *n_args = 3; 2412 break; 2413 } 2414 /* linux_execveat */ 2415 case 322: { 2416 struct linux_execveat_args *p = params; 2417 iarg[0] = p->dfd; /* l_int */ 2418 uarg[1] = (intptr_t) p->filename; /* const char * */ 2419 uarg[2] = (intptr_t) p->argv; /* const char ** */ 2420 uarg[3] = (intptr_t) p->envp; /* const char ** */ 2421 iarg[4] = p->flags; /* l_int */ 2422 *n_args = 5; 2423 break; 2424 } 2425 /* linux_userfaultfd */ 2426 case 323: { 2427 struct linux_userfaultfd_args *p = params; 2428 iarg[0] = p->flags; /* l_int */ 2429 *n_args = 1; 2430 break; 2431 } 2432 /* linux_membarrier */ 2433 case 324: { 2434 struct linux_membarrier_args *p = params; 2435 iarg[0] = p->cmd; /* l_int */ 2436 iarg[1] = p->flags; /* l_int */ 2437 *n_args = 2; 2438 break; 2439 } 2440 /* linux_mlock2 */ 2441 case 325: { 2442 struct linux_mlock2_args *p = params; 2443 iarg[0] = p->start; /* l_ulong */ 2444 iarg[1] = p->len; /* l_size_t */ 2445 iarg[2] = p->flags; /* l_int */ 2446 *n_args = 3; 2447 break; 2448 } 2449 /* linux_copy_file_range */ 2450 case 326: { 2451 struct linux_copy_file_range_args *p = params; 2452 iarg[0] = p->fd_in; /* l_int */ 2453 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ 2454 iarg[2] = p->fd_out; /* l_int */ 2455 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ 2456 iarg[4] = p->len; /* l_size_t */ 2457 iarg[5] = p->flags; /* l_uint */ 2458 *n_args = 6; 2459 break; 2460 } 2461 /* linux_preadv2 */ 2462 case 327: { 2463 struct linux_preadv2_args *p = params; 2464 iarg[0] = p->fd; /* l_ulong */ 2465 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2466 iarg[2] = p->vlen; /* l_ulong */ 2467 iarg[3] = p->pos_l; /* l_ulong */ 2468 iarg[4] = p->pos_h; /* l_ulong */ 2469 iarg[5] = p->flags; /* l_int */ 2470 *n_args = 6; 2471 break; 2472 } 2473 /* linux_pwritev2 */ 2474 case 328: { 2475 struct linux_pwritev2_args *p = params; 2476 iarg[0] = p->fd; /* l_ulong */ 2477 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2478 iarg[2] = p->vlen; /* l_ulong */ 2479 iarg[3] = p->pos_l; /* l_ulong */ 2480 iarg[4] = p->pos_h; /* l_ulong */ 2481 iarg[5] = p->flags; /* l_int */ 2482 *n_args = 6; 2483 break; 2484 } 2485 /* linux_pkey_mprotect */ 2486 case 329: { 2487 struct linux_pkey_mprotect_args *p = params; 2488 iarg[0] = p->start; /* l_ulong */ 2489 iarg[1] = p->len; /* l_size_t */ 2490 iarg[2] = p->prot; /* l_ulong */ 2491 iarg[3] = p->pkey; /* l_int */ 2492 *n_args = 4; 2493 break; 2494 } 2495 /* linux_pkey_alloc */ 2496 case 330: { 2497 struct linux_pkey_alloc_args *p = params; 2498 iarg[0] = p->flags; /* l_ulong */ 2499 iarg[1] = p->init_val; /* l_ulong */ 2500 *n_args = 2; 2501 break; 2502 } 2503 /* linux_pkey_free */ 2504 case 331: { 2505 struct linux_pkey_free_args *p = params; 2506 iarg[0] = p->pkey; /* l_int */ 2507 *n_args = 1; 2508 break; 2509 } 2510 default: 2511 *n_args = 0; 2512 break; 2513 }; 2514 } 2515 static void 2516 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2517 { 2518 const char *p = NULL; 2519 switch (sysnum) { 2520 #define nosys linux_nosys 2521 /* read */ 2522 case 0: 2523 switch(ndx) { 2524 case 0: 2525 p = "int"; 2526 break; 2527 case 1: 2528 p = "userland char *"; 2529 break; 2530 case 2: 2531 p = "u_int"; 2532 break; 2533 default: 2534 break; 2535 }; 2536 break; 2537 /* write */ 2538 case 1: 2539 switch(ndx) { 2540 case 0: 2541 p = "int"; 2542 break; 2543 case 1: 2544 p = "userland char *"; 2545 break; 2546 case 2: 2547 p = "u_int"; 2548 break; 2549 default: 2550 break; 2551 }; 2552 break; 2553 /* linux_open */ 2554 case 2: 2555 switch(ndx) { 2556 case 0: 2557 p = "userland char *"; 2558 break; 2559 case 1: 2560 p = "l_int"; 2561 break; 2562 case 2: 2563 p = "l_int"; 2564 break; 2565 default: 2566 break; 2567 }; 2568 break; 2569 /* close */ 2570 case 3: 2571 switch(ndx) { 2572 case 0: 2573 p = "int"; 2574 break; 2575 default: 2576 break; 2577 }; 2578 break; 2579 /* linux_newstat */ 2580 case 4: 2581 switch(ndx) { 2582 case 0: 2583 p = "userland char *"; 2584 break; 2585 case 1: 2586 p = "userland struct l_newstat *"; 2587 break; 2588 default: 2589 break; 2590 }; 2591 break; 2592 /* linux_newfstat */ 2593 case 5: 2594 switch(ndx) { 2595 case 0: 2596 p = "l_uint"; 2597 break; 2598 case 1: 2599 p = "userland struct l_newstat *"; 2600 break; 2601 default: 2602 break; 2603 }; 2604 break; 2605 /* linux_newlstat */ 2606 case 6: 2607 switch(ndx) { 2608 case 0: 2609 p = "userland char *"; 2610 break; 2611 case 1: 2612 p = "userland struct l_newstat *"; 2613 break; 2614 default: 2615 break; 2616 }; 2617 break; 2618 /* poll */ 2619 case 7: 2620 switch(ndx) { 2621 case 0: 2622 p = "userland struct pollfd *"; 2623 break; 2624 case 1: 2625 p = "u_int"; 2626 break; 2627 case 2: 2628 p = "int"; 2629 break; 2630 default: 2631 break; 2632 }; 2633 break; 2634 /* linux_lseek */ 2635 case 8: 2636 switch(ndx) { 2637 case 0: 2638 p = "l_uint"; 2639 break; 2640 case 1: 2641 p = "l_off_t"; 2642 break; 2643 case 2: 2644 p = "l_int"; 2645 break; 2646 default: 2647 break; 2648 }; 2649 break; 2650 /* linux_mmap2 */ 2651 case 9: 2652 switch(ndx) { 2653 case 0: 2654 p = "l_ulong"; 2655 break; 2656 case 1: 2657 p = "l_ulong"; 2658 break; 2659 case 2: 2660 p = "l_ulong"; 2661 break; 2662 case 3: 2663 p = "l_ulong"; 2664 break; 2665 case 4: 2666 p = "l_ulong"; 2667 break; 2668 case 5: 2669 p = "l_ulong"; 2670 break; 2671 default: 2672 break; 2673 }; 2674 break; 2675 /* linux_mprotect */ 2676 case 10: 2677 switch(ndx) { 2678 case 0: 2679 p = "caddr_t"; 2680 break; 2681 case 1: 2682 p = "int"; 2683 break; 2684 case 2: 2685 p = "int"; 2686 break; 2687 default: 2688 break; 2689 }; 2690 break; 2691 /* munmap */ 2692 case 11: 2693 switch(ndx) { 2694 case 0: 2695 p = "caddr_t"; 2696 break; 2697 case 1: 2698 p = "int"; 2699 break; 2700 default: 2701 break; 2702 }; 2703 break; 2704 /* linux_brk */ 2705 case 12: 2706 switch(ndx) { 2707 case 0: 2708 p = "l_ulong"; 2709 break; 2710 default: 2711 break; 2712 }; 2713 break; 2714 /* linux_rt_sigaction */ 2715 case 13: 2716 switch(ndx) { 2717 case 0: 2718 p = "l_int"; 2719 break; 2720 case 1: 2721 p = "userland l_sigaction_t *"; 2722 break; 2723 case 2: 2724 p = "userland l_sigaction_t *"; 2725 break; 2726 case 3: 2727 p = "l_size_t"; 2728 break; 2729 default: 2730 break; 2731 }; 2732 break; 2733 /* linux_rt_sigprocmask */ 2734 case 14: 2735 switch(ndx) { 2736 case 0: 2737 p = "l_int"; 2738 break; 2739 case 1: 2740 p = "userland l_sigset_t *"; 2741 break; 2742 case 2: 2743 p = "userland l_sigset_t *"; 2744 break; 2745 case 3: 2746 p = "l_size_t"; 2747 break; 2748 default: 2749 break; 2750 }; 2751 break; 2752 /* linux_rt_sigreturn */ 2753 case 15: 2754 switch(ndx) { 2755 case 0: 2756 p = "userland struct l_ucontext *"; 2757 break; 2758 default: 2759 break; 2760 }; 2761 break; 2762 /* linux_ioctl */ 2763 case 16: 2764 switch(ndx) { 2765 case 0: 2766 p = "l_uint"; 2767 break; 2768 case 1: 2769 p = "l_uint"; 2770 break; 2771 case 2: 2772 p = "uintptr_t"; 2773 break; 2774 default: 2775 break; 2776 }; 2777 break; 2778 /* linux_pread */ 2779 case 17: 2780 switch(ndx) { 2781 case 0: 2782 p = "l_uint"; 2783 break; 2784 case 1: 2785 p = "userland char *"; 2786 break; 2787 case 2: 2788 p = "l_size_t"; 2789 break; 2790 case 3: 2791 p = "l_loff_t"; 2792 break; 2793 default: 2794 break; 2795 }; 2796 break; 2797 /* linux_pwrite */ 2798 case 18: 2799 switch(ndx) { 2800 case 0: 2801 p = "l_uint"; 2802 break; 2803 case 1: 2804 p = "userland char *"; 2805 break; 2806 case 2: 2807 p = "l_size_t"; 2808 break; 2809 case 3: 2810 p = "l_loff_t"; 2811 break; 2812 default: 2813 break; 2814 }; 2815 break; 2816 /* readv */ 2817 case 19: 2818 switch(ndx) { 2819 case 0: 2820 p = "int"; 2821 break; 2822 case 1: 2823 p = "userland struct iovec *"; 2824 break; 2825 case 2: 2826 p = "u_int"; 2827 break; 2828 default: 2829 break; 2830 }; 2831 break; 2832 /* writev */ 2833 case 20: 2834 switch(ndx) { 2835 case 0: 2836 p = "int"; 2837 break; 2838 case 1: 2839 p = "userland struct iovec *"; 2840 break; 2841 case 2: 2842 p = "u_int"; 2843 break; 2844 default: 2845 break; 2846 }; 2847 break; 2848 /* linux_access */ 2849 case 21: 2850 switch(ndx) { 2851 case 0: 2852 p = "userland char *"; 2853 break; 2854 case 1: 2855 p = "l_int"; 2856 break; 2857 default: 2858 break; 2859 }; 2860 break; 2861 /* linux_pipe */ 2862 case 22: 2863 switch(ndx) { 2864 case 0: 2865 p = "userland l_ulong *"; 2866 break; 2867 default: 2868 break; 2869 }; 2870 break; 2871 /* linux_select */ 2872 case 23: 2873 switch(ndx) { 2874 case 0: 2875 p = "l_int"; 2876 break; 2877 case 1: 2878 p = "userland l_fd_set *"; 2879 break; 2880 case 2: 2881 p = "userland l_fd_set *"; 2882 break; 2883 case 3: 2884 p = "userland l_fd_set *"; 2885 break; 2886 case 4: 2887 p = "userland struct l_timeval *"; 2888 break; 2889 default: 2890 break; 2891 }; 2892 break; 2893 /* sched_yield */ 2894 case 24: 2895 break; 2896 /* linux_mremap */ 2897 case 25: 2898 switch(ndx) { 2899 case 0: 2900 p = "l_ulong"; 2901 break; 2902 case 1: 2903 p = "l_ulong"; 2904 break; 2905 case 2: 2906 p = "l_ulong"; 2907 break; 2908 case 3: 2909 p = "l_ulong"; 2910 break; 2911 case 4: 2912 p = "l_ulong"; 2913 break; 2914 default: 2915 break; 2916 }; 2917 break; 2918 /* linux_msync */ 2919 case 26: 2920 switch(ndx) { 2921 case 0: 2922 p = "l_ulong"; 2923 break; 2924 case 1: 2925 p = "l_size_t"; 2926 break; 2927 case 2: 2928 p = "l_int"; 2929 break; 2930 default: 2931 break; 2932 }; 2933 break; 2934 /* linux_mincore */ 2935 case 27: 2936 switch(ndx) { 2937 case 0: 2938 p = "l_ulong"; 2939 break; 2940 case 1: 2941 p = "l_size_t"; 2942 break; 2943 case 2: 2944 p = "userland u_char *"; 2945 break; 2946 default: 2947 break; 2948 }; 2949 break; 2950 /* madvise */ 2951 case 28: 2952 switch(ndx) { 2953 case 0: 2954 p = "userland void *"; 2955 break; 2956 case 1: 2957 p = "size_t"; 2958 break; 2959 case 2: 2960 p = "int"; 2961 break; 2962 default: 2963 break; 2964 }; 2965 break; 2966 /* linux_shmget */ 2967 case 29: 2968 switch(ndx) { 2969 case 0: 2970 p = "l_key_t"; 2971 break; 2972 case 1: 2973 p = "l_size_t"; 2974 break; 2975 case 2: 2976 p = "l_int"; 2977 break; 2978 default: 2979 break; 2980 }; 2981 break; 2982 /* linux_shmat */ 2983 case 30: 2984 switch(ndx) { 2985 case 0: 2986 p = "l_int"; 2987 break; 2988 case 1: 2989 p = "userland char *"; 2990 break; 2991 case 2: 2992 p = "l_int"; 2993 break; 2994 default: 2995 break; 2996 }; 2997 break; 2998 /* linux_shmctl */ 2999 case 31: 3000 switch(ndx) { 3001 case 0: 3002 p = "l_int"; 3003 break; 3004 case 1: 3005 p = "l_int"; 3006 break; 3007 case 2: 3008 p = "userland struct l_shmid_ds *"; 3009 break; 3010 default: 3011 break; 3012 }; 3013 break; 3014 /* dup */ 3015 case 32: 3016 switch(ndx) { 3017 case 0: 3018 p = "u_int"; 3019 break; 3020 default: 3021 break; 3022 }; 3023 break; 3024 /* dup2 */ 3025 case 33: 3026 switch(ndx) { 3027 case 0: 3028 p = "u_int"; 3029 break; 3030 case 1: 3031 p = "u_int"; 3032 break; 3033 default: 3034 break; 3035 }; 3036 break; 3037 /* linux_pause */ 3038 case 34: 3039 break; 3040 /* linux_nanosleep */ 3041 case 35: 3042 switch(ndx) { 3043 case 0: 3044 p = "userland const struct l_timespec *"; 3045 break; 3046 case 1: 3047 p = "userland struct l_timespec *"; 3048 break; 3049 default: 3050 break; 3051 }; 3052 break; 3053 /* linux_getitimer */ 3054 case 36: 3055 switch(ndx) { 3056 case 0: 3057 p = "l_int"; 3058 break; 3059 case 1: 3060 p = "userland struct l_itimerval *"; 3061 break; 3062 default: 3063 break; 3064 }; 3065 break; 3066 /* linux_alarm */ 3067 case 37: 3068 switch(ndx) { 3069 case 0: 3070 p = "l_uint"; 3071 break; 3072 default: 3073 break; 3074 }; 3075 break; 3076 /* linux_setitimer */ 3077 case 38: 3078 switch(ndx) { 3079 case 0: 3080 p = "l_int"; 3081 break; 3082 case 1: 3083 p = "userland struct l_itimerval *"; 3084 break; 3085 case 2: 3086 p = "userland struct l_itimerval *"; 3087 break; 3088 default: 3089 break; 3090 }; 3091 break; 3092 /* linux_getpid */ 3093 case 39: 3094 break; 3095 /* linux_sendfile */ 3096 case 40: 3097 switch(ndx) { 3098 case 0: 3099 p = "int"; 3100 break; 3101 case 1: 3102 p = "int"; 3103 break; 3104 case 2: 3105 p = "userland l_long *"; 3106 break; 3107 case 3: 3108 p = "l_size_t"; 3109 break; 3110 default: 3111 break; 3112 }; 3113 break; 3114 /* linux_socket */ 3115 case 41: 3116 switch(ndx) { 3117 case 0: 3118 p = "l_int"; 3119 break; 3120 case 1: 3121 p = "l_int"; 3122 break; 3123 case 2: 3124 p = "l_int"; 3125 break; 3126 default: 3127 break; 3128 }; 3129 break; 3130 /* linux_connect */ 3131 case 42: 3132 switch(ndx) { 3133 case 0: 3134 p = "l_int"; 3135 break; 3136 case 1: 3137 p = "l_uintptr_t"; 3138 break; 3139 case 2: 3140 p = "l_int"; 3141 break; 3142 default: 3143 break; 3144 }; 3145 break; 3146 /* linux_accept */ 3147 case 43: 3148 switch(ndx) { 3149 case 0: 3150 p = "l_int"; 3151 break; 3152 case 1: 3153 p = "l_uintptr_t"; 3154 break; 3155 case 2: 3156 p = "l_uintptr_t"; 3157 break; 3158 default: 3159 break; 3160 }; 3161 break; 3162 /* linux_sendto */ 3163 case 44: 3164 switch(ndx) { 3165 case 0: 3166 p = "l_int"; 3167 break; 3168 case 1: 3169 p = "l_uintptr_t"; 3170 break; 3171 case 2: 3172 p = "l_int"; 3173 break; 3174 case 3: 3175 p = "l_int"; 3176 break; 3177 case 4: 3178 p = "l_uintptr_t"; 3179 break; 3180 case 5: 3181 p = "l_int"; 3182 break; 3183 default: 3184 break; 3185 }; 3186 break; 3187 /* linux_recvfrom */ 3188 case 45: 3189 switch(ndx) { 3190 case 0: 3191 p = "l_int"; 3192 break; 3193 case 1: 3194 p = "l_uintptr_t"; 3195 break; 3196 case 2: 3197 p = "l_size_t"; 3198 break; 3199 case 3: 3200 p = "l_int"; 3201 break; 3202 case 4: 3203 p = "l_uintptr_t"; 3204 break; 3205 case 5: 3206 p = "l_uintptr_t"; 3207 break; 3208 default: 3209 break; 3210 }; 3211 break; 3212 /* linux_sendmsg */ 3213 case 46: 3214 switch(ndx) { 3215 case 0: 3216 p = "l_int"; 3217 break; 3218 case 1: 3219 p = "l_uintptr_t"; 3220 break; 3221 case 2: 3222 p = "l_int"; 3223 break; 3224 default: 3225 break; 3226 }; 3227 break; 3228 /* linux_recvmsg */ 3229 case 47: 3230 switch(ndx) { 3231 case 0: 3232 p = "l_int"; 3233 break; 3234 case 1: 3235 p = "l_uintptr_t"; 3236 break; 3237 case 2: 3238 p = "l_int"; 3239 break; 3240 default: 3241 break; 3242 }; 3243 break; 3244 /* linux_shutdown */ 3245 case 48: 3246 switch(ndx) { 3247 case 0: 3248 p = "l_int"; 3249 break; 3250 case 1: 3251 p = "l_int"; 3252 break; 3253 default: 3254 break; 3255 }; 3256 break; 3257 /* linux_bind */ 3258 case 49: 3259 switch(ndx) { 3260 case 0: 3261 p = "l_int"; 3262 break; 3263 case 1: 3264 p = "l_uintptr_t"; 3265 break; 3266 case 2: 3267 p = "l_int"; 3268 break; 3269 default: 3270 break; 3271 }; 3272 break; 3273 /* linux_listen */ 3274 case 50: 3275 switch(ndx) { 3276 case 0: 3277 p = "l_int"; 3278 break; 3279 case 1: 3280 p = "l_int"; 3281 break; 3282 default: 3283 break; 3284 }; 3285 break; 3286 /* linux_getsockname */ 3287 case 51: 3288 switch(ndx) { 3289 case 0: 3290 p = "l_int"; 3291 break; 3292 case 1: 3293 p = "l_uintptr_t"; 3294 break; 3295 case 2: 3296 p = "l_uintptr_t"; 3297 break; 3298 default: 3299 break; 3300 }; 3301 break; 3302 /* linux_getpeername */ 3303 case 52: 3304 switch(ndx) { 3305 case 0: 3306 p = "l_int"; 3307 break; 3308 case 1: 3309 p = "l_uintptr_t"; 3310 break; 3311 case 2: 3312 p = "l_uintptr_t"; 3313 break; 3314 default: 3315 break; 3316 }; 3317 break; 3318 /* linux_socketpair */ 3319 case 53: 3320 switch(ndx) { 3321 case 0: 3322 p = "l_int"; 3323 break; 3324 case 1: 3325 p = "l_int"; 3326 break; 3327 case 2: 3328 p = "l_int"; 3329 break; 3330 case 3: 3331 p = "l_uintptr_t"; 3332 break; 3333 default: 3334 break; 3335 }; 3336 break; 3337 /* linux_setsockopt */ 3338 case 54: 3339 switch(ndx) { 3340 case 0: 3341 p = "l_int"; 3342 break; 3343 case 1: 3344 p = "l_int"; 3345 break; 3346 case 2: 3347 p = "l_int"; 3348 break; 3349 case 3: 3350 p = "l_uintptr_t"; 3351 break; 3352 case 4: 3353 p = "l_int"; 3354 break; 3355 default: 3356 break; 3357 }; 3358 break; 3359 /* linux_getsockopt */ 3360 case 55: 3361 switch(ndx) { 3362 case 0: 3363 p = "l_int"; 3364 break; 3365 case 1: 3366 p = "l_int"; 3367 break; 3368 case 2: 3369 p = "l_int"; 3370 break; 3371 case 3: 3372 p = "l_uintptr_t"; 3373 break; 3374 case 4: 3375 p = "l_uintptr_t"; 3376 break; 3377 default: 3378 break; 3379 }; 3380 break; 3381 /* linux_clone */ 3382 case 56: 3383 switch(ndx) { 3384 case 0: 3385 p = "l_int"; 3386 break; 3387 case 1: 3388 p = "userland void *"; 3389 break; 3390 case 2: 3391 p = "userland void *"; 3392 break; 3393 case 3: 3394 p = "userland void *"; 3395 break; 3396 case 4: 3397 p = "userland void *"; 3398 break; 3399 default: 3400 break; 3401 }; 3402 break; 3403 /* linux_fork */ 3404 case 57: 3405 break; 3406 /* linux_vfork */ 3407 case 58: 3408 break; 3409 /* linux_execve */ 3410 case 59: 3411 switch(ndx) { 3412 case 0: 3413 p = "userland char *"; 3414 break; 3415 case 1: 3416 p = "userland char **"; 3417 break; 3418 case 2: 3419 p = "userland char **"; 3420 break; 3421 default: 3422 break; 3423 }; 3424 break; 3425 /* linux_exit */ 3426 case 60: 3427 switch(ndx) { 3428 case 0: 3429 p = "int"; 3430 break; 3431 default: 3432 break; 3433 }; 3434 break; 3435 /* linux_wait4 */ 3436 case 61: 3437 switch(ndx) { 3438 case 0: 3439 p = "l_pid_t"; 3440 break; 3441 case 1: 3442 p = "userland l_int *"; 3443 break; 3444 case 2: 3445 p = "l_int"; 3446 break; 3447 case 3: 3448 p = "userland struct rusage *"; 3449 break; 3450 default: 3451 break; 3452 }; 3453 break; 3454 /* linux_kill */ 3455 case 62: 3456 switch(ndx) { 3457 case 0: 3458 p = "l_int"; 3459 break; 3460 case 1: 3461 p = "l_int"; 3462 break; 3463 default: 3464 break; 3465 }; 3466 break; 3467 /* linux_newuname */ 3468 case 63: 3469 switch(ndx) { 3470 case 0: 3471 p = "userland struct l_new_utsname *"; 3472 break; 3473 default: 3474 break; 3475 }; 3476 break; 3477 /* linux_semget */ 3478 case 64: 3479 switch(ndx) { 3480 case 0: 3481 p = "l_key_t"; 3482 break; 3483 case 1: 3484 p = "l_int"; 3485 break; 3486 case 2: 3487 p = "l_int"; 3488 break; 3489 default: 3490 break; 3491 }; 3492 break; 3493 /* linux_semop */ 3494 case 65: 3495 switch(ndx) { 3496 case 0: 3497 p = "l_int"; 3498 break; 3499 case 1: 3500 p = "userland struct l_sembuf *"; 3501 break; 3502 case 2: 3503 p = "l_uint"; 3504 break; 3505 default: 3506 break; 3507 }; 3508 break; 3509 /* linux_semctl */ 3510 case 66: 3511 switch(ndx) { 3512 case 0: 3513 p = "l_int"; 3514 break; 3515 case 1: 3516 p = "l_int"; 3517 break; 3518 case 2: 3519 p = "l_int"; 3520 break; 3521 case 3: 3522 p = "union l_semun"; 3523 break; 3524 default: 3525 break; 3526 }; 3527 break; 3528 /* linux_shmdt */ 3529 case 67: 3530 switch(ndx) { 3531 case 0: 3532 p = "userland char *"; 3533 break; 3534 default: 3535 break; 3536 }; 3537 break; 3538 /* linux_msgget */ 3539 case 68: 3540 switch(ndx) { 3541 case 0: 3542 p = "l_key_t"; 3543 break; 3544 case 1: 3545 p = "l_int"; 3546 break; 3547 default: 3548 break; 3549 }; 3550 break; 3551 /* linux_msgsnd */ 3552 case 69: 3553 switch(ndx) { 3554 case 0: 3555 p = "l_int"; 3556 break; 3557 case 1: 3558 p = "userland struct l_msgbuf *"; 3559 break; 3560 case 2: 3561 p = "l_size_t"; 3562 break; 3563 case 3: 3564 p = "l_int"; 3565 break; 3566 default: 3567 break; 3568 }; 3569 break; 3570 /* linux_msgrcv */ 3571 case 70: 3572 switch(ndx) { 3573 case 0: 3574 p = "l_int"; 3575 break; 3576 case 1: 3577 p = "userland struct l_msgbuf *"; 3578 break; 3579 case 2: 3580 p = "l_size_t"; 3581 break; 3582 case 3: 3583 p = "l_long"; 3584 break; 3585 case 4: 3586 p = "l_int"; 3587 break; 3588 default: 3589 break; 3590 }; 3591 break; 3592 /* linux_msgctl */ 3593 case 71: 3594 switch(ndx) { 3595 case 0: 3596 p = "l_int"; 3597 break; 3598 case 1: 3599 p = "l_int"; 3600 break; 3601 case 2: 3602 p = "userland struct l_msqid_ds *"; 3603 break; 3604 default: 3605 break; 3606 }; 3607 break; 3608 /* linux_fcntl */ 3609 case 72: 3610 switch(ndx) { 3611 case 0: 3612 p = "l_uint"; 3613 break; 3614 case 1: 3615 p = "l_uint"; 3616 break; 3617 case 2: 3618 p = "l_ulong"; 3619 break; 3620 default: 3621 break; 3622 }; 3623 break; 3624 /* flock */ 3625 case 73: 3626 switch(ndx) { 3627 case 0: 3628 p = "int"; 3629 break; 3630 case 1: 3631 p = "int"; 3632 break; 3633 default: 3634 break; 3635 }; 3636 break; 3637 /* fsync */ 3638 case 74: 3639 switch(ndx) { 3640 case 0: 3641 p = "int"; 3642 break; 3643 default: 3644 break; 3645 }; 3646 break; 3647 /* linux_fdatasync */ 3648 case 75: 3649 switch(ndx) { 3650 case 0: 3651 p = "l_uint"; 3652 break; 3653 default: 3654 break; 3655 }; 3656 break; 3657 /* linux_truncate */ 3658 case 76: 3659 switch(ndx) { 3660 case 0: 3661 p = "userland char *"; 3662 break; 3663 case 1: 3664 p = "l_ulong"; 3665 break; 3666 default: 3667 break; 3668 }; 3669 break; 3670 /* linux_ftruncate */ 3671 case 77: 3672 switch(ndx) { 3673 case 0: 3674 p = "l_int"; 3675 break; 3676 case 1: 3677 p = "l_long"; 3678 break; 3679 default: 3680 break; 3681 }; 3682 break; 3683 /* linux_getdents */ 3684 case 78: 3685 switch(ndx) { 3686 case 0: 3687 p = "l_uint"; 3688 break; 3689 case 1: 3690 p = "userland void *"; 3691 break; 3692 case 2: 3693 p = "l_uint"; 3694 break; 3695 default: 3696 break; 3697 }; 3698 break; 3699 /* linux_getcwd */ 3700 case 79: 3701 switch(ndx) { 3702 case 0: 3703 p = "userland char *"; 3704 break; 3705 case 1: 3706 p = "l_ulong"; 3707 break; 3708 default: 3709 break; 3710 }; 3711 break; 3712 /* linux_chdir */ 3713 case 80: 3714 switch(ndx) { 3715 case 0: 3716 p = "userland char *"; 3717 break; 3718 default: 3719 break; 3720 }; 3721 break; 3722 /* fchdir */ 3723 case 81: 3724 switch(ndx) { 3725 case 0: 3726 p = "int"; 3727 break; 3728 default: 3729 break; 3730 }; 3731 break; 3732 /* linux_rename */ 3733 case 82: 3734 switch(ndx) { 3735 case 0: 3736 p = "userland char *"; 3737 break; 3738 case 1: 3739 p = "userland char *"; 3740 break; 3741 default: 3742 break; 3743 }; 3744 break; 3745 /* linux_mkdir */ 3746 case 83: 3747 switch(ndx) { 3748 case 0: 3749 p = "userland char *"; 3750 break; 3751 case 1: 3752 p = "l_int"; 3753 break; 3754 default: 3755 break; 3756 }; 3757 break; 3758 /* linux_rmdir */ 3759 case 84: 3760 switch(ndx) { 3761 case 0: 3762 p = "userland char *"; 3763 break; 3764 default: 3765 break; 3766 }; 3767 break; 3768 /* linux_creat */ 3769 case 85: 3770 switch(ndx) { 3771 case 0: 3772 p = "userland char *"; 3773 break; 3774 case 1: 3775 p = "l_int"; 3776 break; 3777 default: 3778 break; 3779 }; 3780 break; 3781 /* linux_link */ 3782 case 86: 3783 switch(ndx) { 3784 case 0: 3785 p = "userland char *"; 3786 break; 3787 case 1: 3788 p = "userland char *"; 3789 break; 3790 default: 3791 break; 3792 }; 3793 break; 3794 /* linux_unlink */ 3795 case 87: 3796 switch(ndx) { 3797 case 0: 3798 p = "userland char *"; 3799 break; 3800 default: 3801 break; 3802 }; 3803 break; 3804 /* linux_symlink */ 3805 case 88: 3806 switch(ndx) { 3807 case 0: 3808 p = "userland char *"; 3809 break; 3810 case 1: 3811 p = "userland char *"; 3812 break; 3813 default: 3814 break; 3815 }; 3816 break; 3817 /* linux_readlink */ 3818 case 89: 3819 switch(ndx) { 3820 case 0: 3821 p = "userland char *"; 3822 break; 3823 case 1: 3824 p = "userland char *"; 3825 break; 3826 case 2: 3827 p = "l_int"; 3828 break; 3829 default: 3830 break; 3831 }; 3832 break; 3833 /* linux_chmod */ 3834 case 90: 3835 switch(ndx) { 3836 case 0: 3837 p = "userland char *"; 3838 break; 3839 case 1: 3840 p = "l_mode_t"; 3841 break; 3842 default: 3843 break; 3844 }; 3845 break; 3846 /* fchmod */ 3847 case 91: 3848 switch(ndx) { 3849 case 0: 3850 p = "int"; 3851 break; 3852 case 1: 3853 p = "int"; 3854 break; 3855 default: 3856 break; 3857 }; 3858 break; 3859 /* linux_chown */ 3860 case 92: 3861 switch(ndx) { 3862 case 0: 3863 p = "userland char *"; 3864 break; 3865 case 1: 3866 p = "l_uid_t"; 3867 break; 3868 case 2: 3869 p = "l_gid_t"; 3870 break; 3871 default: 3872 break; 3873 }; 3874 break; 3875 /* fchown */ 3876 case 93: 3877 switch(ndx) { 3878 case 0: 3879 p = "int"; 3880 break; 3881 case 1: 3882 p = "int"; 3883 break; 3884 case 2: 3885 p = "int"; 3886 break; 3887 default: 3888 break; 3889 }; 3890 break; 3891 /* linux_lchown */ 3892 case 94: 3893 switch(ndx) { 3894 case 0: 3895 p = "userland char *"; 3896 break; 3897 case 1: 3898 p = "l_uid_t"; 3899 break; 3900 case 2: 3901 p = "l_gid_t"; 3902 break; 3903 default: 3904 break; 3905 }; 3906 break; 3907 /* umask */ 3908 case 95: 3909 switch(ndx) { 3910 case 0: 3911 p = "int"; 3912 break; 3913 default: 3914 break; 3915 }; 3916 break; 3917 /* gettimeofday */ 3918 case 96: 3919 switch(ndx) { 3920 case 0: 3921 p = "userland struct l_timeval *"; 3922 break; 3923 case 1: 3924 p = "userland struct timezone *"; 3925 break; 3926 default: 3927 break; 3928 }; 3929 break; 3930 /* linux_getrlimit */ 3931 case 97: 3932 switch(ndx) { 3933 case 0: 3934 p = "l_uint"; 3935 break; 3936 case 1: 3937 p = "userland struct l_rlimit *"; 3938 break; 3939 default: 3940 break; 3941 }; 3942 break; 3943 /* getrusage */ 3944 case 98: 3945 switch(ndx) { 3946 case 0: 3947 p = "int"; 3948 break; 3949 case 1: 3950 p = "userland struct rusage *"; 3951 break; 3952 default: 3953 break; 3954 }; 3955 break; 3956 /* linux_sysinfo */ 3957 case 99: 3958 switch(ndx) { 3959 case 0: 3960 p = "userland struct l_sysinfo *"; 3961 break; 3962 default: 3963 break; 3964 }; 3965 break; 3966 /* linux_times */ 3967 case 100: 3968 switch(ndx) { 3969 case 0: 3970 p = "userland struct l_times_argv *"; 3971 break; 3972 default: 3973 break; 3974 }; 3975 break; 3976 /* linux_ptrace */ 3977 case 101: 3978 switch(ndx) { 3979 case 0: 3980 p = "l_long"; 3981 break; 3982 case 1: 3983 p = "l_long"; 3984 break; 3985 case 2: 3986 p = "l_ulong"; 3987 break; 3988 case 3: 3989 p = "l_ulong"; 3990 break; 3991 default: 3992 break; 3993 }; 3994 break; 3995 /* linux_getuid */ 3996 case 102: 3997 break; 3998 /* linux_syslog */ 3999 case 103: 4000 switch(ndx) { 4001 case 0: 4002 p = "l_int"; 4003 break; 4004 case 1: 4005 p = "userland char *"; 4006 break; 4007 case 2: 4008 p = "l_int"; 4009 break; 4010 default: 4011 break; 4012 }; 4013 break; 4014 /* linux_getgid */ 4015 case 104: 4016 break; 4017 /* setuid */ 4018 case 105: 4019 switch(ndx) { 4020 case 0: 4021 p = "uid_t"; 4022 break; 4023 default: 4024 break; 4025 }; 4026 break; 4027 /* setgid */ 4028 case 106: 4029 switch(ndx) { 4030 case 0: 4031 p = "gid_t"; 4032 break; 4033 default: 4034 break; 4035 }; 4036 break; 4037 /* geteuid */ 4038 case 107: 4039 break; 4040 /* getegid */ 4041 case 108: 4042 break; 4043 /* setpgid */ 4044 case 109: 4045 switch(ndx) { 4046 case 0: 4047 p = "int"; 4048 break; 4049 case 1: 4050 p = "int"; 4051 break; 4052 default: 4053 break; 4054 }; 4055 break; 4056 /* linux_getppid */ 4057 case 110: 4058 break; 4059 /* getpgrp */ 4060 case 111: 4061 break; 4062 /* setsid */ 4063 case 112: 4064 break; 4065 /* setreuid */ 4066 case 113: 4067 switch(ndx) { 4068 case 0: 4069 p = "uid_t"; 4070 break; 4071 case 1: 4072 p = "uid_t"; 4073 break; 4074 default: 4075 break; 4076 }; 4077 break; 4078 /* setregid */ 4079 case 114: 4080 switch(ndx) { 4081 case 0: 4082 p = "gid_t"; 4083 break; 4084 case 1: 4085 p = "gid_t"; 4086 break; 4087 default: 4088 break; 4089 }; 4090 break; 4091 /* linux_getgroups */ 4092 case 115: 4093 switch(ndx) { 4094 case 0: 4095 p = "l_int"; 4096 break; 4097 case 1: 4098 p = "userland l_gid_t *"; 4099 break; 4100 default: 4101 break; 4102 }; 4103 break; 4104 /* linux_setgroups */ 4105 case 116: 4106 switch(ndx) { 4107 case 0: 4108 p = "l_int"; 4109 break; 4110 case 1: 4111 p = "userland l_gid_t *"; 4112 break; 4113 default: 4114 break; 4115 }; 4116 break; 4117 /* setresuid */ 4118 case 117: 4119 switch(ndx) { 4120 case 0: 4121 p = "uid_t"; 4122 break; 4123 case 1: 4124 p = "uid_t"; 4125 break; 4126 case 2: 4127 p = "uid_t"; 4128 break; 4129 default: 4130 break; 4131 }; 4132 break; 4133 /* getresuid */ 4134 case 118: 4135 switch(ndx) { 4136 case 0: 4137 p = "userland uid_t *"; 4138 break; 4139 case 1: 4140 p = "userland uid_t *"; 4141 break; 4142 case 2: 4143 p = "userland uid_t *"; 4144 break; 4145 default: 4146 break; 4147 }; 4148 break; 4149 /* setresgid */ 4150 case 119: 4151 switch(ndx) { 4152 case 0: 4153 p = "gid_t"; 4154 break; 4155 case 1: 4156 p = "gid_t"; 4157 break; 4158 case 2: 4159 p = "gid_t"; 4160 break; 4161 default: 4162 break; 4163 }; 4164 break; 4165 /* getresgid */ 4166 case 120: 4167 switch(ndx) { 4168 case 0: 4169 p = "userland gid_t *"; 4170 break; 4171 case 1: 4172 p = "userland gid_t *"; 4173 break; 4174 case 2: 4175 p = "userland gid_t *"; 4176 break; 4177 default: 4178 break; 4179 }; 4180 break; 4181 /* getpgid */ 4182 case 121: 4183 switch(ndx) { 4184 case 0: 4185 p = "int"; 4186 break; 4187 default: 4188 break; 4189 }; 4190 break; 4191 /* linux_setfsuid */ 4192 case 122: 4193 switch(ndx) { 4194 case 0: 4195 p = "l_uid_t"; 4196 break; 4197 default: 4198 break; 4199 }; 4200 break; 4201 /* linux_setfsgid */ 4202 case 123: 4203 switch(ndx) { 4204 case 0: 4205 p = "l_gid_t"; 4206 break; 4207 default: 4208 break; 4209 }; 4210 break; 4211 /* linux_getsid */ 4212 case 124: 4213 switch(ndx) { 4214 case 0: 4215 p = "l_pid_t"; 4216 break; 4217 default: 4218 break; 4219 }; 4220 break; 4221 /* linux_capget */ 4222 case 125: 4223 switch(ndx) { 4224 case 0: 4225 p = "userland struct l_user_cap_header *"; 4226 break; 4227 case 1: 4228 p = "userland struct l_user_cap_data *"; 4229 break; 4230 default: 4231 break; 4232 }; 4233 break; 4234 /* linux_capset */ 4235 case 126: 4236 switch(ndx) { 4237 case 0: 4238 p = "userland struct l_user_cap_header *"; 4239 break; 4240 case 1: 4241 p = "userland struct l_user_cap_data *"; 4242 break; 4243 default: 4244 break; 4245 }; 4246 break; 4247 /* linux_rt_sigpending */ 4248 case 127: 4249 switch(ndx) { 4250 case 0: 4251 p = "userland l_sigset_t *"; 4252 break; 4253 case 1: 4254 p = "l_size_t"; 4255 break; 4256 default: 4257 break; 4258 }; 4259 break; 4260 /* linux_rt_sigtimedwait */ 4261 case 128: 4262 switch(ndx) { 4263 case 0: 4264 p = "userland l_sigset_t *"; 4265 break; 4266 case 1: 4267 p = "userland l_siginfo_t *"; 4268 break; 4269 case 2: 4270 p = "userland struct l_timeval *"; 4271 break; 4272 case 3: 4273 p = "l_size_t"; 4274 break; 4275 default: 4276 break; 4277 }; 4278 break; 4279 /* linux_rt_sigqueueinfo */ 4280 case 129: 4281 switch(ndx) { 4282 case 0: 4283 p = "l_pid_t"; 4284 break; 4285 case 1: 4286 p = "l_int"; 4287 break; 4288 case 2: 4289 p = "userland l_siginfo_t *"; 4290 break; 4291 default: 4292 break; 4293 }; 4294 break; 4295 /* linux_rt_sigsuspend */ 4296 case 130: 4297 switch(ndx) { 4298 case 0: 4299 p = "userland l_sigset_t *"; 4300 break; 4301 case 1: 4302 p = "l_size_t"; 4303 break; 4304 default: 4305 break; 4306 }; 4307 break; 4308 /* linux_sigaltstack */ 4309 case 131: 4310 switch(ndx) { 4311 case 0: 4312 p = "userland l_stack_t *"; 4313 break; 4314 case 1: 4315 p = "userland l_stack_t *"; 4316 break; 4317 default: 4318 break; 4319 }; 4320 break; 4321 /* linux_utime */ 4322 case 132: 4323 switch(ndx) { 4324 case 0: 4325 p = "userland char *"; 4326 break; 4327 case 1: 4328 p = "userland struct l_utimbuf *"; 4329 break; 4330 default: 4331 break; 4332 }; 4333 break; 4334 /* linux_mknod */ 4335 case 133: 4336 switch(ndx) { 4337 case 0: 4338 p = "userland char *"; 4339 break; 4340 case 1: 4341 p = "l_int"; 4342 break; 4343 case 2: 4344 p = "l_dev_t"; 4345 break; 4346 default: 4347 break; 4348 }; 4349 break; 4350 /* linux_personality */ 4351 case 135: 4352 switch(ndx) { 4353 case 0: 4354 p = "l_uint"; 4355 break; 4356 default: 4357 break; 4358 }; 4359 break; 4360 /* linux_ustat */ 4361 case 136: 4362 switch(ndx) { 4363 case 0: 4364 p = "l_dev_t"; 4365 break; 4366 case 1: 4367 p = "userland struct l_ustat *"; 4368 break; 4369 default: 4370 break; 4371 }; 4372 break; 4373 /* linux_statfs */ 4374 case 137: 4375 switch(ndx) { 4376 case 0: 4377 p = "userland char *"; 4378 break; 4379 case 1: 4380 p = "userland struct l_statfs_buf *"; 4381 break; 4382 default: 4383 break; 4384 }; 4385 break; 4386 /* linux_fstatfs */ 4387 case 138: 4388 switch(ndx) { 4389 case 0: 4390 p = "l_uint"; 4391 break; 4392 case 1: 4393 p = "userland struct l_statfs_buf *"; 4394 break; 4395 default: 4396 break; 4397 }; 4398 break; 4399 /* linux_sysfs */ 4400 case 139: 4401 switch(ndx) { 4402 case 0: 4403 p = "l_int"; 4404 break; 4405 case 1: 4406 p = "l_ulong"; 4407 break; 4408 case 2: 4409 p = "l_ulong"; 4410 break; 4411 default: 4412 break; 4413 }; 4414 break; 4415 /* linux_getpriority */ 4416 case 140: 4417 switch(ndx) { 4418 case 0: 4419 p = "int"; 4420 break; 4421 case 1: 4422 p = "int"; 4423 break; 4424 default: 4425 break; 4426 }; 4427 break; 4428 /* setpriority */ 4429 case 141: 4430 switch(ndx) { 4431 case 0: 4432 p = "int"; 4433 break; 4434 case 1: 4435 p = "int"; 4436 break; 4437 case 2: 4438 p = "int"; 4439 break; 4440 default: 4441 break; 4442 }; 4443 break; 4444 /* linux_sched_setparam */ 4445 case 142: 4446 switch(ndx) { 4447 case 0: 4448 p = "l_pid_t"; 4449 break; 4450 case 1: 4451 p = "userland struct sched_param *"; 4452 break; 4453 default: 4454 break; 4455 }; 4456 break; 4457 /* linux_sched_getparam */ 4458 case 143: 4459 switch(ndx) { 4460 case 0: 4461 p = "l_pid_t"; 4462 break; 4463 case 1: 4464 p = "userland struct sched_param *"; 4465 break; 4466 default: 4467 break; 4468 }; 4469 break; 4470 /* linux_sched_setscheduler */ 4471 case 144: 4472 switch(ndx) { 4473 case 0: 4474 p = "l_pid_t"; 4475 break; 4476 case 1: 4477 p = "l_int"; 4478 break; 4479 case 2: 4480 p = "userland struct sched_param *"; 4481 break; 4482 default: 4483 break; 4484 }; 4485 break; 4486 /* linux_sched_getscheduler */ 4487 case 145: 4488 switch(ndx) { 4489 case 0: 4490 p = "l_pid_t"; 4491 break; 4492 default: 4493 break; 4494 }; 4495 break; 4496 /* linux_sched_get_priority_max */ 4497 case 146: 4498 switch(ndx) { 4499 case 0: 4500 p = "l_int"; 4501 break; 4502 default: 4503 break; 4504 }; 4505 break; 4506 /* linux_sched_get_priority_min */ 4507 case 147: 4508 switch(ndx) { 4509 case 0: 4510 p = "l_int"; 4511 break; 4512 default: 4513 break; 4514 }; 4515 break; 4516 /* linux_sched_rr_get_interval */ 4517 case 148: 4518 switch(ndx) { 4519 case 0: 4520 p = "l_pid_t"; 4521 break; 4522 case 1: 4523 p = "userland struct l_timespec *"; 4524 break; 4525 default: 4526 break; 4527 }; 4528 break; 4529 /* mlock */ 4530 case 149: 4531 switch(ndx) { 4532 case 0: 4533 p = "userland const void *"; 4534 break; 4535 case 1: 4536 p = "size_t"; 4537 break; 4538 default: 4539 break; 4540 }; 4541 break; 4542 /* munlock */ 4543 case 150: 4544 switch(ndx) { 4545 case 0: 4546 p = "userland const void *"; 4547 break; 4548 case 1: 4549 p = "size_t"; 4550 break; 4551 default: 4552 break; 4553 }; 4554 break; 4555 /* mlockall */ 4556 case 151: 4557 switch(ndx) { 4558 case 0: 4559 p = "int"; 4560 break; 4561 default: 4562 break; 4563 }; 4564 break; 4565 /* munlockall */ 4566 case 152: 4567 break; 4568 /* linux_vhangup */ 4569 case 153: 4570 break; 4571 /* linux_pivot_root */ 4572 case 155: 4573 break; 4574 /* linux_sysctl */ 4575 case 156: 4576 switch(ndx) { 4577 case 0: 4578 p = "userland struct l___sysctl_args *"; 4579 break; 4580 default: 4581 break; 4582 }; 4583 break; 4584 /* linux_prctl */ 4585 case 157: 4586 switch(ndx) { 4587 case 0: 4588 p = "l_int"; 4589 break; 4590 case 1: 4591 p = "l_uintptr_t"; 4592 break; 4593 case 2: 4594 p = "l_uintptr_t"; 4595 break; 4596 case 3: 4597 p = "l_uintptr_t"; 4598 break; 4599 case 4: 4600 p = "l_uintptr_t"; 4601 break; 4602 default: 4603 break; 4604 }; 4605 break; 4606 /* linux_arch_prctl */ 4607 case 158: 4608 switch(ndx) { 4609 case 0: 4610 p = "l_int"; 4611 break; 4612 case 1: 4613 p = "l_ulong"; 4614 break; 4615 default: 4616 break; 4617 }; 4618 break; 4619 /* linux_adjtimex */ 4620 case 159: 4621 break; 4622 /* linux_setrlimit */ 4623 case 160: 4624 switch(ndx) { 4625 case 0: 4626 p = "l_uint"; 4627 break; 4628 case 1: 4629 p = "userland struct l_rlimit *"; 4630 break; 4631 default: 4632 break; 4633 }; 4634 break; 4635 /* chroot */ 4636 case 161: 4637 switch(ndx) { 4638 case 0: 4639 p = "userland char *"; 4640 break; 4641 default: 4642 break; 4643 }; 4644 break; 4645 /* sync */ 4646 case 162: 4647 break; 4648 /* acct */ 4649 case 163: 4650 switch(ndx) { 4651 case 0: 4652 p = "userland char *"; 4653 break; 4654 default: 4655 break; 4656 }; 4657 break; 4658 /* settimeofday */ 4659 case 164: 4660 switch(ndx) { 4661 case 0: 4662 p = "userland struct l_timeval *"; 4663 break; 4664 case 1: 4665 p = "userland struct timezone *"; 4666 break; 4667 default: 4668 break; 4669 }; 4670 break; 4671 /* linux_mount */ 4672 case 165: 4673 switch(ndx) { 4674 case 0: 4675 p = "userland char *"; 4676 break; 4677 case 1: 4678 p = "userland char *"; 4679 break; 4680 case 2: 4681 p = "userland char *"; 4682 break; 4683 case 3: 4684 p = "l_ulong"; 4685 break; 4686 case 4: 4687 p = "userland void *"; 4688 break; 4689 default: 4690 break; 4691 }; 4692 break; 4693 /* linux_umount */ 4694 case 166: 4695 switch(ndx) { 4696 case 0: 4697 p = "userland char *"; 4698 break; 4699 case 1: 4700 p = "l_int"; 4701 break; 4702 default: 4703 break; 4704 }; 4705 break; 4706 /* swapon */ 4707 case 167: 4708 switch(ndx) { 4709 case 0: 4710 p = "userland char *"; 4711 break; 4712 default: 4713 break; 4714 }; 4715 break; 4716 /* linux_swapoff */ 4717 case 168: 4718 break; 4719 /* linux_reboot */ 4720 case 169: 4721 switch(ndx) { 4722 case 0: 4723 p = "l_int"; 4724 break; 4725 case 1: 4726 p = "l_int"; 4727 break; 4728 case 2: 4729 p = "l_uint"; 4730 break; 4731 case 3: 4732 p = "userland void *"; 4733 break; 4734 default: 4735 break; 4736 }; 4737 break; 4738 /* linux_sethostname */ 4739 case 170: 4740 switch(ndx) { 4741 case 0: 4742 p = "userland char *"; 4743 break; 4744 case 1: 4745 p = "l_uint"; 4746 break; 4747 default: 4748 break; 4749 }; 4750 break; 4751 /* linux_setdomainname */ 4752 case 171: 4753 switch(ndx) { 4754 case 0: 4755 p = "userland char *"; 4756 break; 4757 case 1: 4758 p = "l_int"; 4759 break; 4760 default: 4761 break; 4762 }; 4763 break; 4764 /* linux_iopl */ 4765 case 172: 4766 switch(ndx) { 4767 case 0: 4768 p = "l_uint"; 4769 break; 4770 default: 4771 break; 4772 }; 4773 break; 4774 /* linux_create_module */ 4775 case 174: 4776 break; 4777 /* linux_init_module */ 4778 case 175: 4779 break; 4780 /* linux_delete_module */ 4781 case 176: 4782 break; 4783 /* linux_get_kernel_syms */ 4784 case 177: 4785 break; 4786 /* linux_query_module */ 4787 case 178: 4788 break; 4789 /* linux_quotactl */ 4790 case 179: 4791 break; 4792 /* linux_nfsservctl */ 4793 case 180: 4794 break; 4795 /* linux_getpmsg */ 4796 case 181: 4797 break; 4798 /* linux_putpmsg */ 4799 case 182: 4800 break; 4801 /* linux_afs_syscall */ 4802 case 183: 4803 break; 4804 /* linux_tuxcall */ 4805 case 184: 4806 break; 4807 /* linux_security */ 4808 case 185: 4809 break; 4810 /* linux_gettid */ 4811 case 186: 4812 break; 4813 /* linux_setxattr */ 4814 case 188: 4815 break; 4816 /* linux_lsetxattr */ 4817 case 189: 4818 break; 4819 /* linux_fsetxattr */ 4820 case 190: 4821 break; 4822 /* linux_getxattr */ 4823 case 191: 4824 break; 4825 /* linux_lgetxattr */ 4826 case 192: 4827 break; 4828 /* linux_fgetxattr */ 4829 case 193: 4830 break; 4831 /* linux_listxattr */ 4832 case 194: 4833 break; 4834 /* linux_llistxattr */ 4835 case 195: 4836 break; 4837 /* linux_flistxattr */ 4838 case 196: 4839 break; 4840 /* linux_removexattr */ 4841 case 197: 4842 break; 4843 /* linux_lremovexattr */ 4844 case 198: 4845 break; 4846 /* linux_fremovexattr */ 4847 case 199: 4848 break; 4849 /* linux_tkill */ 4850 case 200: 4851 switch(ndx) { 4852 case 0: 4853 p = "int"; 4854 break; 4855 case 1: 4856 p = "int"; 4857 break; 4858 default: 4859 break; 4860 }; 4861 break; 4862 /* linux_time */ 4863 case 201: 4864 switch(ndx) { 4865 case 0: 4866 p = "userland l_time_t *"; 4867 break; 4868 default: 4869 break; 4870 }; 4871 break; 4872 /* linux_sys_futex */ 4873 case 202: 4874 switch(ndx) { 4875 case 0: 4876 p = "userland void *"; 4877 break; 4878 case 1: 4879 p = "int"; 4880 break; 4881 case 2: 4882 p = "int"; 4883 break; 4884 case 3: 4885 p = "userland struct l_timespec *"; 4886 break; 4887 case 4: 4888 p = "userland void *"; 4889 break; 4890 case 5: 4891 p = "int"; 4892 break; 4893 default: 4894 break; 4895 }; 4896 break; 4897 /* linux_sched_setaffinity */ 4898 case 203: 4899 switch(ndx) { 4900 case 0: 4901 p = "l_pid_t"; 4902 break; 4903 case 1: 4904 p = "l_uint"; 4905 break; 4906 case 2: 4907 p = "userland l_ulong *"; 4908 break; 4909 default: 4910 break; 4911 }; 4912 break; 4913 /* linux_sched_getaffinity */ 4914 case 204: 4915 switch(ndx) { 4916 case 0: 4917 p = "l_pid_t"; 4918 break; 4919 case 1: 4920 p = "l_uint"; 4921 break; 4922 case 2: 4923 p = "userland l_ulong *"; 4924 break; 4925 default: 4926 break; 4927 }; 4928 break; 4929 /* linux_set_thread_area */ 4930 case 205: 4931 break; 4932 /* linux_lookup_dcookie */ 4933 case 212: 4934 break; 4935 /* linux_epoll_create */ 4936 case 213: 4937 switch(ndx) { 4938 case 0: 4939 p = "l_int"; 4940 break; 4941 default: 4942 break; 4943 }; 4944 break; 4945 /* linux_epoll_ctl_old */ 4946 case 214: 4947 break; 4948 /* linux_epoll_wait_old */ 4949 case 215: 4950 break; 4951 /* linux_remap_file_pages */ 4952 case 216: 4953 break; 4954 /* linux_getdents64 */ 4955 case 217: 4956 switch(ndx) { 4957 case 0: 4958 p = "l_uint"; 4959 break; 4960 case 1: 4961 p = "userland void *"; 4962 break; 4963 case 2: 4964 p = "l_uint"; 4965 break; 4966 default: 4967 break; 4968 }; 4969 break; 4970 /* linux_set_tid_address */ 4971 case 218: 4972 switch(ndx) { 4973 case 0: 4974 p = "userland int *"; 4975 break; 4976 default: 4977 break; 4978 }; 4979 break; 4980 /* linux_semtimedop */ 4981 case 220: 4982 break; 4983 /* linux_fadvise64 */ 4984 case 221: 4985 switch(ndx) { 4986 case 0: 4987 p = "int"; 4988 break; 4989 case 1: 4990 p = "l_loff_t"; 4991 break; 4992 case 2: 4993 p = "l_size_t"; 4994 break; 4995 case 3: 4996 p = "int"; 4997 break; 4998 default: 4999 break; 5000 }; 5001 break; 5002 /* linux_timer_create */ 5003 case 222: 5004 switch(ndx) { 5005 case 0: 5006 p = "clockid_t"; 5007 break; 5008 case 1: 5009 p = "userland struct sigevent *"; 5010 break; 5011 case 2: 5012 p = "userland l_timer_t *"; 5013 break; 5014 default: 5015 break; 5016 }; 5017 break; 5018 /* linux_timer_settime */ 5019 case 223: 5020 switch(ndx) { 5021 case 0: 5022 p = "l_timer_t"; 5023 break; 5024 case 1: 5025 p = "l_int"; 5026 break; 5027 case 2: 5028 p = "userland const struct itimerspec *"; 5029 break; 5030 case 3: 5031 p = "userland struct itimerspec *"; 5032 break; 5033 default: 5034 break; 5035 }; 5036 break; 5037 /* linux_timer_gettime */ 5038 case 224: 5039 switch(ndx) { 5040 case 0: 5041 p = "l_timer_t"; 5042 break; 5043 case 1: 5044 p = "userland struct itimerspec *"; 5045 break; 5046 default: 5047 break; 5048 }; 5049 break; 5050 /* linux_timer_getoverrun */ 5051 case 225: 5052 switch(ndx) { 5053 case 0: 5054 p = "l_timer_t"; 5055 break; 5056 default: 5057 break; 5058 }; 5059 break; 5060 /* linux_timer_delete */ 5061 case 226: 5062 switch(ndx) { 5063 case 0: 5064 p = "l_timer_t"; 5065 break; 5066 default: 5067 break; 5068 }; 5069 break; 5070 /* linux_clock_settime */ 5071 case 227: 5072 switch(ndx) { 5073 case 0: 5074 p = "clockid_t"; 5075 break; 5076 case 1: 5077 p = "userland struct l_timespec *"; 5078 break; 5079 default: 5080 break; 5081 }; 5082 break; 5083 /* linux_clock_gettime */ 5084 case 228: 5085 switch(ndx) { 5086 case 0: 5087 p = "clockid_t"; 5088 break; 5089 case 1: 5090 p = "userland struct l_timespec *"; 5091 break; 5092 default: 5093 break; 5094 }; 5095 break; 5096 /* linux_clock_getres */ 5097 case 229: 5098 switch(ndx) { 5099 case 0: 5100 p = "clockid_t"; 5101 break; 5102 case 1: 5103 p = "userland struct l_timespec *"; 5104 break; 5105 default: 5106 break; 5107 }; 5108 break; 5109 /* linux_clock_nanosleep */ 5110 case 230: 5111 switch(ndx) { 5112 case 0: 5113 p = "clockid_t"; 5114 break; 5115 case 1: 5116 p = "int"; 5117 break; 5118 case 2: 5119 p = "userland struct l_timespec *"; 5120 break; 5121 case 3: 5122 p = "userland struct l_timespec *"; 5123 break; 5124 default: 5125 break; 5126 }; 5127 break; 5128 /* linux_exit_group */ 5129 case 231: 5130 switch(ndx) { 5131 case 0: 5132 p = "int"; 5133 break; 5134 default: 5135 break; 5136 }; 5137 break; 5138 /* linux_epoll_wait */ 5139 case 232: 5140 switch(ndx) { 5141 case 0: 5142 p = "l_int"; 5143 break; 5144 case 1: 5145 p = "userland struct epoll_event *"; 5146 break; 5147 case 2: 5148 p = "l_int"; 5149 break; 5150 case 3: 5151 p = "l_int"; 5152 break; 5153 default: 5154 break; 5155 }; 5156 break; 5157 /* linux_epoll_ctl */ 5158 case 233: 5159 switch(ndx) { 5160 case 0: 5161 p = "l_int"; 5162 break; 5163 case 1: 5164 p = "l_int"; 5165 break; 5166 case 2: 5167 p = "l_int"; 5168 break; 5169 case 3: 5170 p = "userland struct epoll_event *"; 5171 break; 5172 default: 5173 break; 5174 }; 5175 break; 5176 /* linux_tgkill */ 5177 case 234: 5178 switch(ndx) { 5179 case 0: 5180 p = "int"; 5181 break; 5182 case 1: 5183 p = "int"; 5184 break; 5185 case 2: 5186 p = "int"; 5187 break; 5188 default: 5189 break; 5190 }; 5191 break; 5192 /* linux_utimes */ 5193 case 235: 5194 switch(ndx) { 5195 case 0: 5196 p = "userland char *"; 5197 break; 5198 case 1: 5199 p = "userland struct l_timeval *"; 5200 break; 5201 default: 5202 break; 5203 }; 5204 break; 5205 /* linux_mbind */ 5206 case 237: 5207 break; 5208 /* linux_set_mempolicy */ 5209 case 238: 5210 break; 5211 /* linux_get_mempolicy */ 5212 case 239: 5213 break; 5214 /* linux_mq_open */ 5215 case 240: 5216 break; 5217 /* linux_mq_unlink */ 5218 case 241: 5219 break; 5220 /* linux_mq_timedsend */ 5221 case 242: 5222 break; 5223 /* linux_mq_timedreceive */ 5224 case 243: 5225 break; 5226 /* linux_mq_notify */ 5227 case 244: 5228 break; 5229 /* linux_mq_getsetattr */ 5230 case 245: 5231 break; 5232 /* linux_kexec_load */ 5233 case 246: 5234 break; 5235 /* linux_waitid */ 5236 case 247: 5237 switch(ndx) { 5238 case 0: 5239 p = "int"; 5240 break; 5241 case 1: 5242 p = "l_pid_t"; 5243 break; 5244 case 2: 5245 p = "userland l_siginfo_t *"; 5246 break; 5247 case 3: 5248 p = "int"; 5249 break; 5250 case 4: 5251 p = "userland struct rusage *"; 5252 break; 5253 default: 5254 break; 5255 }; 5256 break; 5257 /* linux_add_key */ 5258 case 248: 5259 break; 5260 /* linux_request_key */ 5261 case 249: 5262 break; 5263 /* linux_keyctl */ 5264 case 250: 5265 break; 5266 /* linux_ioprio_set */ 5267 case 251: 5268 break; 5269 /* linux_ioprio_get */ 5270 case 252: 5271 break; 5272 /* linux_inotify_init */ 5273 case 253: 5274 break; 5275 /* linux_inotify_add_watch */ 5276 case 254: 5277 break; 5278 /* linux_inotify_rm_watch */ 5279 case 255: 5280 break; 5281 /* linux_migrate_pages */ 5282 case 256: 5283 break; 5284 /* linux_openat */ 5285 case 257: 5286 switch(ndx) { 5287 case 0: 5288 p = "l_int"; 5289 break; 5290 case 1: 5291 p = "userland const char *"; 5292 break; 5293 case 2: 5294 p = "l_int"; 5295 break; 5296 case 3: 5297 p = "l_int"; 5298 break; 5299 default: 5300 break; 5301 }; 5302 break; 5303 /* linux_mkdirat */ 5304 case 258: 5305 switch(ndx) { 5306 case 0: 5307 p = "l_int"; 5308 break; 5309 case 1: 5310 p = "userland const char *"; 5311 break; 5312 case 2: 5313 p = "l_int"; 5314 break; 5315 default: 5316 break; 5317 }; 5318 break; 5319 /* linux_mknodat */ 5320 case 259: 5321 switch(ndx) { 5322 case 0: 5323 p = "l_int"; 5324 break; 5325 case 1: 5326 p = "userland const char *"; 5327 break; 5328 case 2: 5329 p = "l_int"; 5330 break; 5331 case 3: 5332 p = "l_uint"; 5333 break; 5334 default: 5335 break; 5336 }; 5337 break; 5338 /* linux_fchownat */ 5339 case 260: 5340 switch(ndx) { 5341 case 0: 5342 p = "l_int"; 5343 break; 5344 case 1: 5345 p = "userland const char *"; 5346 break; 5347 case 2: 5348 p = "l_uid_t"; 5349 break; 5350 case 3: 5351 p = "l_gid_t"; 5352 break; 5353 case 4: 5354 p = "l_int"; 5355 break; 5356 default: 5357 break; 5358 }; 5359 break; 5360 /* linux_futimesat */ 5361 case 261: 5362 switch(ndx) { 5363 case 0: 5364 p = "l_int"; 5365 break; 5366 case 1: 5367 p = "userland char *"; 5368 break; 5369 case 2: 5370 p = "userland struct l_timeval *"; 5371 break; 5372 default: 5373 break; 5374 }; 5375 break; 5376 /* linux_newfstatat */ 5377 case 262: 5378 switch(ndx) { 5379 case 0: 5380 p = "l_int"; 5381 break; 5382 case 1: 5383 p = "userland char *"; 5384 break; 5385 case 2: 5386 p = "userland struct l_stat64 *"; 5387 break; 5388 case 3: 5389 p = "l_int"; 5390 break; 5391 default: 5392 break; 5393 }; 5394 break; 5395 /* linux_unlinkat */ 5396 case 263: 5397 switch(ndx) { 5398 case 0: 5399 p = "l_int"; 5400 break; 5401 case 1: 5402 p = "userland const char *"; 5403 break; 5404 case 2: 5405 p = "l_int"; 5406 break; 5407 default: 5408 break; 5409 }; 5410 break; 5411 /* linux_renameat */ 5412 case 264: 5413 switch(ndx) { 5414 case 0: 5415 p = "l_int"; 5416 break; 5417 case 1: 5418 p = "userland const char *"; 5419 break; 5420 case 2: 5421 p = "l_int"; 5422 break; 5423 case 3: 5424 p = "userland const char *"; 5425 break; 5426 default: 5427 break; 5428 }; 5429 break; 5430 /* linux_linkat */ 5431 case 265: 5432 switch(ndx) { 5433 case 0: 5434 p = "l_int"; 5435 break; 5436 case 1: 5437 p = "userland const char *"; 5438 break; 5439 case 2: 5440 p = "l_int"; 5441 break; 5442 case 3: 5443 p = "userland const char *"; 5444 break; 5445 case 4: 5446 p = "l_int"; 5447 break; 5448 default: 5449 break; 5450 }; 5451 break; 5452 /* linux_symlinkat */ 5453 case 266: 5454 switch(ndx) { 5455 case 0: 5456 p = "userland const char *"; 5457 break; 5458 case 1: 5459 p = "l_int"; 5460 break; 5461 case 2: 5462 p = "userland const char *"; 5463 break; 5464 default: 5465 break; 5466 }; 5467 break; 5468 /* linux_readlinkat */ 5469 case 267: 5470 switch(ndx) { 5471 case 0: 5472 p = "l_int"; 5473 break; 5474 case 1: 5475 p = "userland const char *"; 5476 break; 5477 case 2: 5478 p = "userland char *"; 5479 break; 5480 case 3: 5481 p = "l_int"; 5482 break; 5483 default: 5484 break; 5485 }; 5486 break; 5487 /* linux_fchmodat */ 5488 case 268: 5489 switch(ndx) { 5490 case 0: 5491 p = "l_int"; 5492 break; 5493 case 1: 5494 p = "userland const char *"; 5495 break; 5496 case 2: 5497 p = "l_mode_t"; 5498 break; 5499 default: 5500 break; 5501 }; 5502 break; 5503 /* linux_faccessat */ 5504 case 269: 5505 switch(ndx) { 5506 case 0: 5507 p = "l_int"; 5508 break; 5509 case 1: 5510 p = "userland const char *"; 5511 break; 5512 case 2: 5513 p = "l_int"; 5514 break; 5515 default: 5516 break; 5517 }; 5518 break; 5519 /* linux_pselect6 */ 5520 case 270: 5521 switch(ndx) { 5522 case 0: 5523 p = "l_int"; 5524 break; 5525 case 1: 5526 p = "userland l_fd_set *"; 5527 break; 5528 case 2: 5529 p = "userland l_fd_set *"; 5530 break; 5531 case 3: 5532 p = "userland l_fd_set *"; 5533 break; 5534 case 4: 5535 p = "userland struct l_timespec *"; 5536 break; 5537 case 5: 5538 p = "userland l_uintptr_t *"; 5539 break; 5540 default: 5541 break; 5542 }; 5543 break; 5544 /* linux_ppoll */ 5545 case 271: 5546 switch(ndx) { 5547 case 0: 5548 p = "userland struct pollfd *"; 5549 break; 5550 case 1: 5551 p = "uint32_t"; 5552 break; 5553 case 2: 5554 p = "userland struct l_timespec *"; 5555 break; 5556 case 3: 5557 p = "userland l_sigset_t *"; 5558 break; 5559 case 4: 5560 p = "l_size_t"; 5561 break; 5562 default: 5563 break; 5564 }; 5565 break; 5566 /* linux_unshare */ 5567 case 272: 5568 break; 5569 /* linux_set_robust_list */ 5570 case 273: 5571 switch(ndx) { 5572 case 0: 5573 p = "userland struct linux_robust_list_head *"; 5574 break; 5575 case 1: 5576 p = "l_size_t"; 5577 break; 5578 default: 5579 break; 5580 }; 5581 break; 5582 /* linux_get_robust_list */ 5583 case 274: 5584 switch(ndx) { 5585 case 0: 5586 p = "l_int"; 5587 break; 5588 case 1: 5589 p = "userland struct linux_robust_list_head **"; 5590 break; 5591 case 2: 5592 p = "userland l_size_t *"; 5593 break; 5594 default: 5595 break; 5596 }; 5597 break; 5598 /* linux_splice */ 5599 case 275: 5600 break; 5601 /* linux_tee */ 5602 case 276: 5603 break; 5604 /* linux_sync_file_range */ 5605 case 277: 5606 break; 5607 /* linux_vmsplice */ 5608 case 278: 5609 break; 5610 /* linux_move_pages */ 5611 case 279: 5612 break; 5613 /* linux_utimensat */ 5614 case 280: 5615 switch(ndx) { 5616 case 0: 5617 p = "l_int"; 5618 break; 5619 case 1: 5620 p = "userland const char *"; 5621 break; 5622 case 2: 5623 p = "userland const struct l_timespec *"; 5624 break; 5625 case 3: 5626 p = "l_int"; 5627 break; 5628 default: 5629 break; 5630 }; 5631 break; 5632 /* linux_epoll_pwait */ 5633 case 281: 5634 switch(ndx) { 5635 case 0: 5636 p = "l_int"; 5637 break; 5638 case 1: 5639 p = "userland struct epoll_event *"; 5640 break; 5641 case 2: 5642 p = "l_int"; 5643 break; 5644 case 3: 5645 p = "l_int"; 5646 break; 5647 case 4: 5648 p = "userland l_sigset_t *"; 5649 break; 5650 case 5: 5651 p = "l_size_t"; 5652 break; 5653 default: 5654 break; 5655 }; 5656 break; 5657 /* linux_signalfd */ 5658 case 282: 5659 break; 5660 /* linux_timerfd_create */ 5661 case 283: 5662 switch(ndx) { 5663 case 0: 5664 p = "l_int"; 5665 break; 5666 case 1: 5667 p = "l_int"; 5668 break; 5669 default: 5670 break; 5671 }; 5672 break; 5673 /* linux_eventfd */ 5674 case 284: 5675 switch(ndx) { 5676 case 0: 5677 p = "l_uint"; 5678 break; 5679 default: 5680 break; 5681 }; 5682 break; 5683 /* linux_fallocate */ 5684 case 285: 5685 switch(ndx) { 5686 case 0: 5687 p = "l_int"; 5688 break; 5689 case 1: 5690 p = "l_int"; 5691 break; 5692 case 2: 5693 p = "l_loff_t"; 5694 break; 5695 case 3: 5696 p = "l_loff_t"; 5697 break; 5698 default: 5699 break; 5700 }; 5701 break; 5702 /* linux_timerfd_settime */ 5703 case 286: 5704 switch(ndx) { 5705 case 0: 5706 p = "l_int"; 5707 break; 5708 case 1: 5709 p = "l_int"; 5710 break; 5711 case 2: 5712 p = "userland const struct l_itimerspec *"; 5713 break; 5714 case 3: 5715 p = "userland struct l_itimerspec *"; 5716 break; 5717 default: 5718 break; 5719 }; 5720 break; 5721 /* linux_timerfd_gettime */ 5722 case 287: 5723 switch(ndx) { 5724 case 0: 5725 p = "l_int"; 5726 break; 5727 case 1: 5728 p = "userland struct l_itimerspec *"; 5729 break; 5730 default: 5731 break; 5732 }; 5733 break; 5734 /* linux_accept4 */ 5735 case 288: 5736 switch(ndx) { 5737 case 0: 5738 p = "l_int"; 5739 break; 5740 case 1: 5741 p = "l_uintptr_t"; 5742 break; 5743 case 2: 5744 p = "l_uintptr_t"; 5745 break; 5746 case 3: 5747 p = "int"; 5748 break; 5749 default: 5750 break; 5751 }; 5752 break; 5753 /* linux_signalfd4 */ 5754 case 289: 5755 break; 5756 /* linux_eventfd2 */ 5757 case 290: 5758 switch(ndx) { 5759 case 0: 5760 p = "l_uint"; 5761 break; 5762 case 1: 5763 p = "l_int"; 5764 break; 5765 default: 5766 break; 5767 }; 5768 break; 5769 /* linux_epoll_create1 */ 5770 case 291: 5771 switch(ndx) { 5772 case 0: 5773 p = "l_int"; 5774 break; 5775 default: 5776 break; 5777 }; 5778 break; 5779 /* linux_dup3 */ 5780 case 292: 5781 switch(ndx) { 5782 case 0: 5783 p = "l_int"; 5784 break; 5785 case 1: 5786 p = "l_int"; 5787 break; 5788 case 2: 5789 p = "l_int"; 5790 break; 5791 default: 5792 break; 5793 }; 5794 break; 5795 /* linux_pipe2 */ 5796 case 293: 5797 switch(ndx) { 5798 case 0: 5799 p = "userland l_int *"; 5800 break; 5801 case 1: 5802 p = "l_int"; 5803 break; 5804 default: 5805 break; 5806 }; 5807 break; 5808 /* linux_inotify_init1 */ 5809 case 294: 5810 switch(ndx) { 5811 case 0: 5812 p = "l_int"; 5813 break; 5814 default: 5815 break; 5816 }; 5817 break; 5818 /* linux_preadv */ 5819 case 295: 5820 switch(ndx) { 5821 case 0: 5822 p = "l_ulong"; 5823 break; 5824 case 1: 5825 p = "userland struct iovec *"; 5826 break; 5827 case 2: 5828 p = "l_ulong"; 5829 break; 5830 case 3: 5831 p = "l_ulong"; 5832 break; 5833 case 4: 5834 p = "l_ulong"; 5835 break; 5836 default: 5837 break; 5838 }; 5839 break; 5840 /* linux_pwritev */ 5841 case 296: 5842 switch(ndx) { 5843 case 0: 5844 p = "l_ulong"; 5845 break; 5846 case 1: 5847 p = "userland struct iovec *"; 5848 break; 5849 case 2: 5850 p = "l_ulong"; 5851 break; 5852 case 3: 5853 p = "l_ulong"; 5854 break; 5855 case 4: 5856 p = "l_ulong"; 5857 break; 5858 default: 5859 break; 5860 }; 5861 break; 5862 /* linux_rt_tgsigqueueinfo */ 5863 case 297: 5864 switch(ndx) { 5865 case 0: 5866 p = "l_pid_t"; 5867 break; 5868 case 1: 5869 p = "l_pid_t"; 5870 break; 5871 case 2: 5872 p = "l_int"; 5873 break; 5874 case 3: 5875 p = "userland l_siginfo_t *"; 5876 break; 5877 default: 5878 break; 5879 }; 5880 break; 5881 /* linux_perf_event_open */ 5882 case 298: 5883 break; 5884 /* linux_recvmmsg */ 5885 case 299: 5886 switch(ndx) { 5887 case 0: 5888 p = "l_int"; 5889 break; 5890 case 1: 5891 p = "userland struct l_mmsghdr *"; 5892 break; 5893 case 2: 5894 p = "l_uint"; 5895 break; 5896 case 3: 5897 p = "l_uint"; 5898 break; 5899 case 4: 5900 p = "userland struct l_timespec *"; 5901 break; 5902 default: 5903 break; 5904 }; 5905 break; 5906 /* linux_fanotify_init */ 5907 case 300: 5908 break; 5909 /* linux_fanotify_mark */ 5910 case 301: 5911 break; 5912 /* linux_prlimit64 */ 5913 case 302: 5914 switch(ndx) { 5915 case 0: 5916 p = "l_pid_t"; 5917 break; 5918 case 1: 5919 p = "l_uint"; 5920 break; 5921 case 2: 5922 p = "userland struct rlimit *"; 5923 break; 5924 case 3: 5925 p = "userland struct rlimit *"; 5926 break; 5927 default: 5928 break; 5929 }; 5930 break; 5931 /* linux_name_to_handle_at */ 5932 case 303: 5933 break; 5934 /* linux_open_by_handle_at */ 5935 case 304: 5936 break; 5937 /* linux_clock_adjtime */ 5938 case 305: 5939 break; 5940 /* linux_syncfs */ 5941 case 306: 5942 switch(ndx) { 5943 case 0: 5944 p = "l_int"; 5945 break; 5946 default: 5947 break; 5948 }; 5949 break; 5950 /* linux_sendmmsg */ 5951 case 307: 5952 switch(ndx) { 5953 case 0: 5954 p = "l_int"; 5955 break; 5956 case 1: 5957 p = "userland struct l_mmsghdr *"; 5958 break; 5959 case 2: 5960 p = "l_uint"; 5961 break; 5962 case 3: 5963 p = "l_uint"; 5964 break; 5965 default: 5966 break; 5967 }; 5968 break; 5969 /* linux_setns */ 5970 case 308: 5971 switch(ndx) { 5972 case 0: 5973 p = "l_int"; 5974 break; 5975 case 1: 5976 p = "l_int"; 5977 break; 5978 default: 5979 break; 5980 }; 5981 break; 5982 /* linux_getcpu */ 5983 case 309: 5984 switch(ndx) { 5985 case 0: 5986 p = "userland l_uint *"; 5987 break; 5988 case 1: 5989 p = "userland l_uint *"; 5990 break; 5991 case 2: 5992 p = "userland void *"; 5993 break; 5994 default: 5995 break; 5996 }; 5997 break; 5998 /* linux_process_vm_readv */ 5999 case 310: 6000 switch(ndx) { 6001 case 0: 6002 p = "l_pid_t"; 6003 break; 6004 case 1: 6005 p = "userland const struct iovec *"; 6006 break; 6007 case 2: 6008 p = "l_ulong"; 6009 break; 6010 case 3: 6011 p = "userland const struct iovec *"; 6012 break; 6013 case 4: 6014 p = "l_ulong"; 6015 break; 6016 case 5: 6017 p = "l_ulong"; 6018 break; 6019 default: 6020 break; 6021 }; 6022 break; 6023 /* linux_process_vm_writev */ 6024 case 311: 6025 switch(ndx) { 6026 case 0: 6027 p = "l_pid_t"; 6028 break; 6029 case 1: 6030 p = "userland const struct iovec *"; 6031 break; 6032 case 2: 6033 p = "l_ulong"; 6034 break; 6035 case 3: 6036 p = "userland const struct iovec *"; 6037 break; 6038 case 4: 6039 p = "l_ulong"; 6040 break; 6041 case 5: 6042 p = "l_ulong"; 6043 break; 6044 default: 6045 break; 6046 }; 6047 break; 6048 /* linux_kcmp */ 6049 case 312: 6050 switch(ndx) { 6051 case 0: 6052 p = "l_pid_t"; 6053 break; 6054 case 1: 6055 p = "l_pid_t"; 6056 break; 6057 case 2: 6058 p = "l_int"; 6059 break; 6060 case 3: 6061 p = "l_ulong"; 6062 break; 6063 case 4: 6064 p = "l_ulong"; 6065 break; 6066 default: 6067 break; 6068 }; 6069 break; 6070 /* linux_finit_module */ 6071 case 313: 6072 switch(ndx) { 6073 case 0: 6074 p = "l_int"; 6075 break; 6076 case 1: 6077 p = "userland const char *"; 6078 break; 6079 case 2: 6080 p = "l_int"; 6081 break; 6082 default: 6083 break; 6084 }; 6085 break; 6086 /* linux_sched_setattr */ 6087 case 314: 6088 switch(ndx) { 6089 case 0: 6090 p = "l_pid_t"; 6091 break; 6092 case 1: 6093 p = "userland void *"; 6094 break; 6095 case 2: 6096 p = "l_uint"; 6097 break; 6098 default: 6099 break; 6100 }; 6101 break; 6102 /* linux_sched_getattr */ 6103 case 315: 6104 switch(ndx) { 6105 case 0: 6106 p = "l_pid_t"; 6107 break; 6108 case 1: 6109 p = "userland void *"; 6110 break; 6111 case 2: 6112 p = "l_uint"; 6113 break; 6114 case 3: 6115 p = "l_uint"; 6116 break; 6117 default: 6118 break; 6119 }; 6120 break; 6121 /* linux_renameat2 */ 6122 case 316: 6123 switch(ndx) { 6124 case 0: 6125 p = "l_int"; 6126 break; 6127 case 1: 6128 p = "userland const char *"; 6129 break; 6130 case 2: 6131 p = "l_int"; 6132 break; 6133 case 3: 6134 p = "userland const char *"; 6135 break; 6136 case 4: 6137 p = "unsigned int"; 6138 break; 6139 default: 6140 break; 6141 }; 6142 break; 6143 /* linux_seccomp */ 6144 case 317: 6145 switch(ndx) { 6146 case 0: 6147 p = "l_uint"; 6148 break; 6149 case 1: 6150 p = "l_uint"; 6151 break; 6152 case 2: 6153 p = "userland const char *"; 6154 break; 6155 default: 6156 break; 6157 }; 6158 break; 6159 /* linux_getrandom */ 6160 case 318: 6161 switch(ndx) { 6162 case 0: 6163 p = "userland char *"; 6164 break; 6165 case 1: 6166 p = "l_size_t"; 6167 break; 6168 case 2: 6169 p = "l_uint"; 6170 break; 6171 default: 6172 break; 6173 }; 6174 break; 6175 /* linux_memfd_create */ 6176 case 319: 6177 switch(ndx) { 6178 case 0: 6179 p = "userland const char *"; 6180 break; 6181 case 1: 6182 p = "l_uint"; 6183 break; 6184 default: 6185 break; 6186 }; 6187 break; 6188 /* linux_kexec_file_load */ 6189 case 320: 6190 switch(ndx) { 6191 case 0: 6192 p = "l_int"; 6193 break; 6194 case 1: 6195 p = "l_int"; 6196 break; 6197 case 2: 6198 p = "l_ulong"; 6199 break; 6200 case 3: 6201 p = "userland const char *"; 6202 break; 6203 case 4: 6204 p = "l_ulong"; 6205 break; 6206 default: 6207 break; 6208 }; 6209 break; 6210 /* linux_bpf */ 6211 case 321: 6212 switch(ndx) { 6213 case 0: 6214 p = "l_int"; 6215 break; 6216 case 1: 6217 p = "userland void *"; 6218 break; 6219 case 2: 6220 p = "l_uint"; 6221 break; 6222 default: 6223 break; 6224 }; 6225 break; 6226 /* linux_execveat */ 6227 case 322: 6228 switch(ndx) { 6229 case 0: 6230 p = "l_int"; 6231 break; 6232 case 1: 6233 p = "userland const char *"; 6234 break; 6235 case 2: 6236 p = "userland const char **"; 6237 break; 6238 case 3: 6239 p = "userland const char **"; 6240 break; 6241 case 4: 6242 p = "l_int"; 6243 break; 6244 default: 6245 break; 6246 }; 6247 break; 6248 /* linux_userfaultfd */ 6249 case 323: 6250 switch(ndx) { 6251 case 0: 6252 p = "l_int"; 6253 break; 6254 default: 6255 break; 6256 }; 6257 break; 6258 /* linux_membarrier */ 6259 case 324: 6260 switch(ndx) { 6261 case 0: 6262 p = "l_int"; 6263 break; 6264 case 1: 6265 p = "l_int"; 6266 break; 6267 default: 6268 break; 6269 }; 6270 break; 6271 /* linux_mlock2 */ 6272 case 325: 6273 switch(ndx) { 6274 case 0: 6275 p = "l_ulong"; 6276 break; 6277 case 1: 6278 p = "l_size_t"; 6279 break; 6280 case 2: 6281 p = "l_int"; 6282 break; 6283 default: 6284 break; 6285 }; 6286 break; 6287 /* linux_copy_file_range */ 6288 case 326: 6289 switch(ndx) { 6290 case 0: 6291 p = "l_int"; 6292 break; 6293 case 1: 6294 p = "userland l_loff_t *"; 6295 break; 6296 case 2: 6297 p = "l_int"; 6298 break; 6299 case 3: 6300 p = "userland l_loff_t *"; 6301 break; 6302 case 4: 6303 p = "l_size_t"; 6304 break; 6305 case 5: 6306 p = "l_uint"; 6307 break; 6308 default: 6309 break; 6310 }; 6311 break; 6312 /* linux_preadv2 */ 6313 case 327: 6314 switch(ndx) { 6315 case 0: 6316 p = "l_ulong"; 6317 break; 6318 case 1: 6319 p = "userland const struct iovec *"; 6320 break; 6321 case 2: 6322 p = "l_ulong"; 6323 break; 6324 case 3: 6325 p = "l_ulong"; 6326 break; 6327 case 4: 6328 p = "l_ulong"; 6329 break; 6330 case 5: 6331 p = "l_int"; 6332 break; 6333 default: 6334 break; 6335 }; 6336 break; 6337 /* linux_pwritev2 */ 6338 case 328: 6339 switch(ndx) { 6340 case 0: 6341 p = "l_ulong"; 6342 break; 6343 case 1: 6344 p = "userland const struct iovec *"; 6345 break; 6346 case 2: 6347 p = "l_ulong"; 6348 break; 6349 case 3: 6350 p = "l_ulong"; 6351 break; 6352 case 4: 6353 p = "l_ulong"; 6354 break; 6355 case 5: 6356 p = "l_int"; 6357 break; 6358 default: 6359 break; 6360 }; 6361 break; 6362 /* linux_pkey_mprotect */ 6363 case 329: 6364 switch(ndx) { 6365 case 0: 6366 p = "l_ulong"; 6367 break; 6368 case 1: 6369 p = "l_size_t"; 6370 break; 6371 case 2: 6372 p = "l_ulong"; 6373 break; 6374 case 3: 6375 p = "l_int"; 6376 break; 6377 default: 6378 break; 6379 }; 6380 break; 6381 /* linux_pkey_alloc */ 6382 case 330: 6383 switch(ndx) { 6384 case 0: 6385 p = "l_ulong"; 6386 break; 6387 case 1: 6388 p = "l_ulong"; 6389 break; 6390 default: 6391 break; 6392 }; 6393 break; 6394 /* linux_pkey_free */ 6395 case 331: 6396 switch(ndx) { 6397 case 0: 6398 p = "l_int"; 6399 break; 6400 default: 6401 break; 6402 }; 6403 break; 6404 default: 6405 break; 6406 }; 6407 if (p != NULL) 6408 strlcpy(desc, p, descsz); 6409 } 6410 static void 6411 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 6412 { 6413 const char *p = NULL; 6414 switch (sysnum) { 6415 #define nosys linux_nosys 6416 /* read */ 6417 case 0: 6418 if (ndx == 0 || ndx == 1) 6419 p = "int"; 6420 break; 6421 /* write */ 6422 case 1: 6423 if (ndx == 0 || ndx == 1) 6424 p = "int"; 6425 break; 6426 /* linux_open */ 6427 case 2: 6428 if (ndx == 0 || ndx == 1) 6429 p = "int"; 6430 break; 6431 /* close */ 6432 case 3: 6433 if (ndx == 0 || ndx == 1) 6434 p = "int"; 6435 break; 6436 /* linux_newstat */ 6437 case 4: 6438 if (ndx == 0 || ndx == 1) 6439 p = "int"; 6440 break; 6441 /* linux_newfstat */ 6442 case 5: 6443 if (ndx == 0 || ndx == 1) 6444 p = "int"; 6445 break; 6446 /* linux_newlstat */ 6447 case 6: 6448 if (ndx == 0 || ndx == 1) 6449 p = "int"; 6450 break; 6451 /* poll */ 6452 case 7: 6453 if (ndx == 0 || ndx == 1) 6454 p = "int"; 6455 break; 6456 /* linux_lseek */ 6457 case 8: 6458 if (ndx == 0 || ndx == 1) 6459 p = "int"; 6460 break; 6461 /* linux_mmap2 */ 6462 case 9: 6463 if (ndx == 0 || ndx == 1) 6464 p = "int"; 6465 break; 6466 /* linux_mprotect */ 6467 case 10: 6468 if (ndx == 0 || ndx == 1) 6469 p = "int"; 6470 break; 6471 /* munmap */ 6472 case 11: 6473 if (ndx == 0 || ndx == 1) 6474 p = "int"; 6475 break; 6476 /* linux_brk */ 6477 case 12: 6478 if (ndx == 0 || ndx == 1) 6479 p = "int"; 6480 break; 6481 /* linux_rt_sigaction */ 6482 case 13: 6483 if (ndx == 0 || ndx == 1) 6484 p = "int"; 6485 break; 6486 /* linux_rt_sigprocmask */ 6487 case 14: 6488 if (ndx == 0 || ndx == 1) 6489 p = "int"; 6490 break; 6491 /* linux_rt_sigreturn */ 6492 case 15: 6493 if (ndx == 0 || ndx == 1) 6494 p = "int"; 6495 break; 6496 /* linux_ioctl */ 6497 case 16: 6498 if (ndx == 0 || ndx == 1) 6499 p = "int"; 6500 break; 6501 /* linux_pread */ 6502 case 17: 6503 if (ndx == 0 || ndx == 1) 6504 p = "int"; 6505 break; 6506 /* linux_pwrite */ 6507 case 18: 6508 if (ndx == 0 || ndx == 1) 6509 p = "int"; 6510 break; 6511 /* readv */ 6512 case 19: 6513 if (ndx == 0 || ndx == 1) 6514 p = "int"; 6515 break; 6516 /* writev */ 6517 case 20: 6518 if (ndx == 0 || ndx == 1) 6519 p = "int"; 6520 break; 6521 /* linux_access */ 6522 case 21: 6523 if (ndx == 0 || ndx == 1) 6524 p = "int"; 6525 break; 6526 /* linux_pipe */ 6527 case 22: 6528 if (ndx == 0 || ndx == 1) 6529 p = "int"; 6530 break; 6531 /* linux_select */ 6532 case 23: 6533 if (ndx == 0 || ndx == 1) 6534 p = "int"; 6535 break; 6536 /* sched_yield */ 6537 case 24: 6538 /* linux_mremap */ 6539 case 25: 6540 if (ndx == 0 || ndx == 1) 6541 p = "int"; 6542 break; 6543 /* linux_msync */ 6544 case 26: 6545 if (ndx == 0 || ndx == 1) 6546 p = "int"; 6547 break; 6548 /* linux_mincore */ 6549 case 27: 6550 if (ndx == 0 || ndx == 1) 6551 p = "int"; 6552 break; 6553 /* madvise */ 6554 case 28: 6555 if (ndx == 0 || ndx == 1) 6556 p = "int"; 6557 break; 6558 /* linux_shmget */ 6559 case 29: 6560 if (ndx == 0 || ndx == 1) 6561 p = "int"; 6562 break; 6563 /* linux_shmat */ 6564 case 30: 6565 if (ndx == 0 || ndx == 1) 6566 p = "int"; 6567 break; 6568 /* linux_shmctl */ 6569 case 31: 6570 if (ndx == 0 || ndx == 1) 6571 p = "int"; 6572 break; 6573 /* dup */ 6574 case 32: 6575 if (ndx == 0 || ndx == 1) 6576 p = "int"; 6577 break; 6578 /* dup2 */ 6579 case 33: 6580 if (ndx == 0 || ndx == 1) 6581 p = "int"; 6582 break; 6583 /* linux_pause */ 6584 case 34: 6585 /* linux_nanosleep */ 6586 case 35: 6587 if (ndx == 0 || ndx == 1) 6588 p = "int"; 6589 break; 6590 /* linux_getitimer */ 6591 case 36: 6592 if (ndx == 0 || ndx == 1) 6593 p = "int"; 6594 break; 6595 /* linux_alarm */ 6596 case 37: 6597 if (ndx == 0 || ndx == 1) 6598 p = "int"; 6599 break; 6600 /* linux_setitimer */ 6601 case 38: 6602 if (ndx == 0 || ndx == 1) 6603 p = "int"; 6604 break; 6605 /* linux_getpid */ 6606 case 39: 6607 /* linux_sendfile */ 6608 case 40: 6609 if (ndx == 0 || ndx == 1) 6610 p = "int"; 6611 break; 6612 /* linux_socket */ 6613 case 41: 6614 if (ndx == 0 || ndx == 1) 6615 p = "int"; 6616 break; 6617 /* linux_connect */ 6618 case 42: 6619 if (ndx == 0 || ndx == 1) 6620 p = "int"; 6621 break; 6622 /* linux_accept */ 6623 case 43: 6624 if (ndx == 0 || ndx == 1) 6625 p = "int"; 6626 break; 6627 /* linux_sendto */ 6628 case 44: 6629 if (ndx == 0 || ndx == 1) 6630 p = "int"; 6631 break; 6632 /* linux_recvfrom */ 6633 case 45: 6634 if (ndx == 0 || ndx == 1) 6635 p = "int"; 6636 break; 6637 /* linux_sendmsg */ 6638 case 46: 6639 if (ndx == 0 || ndx == 1) 6640 p = "int"; 6641 break; 6642 /* linux_recvmsg */ 6643 case 47: 6644 if (ndx == 0 || ndx == 1) 6645 p = "int"; 6646 break; 6647 /* linux_shutdown */ 6648 case 48: 6649 if (ndx == 0 || ndx == 1) 6650 p = "int"; 6651 break; 6652 /* linux_bind */ 6653 case 49: 6654 if (ndx == 0 || ndx == 1) 6655 p = "int"; 6656 break; 6657 /* linux_listen */ 6658 case 50: 6659 if (ndx == 0 || ndx == 1) 6660 p = "int"; 6661 break; 6662 /* linux_getsockname */ 6663 case 51: 6664 if (ndx == 0 || ndx == 1) 6665 p = "int"; 6666 break; 6667 /* linux_getpeername */ 6668 case 52: 6669 if (ndx == 0 || ndx == 1) 6670 p = "int"; 6671 break; 6672 /* linux_socketpair */ 6673 case 53: 6674 if (ndx == 0 || ndx == 1) 6675 p = "int"; 6676 break; 6677 /* linux_setsockopt */ 6678 case 54: 6679 if (ndx == 0 || ndx == 1) 6680 p = "int"; 6681 break; 6682 /* linux_getsockopt */ 6683 case 55: 6684 if (ndx == 0 || ndx == 1) 6685 p = "int"; 6686 break; 6687 /* linux_clone */ 6688 case 56: 6689 if (ndx == 0 || ndx == 1) 6690 p = "int"; 6691 break; 6692 /* linux_fork */ 6693 case 57: 6694 /* linux_vfork */ 6695 case 58: 6696 /* linux_execve */ 6697 case 59: 6698 if (ndx == 0 || ndx == 1) 6699 p = "int"; 6700 break; 6701 /* linux_exit */ 6702 case 60: 6703 if (ndx == 0 || ndx == 1) 6704 p = "void"; 6705 break; 6706 /* linux_wait4 */ 6707 case 61: 6708 if (ndx == 0 || ndx == 1) 6709 p = "int"; 6710 break; 6711 /* linux_kill */ 6712 case 62: 6713 if (ndx == 0 || ndx == 1) 6714 p = "int"; 6715 break; 6716 /* linux_newuname */ 6717 case 63: 6718 if (ndx == 0 || ndx == 1) 6719 p = "int"; 6720 break; 6721 /* linux_semget */ 6722 case 64: 6723 if (ndx == 0 || ndx == 1) 6724 p = "int"; 6725 break; 6726 /* linux_semop */ 6727 case 65: 6728 if (ndx == 0 || ndx == 1) 6729 p = "int"; 6730 break; 6731 /* linux_semctl */ 6732 case 66: 6733 if (ndx == 0 || ndx == 1) 6734 p = "int"; 6735 break; 6736 /* linux_shmdt */ 6737 case 67: 6738 if (ndx == 0 || ndx == 1) 6739 p = "int"; 6740 break; 6741 /* linux_msgget */ 6742 case 68: 6743 if (ndx == 0 || ndx == 1) 6744 p = "int"; 6745 break; 6746 /* linux_msgsnd */ 6747 case 69: 6748 if (ndx == 0 || ndx == 1) 6749 p = "int"; 6750 break; 6751 /* linux_msgrcv */ 6752 case 70: 6753 if (ndx == 0 || ndx == 1) 6754 p = "int"; 6755 break; 6756 /* linux_msgctl */ 6757 case 71: 6758 if (ndx == 0 || ndx == 1) 6759 p = "int"; 6760 break; 6761 /* linux_fcntl */ 6762 case 72: 6763 if (ndx == 0 || ndx == 1) 6764 p = "int"; 6765 break; 6766 /* flock */ 6767 case 73: 6768 if (ndx == 0 || ndx == 1) 6769 p = "int"; 6770 break; 6771 /* fsync */ 6772 case 74: 6773 if (ndx == 0 || ndx == 1) 6774 p = "int"; 6775 break; 6776 /* linux_fdatasync */ 6777 case 75: 6778 if (ndx == 0 || ndx == 1) 6779 p = "int"; 6780 break; 6781 /* linux_truncate */ 6782 case 76: 6783 if (ndx == 0 || ndx == 1) 6784 p = "int"; 6785 break; 6786 /* linux_ftruncate */ 6787 case 77: 6788 if (ndx == 0 || ndx == 1) 6789 p = "int"; 6790 break; 6791 /* linux_getdents */ 6792 case 78: 6793 if (ndx == 0 || ndx == 1) 6794 p = "int"; 6795 break; 6796 /* linux_getcwd */ 6797 case 79: 6798 if (ndx == 0 || ndx == 1) 6799 p = "int"; 6800 break; 6801 /* linux_chdir */ 6802 case 80: 6803 if (ndx == 0 || ndx == 1) 6804 p = "int"; 6805 break; 6806 /* fchdir */ 6807 case 81: 6808 if (ndx == 0 || ndx == 1) 6809 p = "int"; 6810 break; 6811 /* linux_rename */ 6812 case 82: 6813 if (ndx == 0 || ndx == 1) 6814 p = "int"; 6815 break; 6816 /* linux_mkdir */ 6817 case 83: 6818 if (ndx == 0 || ndx == 1) 6819 p = "int"; 6820 break; 6821 /* linux_rmdir */ 6822 case 84: 6823 if (ndx == 0 || ndx == 1) 6824 p = "int"; 6825 break; 6826 /* linux_creat */ 6827 case 85: 6828 if (ndx == 0 || ndx == 1) 6829 p = "int"; 6830 break; 6831 /* linux_link */ 6832 case 86: 6833 if (ndx == 0 || ndx == 1) 6834 p = "int"; 6835 break; 6836 /* linux_unlink */ 6837 case 87: 6838 if (ndx == 0 || ndx == 1) 6839 p = "int"; 6840 break; 6841 /* linux_symlink */ 6842 case 88: 6843 if (ndx == 0 || ndx == 1) 6844 p = "int"; 6845 break; 6846 /* linux_readlink */ 6847 case 89: 6848 if (ndx == 0 || ndx == 1) 6849 p = "int"; 6850 break; 6851 /* linux_chmod */ 6852 case 90: 6853 if (ndx == 0 || ndx == 1) 6854 p = "int"; 6855 break; 6856 /* fchmod */ 6857 case 91: 6858 if (ndx == 0 || ndx == 1) 6859 p = "int"; 6860 break; 6861 /* linux_chown */ 6862 case 92: 6863 if (ndx == 0 || ndx == 1) 6864 p = "int"; 6865 break; 6866 /* fchown */ 6867 case 93: 6868 if (ndx == 0 || ndx == 1) 6869 p = "int"; 6870 break; 6871 /* linux_lchown */ 6872 case 94: 6873 if (ndx == 0 || ndx == 1) 6874 p = "int"; 6875 break; 6876 /* umask */ 6877 case 95: 6878 if (ndx == 0 || ndx == 1) 6879 p = "int"; 6880 break; 6881 /* gettimeofday */ 6882 case 96: 6883 if (ndx == 0 || ndx == 1) 6884 p = "int"; 6885 break; 6886 /* linux_getrlimit */ 6887 case 97: 6888 if (ndx == 0 || ndx == 1) 6889 p = "int"; 6890 break; 6891 /* getrusage */ 6892 case 98: 6893 if (ndx == 0 || ndx == 1) 6894 p = "int"; 6895 break; 6896 /* linux_sysinfo */ 6897 case 99: 6898 if (ndx == 0 || ndx == 1) 6899 p = "int"; 6900 break; 6901 /* linux_times */ 6902 case 100: 6903 if (ndx == 0 || ndx == 1) 6904 p = "int"; 6905 break; 6906 /* linux_ptrace */ 6907 case 101: 6908 if (ndx == 0 || ndx == 1) 6909 p = "int"; 6910 break; 6911 /* linux_getuid */ 6912 case 102: 6913 /* linux_syslog */ 6914 case 103: 6915 if (ndx == 0 || ndx == 1) 6916 p = "int"; 6917 break; 6918 /* linux_getgid */ 6919 case 104: 6920 /* setuid */ 6921 case 105: 6922 if (ndx == 0 || ndx == 1) 6923 p = "int"; 6924 break; 6925 /* setgid */ 6926 case 106: 6927 if (ndx == 0 || ndx == 1) 6928 p = "int"; 6929 break; 6930 /* geteuid */ 6931 case 107: 6932 /* getegid */ 6933 case 108: 6934 /* setpgid */ 6935 case 109: 6936 if (ndx == 0 || ndx == 1) 6937 p = "int"; 6938 break; 6939 /* linux_getppid */ 6940 case 110: 6941 /* getpgrp */ 6942 case 111: 6943 /* setsid */ 6944 case 112: 6945 /* setreuid */ 6946 case 113: 6947 if (ndx == 0 || ndx == 1) 6948 p = "int"; 6949 break; 6950 /* setregid */ 6951 case 114: 6952 if (ndx == 0 || ndx == 1) 6953 p = "int"; 6954 break; 6955 /* linux_getgroups */ 6956 case 115: 6957 if (ndx == 0 || ndx == 1) 6958 p = "int"; 6959 break; 6960 /* linux_setgroups */ 6961 case 116: 6962 if (ndx == 0 || ndx == 1) 6963 p = "int"; 6964 break; 6965 /* setresuid */ 6966 case 117: 6967 if (ndx == 0 || ndx == 1) 6968 p = "int"; 6969 break; 6970 /* getresuid */ 6971 case 118: 6972 if (ndx == 0 || ndx == 1) 6973 p = "int"; 6974 break; 6975 /* setresgid */ 6976 case 119: 6977 if (ndx == 0 || ndx == 1) 6978 p = "int"; 6979 break; 6980 /* getresgid */ 6981 case 120: 6982 if (ndx == 0 || ndx == 1) 6983 p = "int"; 6984 break; 6985 /* getpgid */ 6986 case 121: 6987 if (ndx == 0 || ndx == 1) 6988 p = "int"; 6989 break; 6990 /* linux_setfsuid */ 6991 case 122: 6992 if (ndx == 0 || ndx == 1) 6993 p = "int"; 6994 break; 6995 /* linux_setfsgid */ 6996 case 123: 6997 if (ndx == 0 || ndx == 1) 6998 p = "int"; 6999 break; 7000 /* linux_getsid */ 7001 case 124: 7002 if (ndx == 0 || ndx == 1) 7003 p = "int"; 7004 break; 7005 /* linux_capget */ 7006 case 125: 7007 if (ndx == 0 || ndx == 1) 7008 p = "int"; 7009 break; 7010 /* linux_capset */ 7011 case 126: 7012 if (ndx == 0 || ndx == 1) 7013 p = "int"; 7014 break; 7015 /* linux_rt_sigpending */ 7016 case 127: 7017 if (ndx == 0 || ndx == 1) 7018 p = "int"; 7019 break; 7020 /* linux_rt_sigtimedwait */ 7021 case 128: 7022 if (ndx == 0 || ndx == 1) 7023 p = "int"; 7024 break; 7025 /* linux_rt_sigqueueinfo */ 7026 case 129: 7027 if (ndx == 0 || ndx == 1) 7028 p = "int"; 7029 break; 7030 /* linux_rt_sigsuspend */ 7031 case 130: 7032 if (ndx == 0 || ndx == 1) 7033 p = "int"; 7034 break; 7035 /* linux_sigaltstack */ 7036 case 131: 7037 if (ndx == 0 || ndx == 1) 7038 p = "int"; 7039 break; 7040 /* linux_utime */ 7041 case 132: 7042 if (ndx == 0 || ndx == 1) 7043 p = "int"; 7044 break; 7045 /* linux_mknod */ 7046 case 133: 7047 if (ndx == 0 || ndx == 1) 7048 p = "int"; 7049 break; 7050 /* linux_personality */ 7051 case 135: 7052 if (ndx == 0 || ndx == 1) 7053 p = "int"; 7054 break; 7055 /* linux_ustat */ 7056 case 136: 7057 if (ndx == 0 || ndx == 1) 7058 p = "int"; 7059 break; 7060 /* linux_statfs */ 7061 case 137: 7062 if (ndx == 0 || ndx == 1) 7063 p = "int"; 7064 break; 7065 /* linux_fstatfs */ 7066 case 138: 7067 if (ndx == 0 || ndx == 1) 7068 p = "int"; 7069 break; 7070 /* linux_sysfs */ 7071 case 139: 7072 if (ndx == 0 || ndx == 1) 7073 p = "int"; 7074 break; 7075 /* linux_getpriority */ 7076 case 140: 7077 if (ndx == 0 || ndx == 1) 7078 p = "int"; 7079 break; 7080 /* setpriority */ 7081 case 141: 7082 if (ndx == 0 || ndx == 1) 7083 p = "int"; 7084 break; 7085 /* linux_sched_setparam */ 7086 case 142: 7087 if (ndx == 0 || ndx == 1) 7088 p = "int"; 7089 break; 7090 /* linux_sched_getparam */ 7091 case 143: 7092 if (ndx == 0 || ndx == 1) 7093 p = "int"; 7094 break; 7095 /* linux_sched_setscheduler */ 7096 case 144: 7097 if (ndx == 0 || ndx == 1) 7098 p = "int"; 7099 break; 7100 /* linux_sched_getscheduler */ 7101 case 145: 7102 if (ndx == 0 || ndx == 1) 7103 p = "int"; 7104 break; 7105 /* linux_sched_get_priority_max */ 7106 case 146: 7107 if (ndx == 0 || ndx == 1) 7108 p = "int"; 7109 break; 7110 /* linux_sched_get_priority_min */ 7111 case 147: 7112 if (ndx == 0 || ndx == 1) 7113 p = "int"; 7114 break; 7115 /* linux_sched_rr_get_interval */ 7116 case 148: 7117 if (ndx == 0 || ndx == 1) 7118 p = "int"; 7119 break; 7120 /* mlock */ 7121 case 149: 7122 if (ndx == 0 || ndx == 1) 7123 p = "int"; 7124 break; 7125 /* munlock */ 7126 case 150: 7127 if (ndx == 0 || ndx == 1) 7128 p = "int"; 7129 break; 7130 /* mlockall */ 7131 case 151: 7132 if (ndx == 0 || ndx == 1) 7133 p = "int"; 7134 break; 7135 /* munlockall */ 7136 case 152: 7137 /* linux_vhangup */ 7138 case 153: 7139 /* linux_pivot_root */ 7140 case 155: 7141 /* linux_sysctl */ 7142 case 156: 7143 if (ndx == 0 || ndx == 1) 7144 p = "int"; 7145 break; 7146 /* linux_prctl */ 7147 case 157: 7148 if (ndx == 0 || ndx == 1) 7149 p = "int"; 7150 break; 7151 /* linux_arch_prctl */ 7152 case 158: 7153 if (ndx == 0 || ndx == 1) 7154 p = "int"; 7155 break; 7156 /* linux_adjtimex */ 7157 case 159: 7158 /* linux_setrlimit */ 7159 case 160: 7160 if (ndx == 0 || ndx == 1) 7161 p = "int"; 7162 break; 7163 /* chroot */ 7164 case 161: 7165 if (ndx == 0 || ndx == 1) 7166 p = "int"; 7167 break; 7168 /* sync */ 7169 case 162: 7170 /* acct */ 7171 case 163: 7172 if (ndx == 0 || ndx == 1) 7173 p = "int"; 7174 break; 7175 /* settimeofday */ 7176 case 164: 7177 if (ndx == 0 || ndx == 1) 7178 p = "int"; 7179 break; 7180 /* linux_mount */ 7181 case 165: 7182 if (ndx == 0 || ndx == 1) 7183 p = "int"; 7184 break; 7185 /* linux_umount */ 7186 case 166: 7187 if (ndx == 0 || ndx == 1) 7188 p = "int"; 7189 break; 7190 /* swapon */ 7191 case 167: 7192 if (ndx == 0 || ndx == 1) 7193 p = "int"; 7194 break; 7195 /* linux_swapoff */ 7196 case 168: 7197 /* linux_reboot */ 7198 case 169: 7199 if (ndx == 0 || ndx == 1) 7200 p = "int"; 7201 break; 7202 /* linux_sethostname */ 7203 case 170: 7204 if (ndx == 0 || ndx == 1) 7205 p = "int"; 7206 break; 7207 /* linux_setdomainname */ 7208 case 171: 7209 if (ndx == 0 || ndx == 1) 7210 p = "int"; 7211 break; 7212 /* linux_iopl */ 7213 case 172: 7214 if (ndx == 0 || ndx == 1) 7215 p = "int"; 7216 break; 7217 /* linux_create_module */ 7218 case 174: 7219 /* linux_init_module */ 7220 case 175: 7221 /* linux_delete_module */ 7222 case 176: 7223 /* linux_get_kernel_syms */ 7224 case 177: 7225 /* linux_query_module */ 7226 case 178: 7227 /* linux_quotactl */ 7228 case 179: 7229 /* linux_nfsservctl */ 7230 case 180: 7231 /* linux_getpmsg */ 7232 case 181: 7233 /* linux_putpmsg */ 7234 case 182: 7235 /* linux_afs_syscall */ 7236 case 183: 7237 /* linux_tuxcall */ 7238 case 184: 7239 /* linux_security */ 7240 case 185: 7241 /* linux_gettid */ 7242 case 186: 7243 /* linux_setxattr */ 7244 case 188: 7245 /* linux_lsetxattr */ 7246 case 189: 7247 /* linux_fsetxattr */ 7248 case 190: 7249 /* linux_getxattr */ 7250 case 191: 7251 /* linux_lgetxattr */ 7252 case 192: 7253 /* linux_fgetxattr */ 7254 case 193: 7255 /* linux_listxattr */ 7256 case 194: 7257 /* linux_llistxattr */ 7258 case 195: 7259 /* linux_flistxattr */ 7260 case 196: 7261 /* linux_removexattr */ 7262 case 197: 7263 /* linux_lremovexattr */ 7264 case 198: 7265 /* linux_fremovexattr */ 7266 case 199: 7267 /* linux_tkill */ 7268 case 200: 7269 if (ndx == 0 || ndx == 1) 7270 p = "int"; 7271 break; 7272 /* linux_time */ 7273 case 201: 7274 if (ndx == 0 || ndx == 1) 7275 p = "int"; 7276 break; 7277 /* linux_sys_futex */ 7278 case 202: 7279 if (ndx == 0 || ndx == 1) 7280 p = "int"; 7281 break; 7282 /* linux_sched_setaffinity */ 7283 case 203: 7284 if (ndx == 0 || ndx == 1) 7285 p = "int"; 7286 break; 7287 /* linux_sched_getaffinity */ 7288 case 204: 7289 if (ndx == 0 || ndx == 1) 7290 p = "int"; 7291 break; 7292 /* linux_set_thread_area */ 7293 case 205: 7294 /* linux_lookup_dcookie */ 7295 case 212: 7296 /* linux_epoll_create */ 7297 case 213: 7298 if (ndx == 0 || ndx == 1) 7299 p = "int"; 7300 break; 7301 /* linux_epoll_ctl_old */ 7302 case 214: 7303 /* linux_epoll_wait_old */ 7304 case 215: 7305 /* linux_remap_file_pages */ 7306 case 216: 7307 /* linux_getdents64 */ 7308 case 217: 7309 if (ndx == 0 || ndx == 1) 7310 p = "int"; 7311 break; 7312 /* linux_set_tid_address */ 7313 case 218: 7314 if (ndx == 0 || ndx == 1) 7315 p = "int"; 7316 break; 7317 /* linux_semtimedop */ 7318 case 220: 7319 /* linux_fadvise64 */ 7320 case 221: 7321 if (ndx == 0 || ndx == 1) 7322 p = "int"; 7323 break; 7324 /* linux_timer_create */ 7325 case 222: 7326 if (ndx == 0 || ndx == 1) 7327 p = "int"; 7328 break; 7329 /* linux_timer_settime */ 7330 case 223: 7331 if (ndx == 0 || ndx == 1) 7332 p = "int"; 7333 break; 7334 /* linux_timer_gettime */ 7335 case 224: 7336 if (ndx == 0 || ndx == 1) 7337 p = "int"; 7338 break; 7339 /* linux_timer_getoverrun */ 7340 case 225: 7341 if (ndx == 0 || ndx == 1) 7342 p = "int"; 7343 break; 7344 /* linux_timer_delete */ 7345 case 226: 7346 if (ndx == 0 || ndx == 1) 7347 p = "int"; 7348 break; 7349 /* linux_clock_settime */ 7350 case 227: 7351 if (ndx == 0 || ndx == 1) 7352 p = "int"; 7353 break; 7354 /* linux_clock_gettime */ 7355 case 228: 7356 if (ndx == 0 || ndx == 1) 7357 p = "int"; 7358 break; 7359 /* linux_clock_getres */ 7360 case 229: 7361 if (ndx == 0 || ndx == 1) 7362 p = "int"; 7363 break; 7364 /* linux_clock_nanosleep */ 7365 case 230: 7366 if (ndx == 0 || ndx == 1) 7367 p = "int"; 7368 break; 7369 /* linux_exit_group */ 7370 case 231: 7371 if (ndx == 0 || ndx == 1) 7372 p = "int"; 7373 break; 7374 /* linux_epoll_wait */ 7375 case 232: 7376 if (ndx == 0 || ndx == 1) 7377 p = "int"; 7378 break; 7379 /* linux_epoll_ctl */ 7380 case 233: 7381 if (ndx == 0 || ndx == 1) 7382 p = "int"; 7383 break; 7384 /* linux_tgkill */ 7385 case 234: 7386 if (ndx == 0 || ndx == 1) 7387 p = "int"; 7388 break; 7389 /* linux_utimes */ 7390 case 235: 7391 if (ndx == 0 || ndx == 1) 7392 p = "int"; 7393 break; 7394 /* linux_mbind */ 7395 case 237: 7396 /* linux_set_mempolicy */ 7397 case 238: 7398 /* linux_get_mempolicy */ 7399 case 239: 7400 /* linux_mq_open */ 7401 case 240: 7402 /* linux_mq_unlink */ 7403 case 241: 7404 /* linux_mq_timedsend */ 7405 case 242: 7406 /* linux_mq_timedreceive */ 7407 case 243: 7408 /* linux_mq_notify */ 7409 case 244: 7410 /* linux_mq_getsetattr */ 7411 case 245: 7412 /* linux_kexec_load */ 7413 case 246: 7414 /* linux_waitid */ 7415 case 247: 7416 if (ndx == 0 || ndx == 1) 7417 p = "int"; 7418 break; 7419 /* linux_add_key */ 7420 case 248: 7421 /* linux_request_key */ 7422 case 249: 7423 /* linux_keyctl */ 7424 case 250: 7425 /* linux_ioprio_set */ 7426 case 251: 7427 /* linux_ioprio_get */ 7428 case 252: 7429 /* linux_inotify_init */ 7430 case 253: 7431 /* linux_inotify_add_watch */ 7432 case 254: 7433 /* linux_inotify_rm_watch */ 7434 case 255: 7435 /* linux_migrate_pages */ 7436 case 256: 7437 /* linux_openat */ 7438 case 257: 7439 if (ndx == 0 || ndx == 1) 7440 p = "int"; 7441 break; 7442 /* linux_mkdirat */ 7443 case 258: 7444 if (ndx == 0 || ndx == 1) 7445 p = "int"; 7446 break; 7447 /* linux_mknodat */ 7448 case 259: 7449 if (ndx == 0 || ndx == 1) 7450 p = "int"; 7451 break; 7452 /* linux_fchownat */ 7453 case 260: 7454 if (ndx == 0 || ndx == 1) 7455 p = "int"; 7456 break; 7457 /* linux_futimesat */ 7458 case 261: 7459 if (ndx == 0 || ndx == 1) 7460 p = "int"; 7461 break; 7462 /* linux_newfstatat */ 7463 case 262: 7464 if (ndx == 0 || ndx == 1) 7465 p = "int"; 7466 break; 7467 /* linux_unlinkat */ 7468 case 263: 7469 if (ndx == 0 || ndx == 1) 7470 p = "int"; 7471 break; 7472 /* linux_renameat */ 7473 case 264: 7474 if (ndx == 0 || ndx == 1) 7475 p = "int"; 7476 break; 7477 /* linux_linkat */ 7478 case 265: 7479 if (ndx == 0 || ndx == 1) 7480 p = "int"; 7481 break; 7482 /* linux_symlinkat */ 7483 case 266: 7484 if (ndx == 0 || ndx == 1) 7485 p = "int"; 7486 break; 7487 /* linux_readlinkat */ 7488 case 267: 7489 if (ndx == 0 || ndx == 1) 7490 p = "int"; 7491 break; 7492 /* linux_fchmodat */ 7493 case 268: 7494 if (ndx == 0 || ndx == 1) 7495 p = "int"; 7496 break; 7497 /* linux_faccessat */ 7498 case 269: 7499 if (ndx == 0 || ndx == 1) 7500 p = "int"; 7501 break; 7502 /* linux_pselect6 */ 7503 case 270: 7504 if (ndx == 0 || ndx == 1) 7505 p = "int"; 7506 break; 7507 /* linux_ppoll */ 7508 case 271: 7509 if (ndx == 0 || ndx == 1) 7510 p = "int"; 7511 break; 7512 /* linux_unshare */ 7513 case 272: 7514 /* linux_set_robust_list */ 7515 case 273: 7516 if (ndx == 0 || ndx == 1) 7517 p = "int"; 7518 break; 7519 /* linux_get_robust_list */ 7520 case 274: 7521 if (ndx == 0 || ndx == 1) 7522 p = "int"; 7523 break; 7524 /* linux_splice */ 7525 case 275: 7526 /* linux_tee */ 7527 case 276: 7528 /* linux_sync_file_range */ 7529 case 277: 7530 /* linux_vmsplice */ 7531 case 278: 7532 /* linux_move_pages */ 7533 case 279: 7534 /* linux_utimensat */ 7535 case 280: 7536 if (ndx == 0 || ndx == 1) 7537 p = "int"; 7538 break; 7539 /* linux_epoll_pwait */ 7540 case 281: 7541 if (ndx == 0 || ndx == 1) 7542 p = "int"; 7543 break; 7544 /* linux_signalfd */ 7545 case 282: 7546 /* linux_timerfd_create */ 7547 case 283: 7548 if (ndx == 0 || ndx == 1) 7549 p = "int"; 7550 break; 7551 /* linux_eventfd */ 7552 case 284: 7553 if (ndx == 0 || ndx == 1) 7554 p = "int"; 7555 break; 7556 /* linux_fallocate */ 7557 case 285: 7558 if (ndx == 0 || ndx == 1) 7559 p = "int"; 7560 break; 7561 /* linux_timerfd_settime */ 7562 case 286: 7563 if (ndx == 0 || ndx == 1) 7564 p = "int"; 7565 break; 7566 /* linux_timerfd_gettime */ 7567 case 287: 7568 if (ndx == 0 || ndx == 1) 7569 p = "int"; 7570 break; 7571 /* linux_accept4 */ 7572 case 288: 7573 if (ndx == 0 || ndx == 1) 7574 p = "int"; 7575 break; 7576 /* linux_signalfd4 */ 7577 case 289: 7578 /* linux_eventfd2 */ 7579 case 290: 7580 if (ndx == 0 || ndx == 1) 7581 p = "int"; 7582 break; 7583 /* linux_epoll_create1 */ 7584 case 291: 7585 if (ndx == 0 || ndx == 1) 7586 p = "int"; 7587 break; 7588 /* linux_dup3 */ 7589 case 292: 7590 if (ndx == 0 || ndx == 1) 7591 p = "int"; 7592 break; 7593 /* linux_pipe2 */ 7594 case 293: 7595 if (ndx == 0 || ndx == 1) 7596 p = "int"; 7597 break; 7598 /* linux_inotify_init1 */ 7599 case 294: 7600 if (ndx == 0 || ndx == 1) 7601 p = "int"; 7602 break; 7603 /* linux_preadv */ 7604 case 295: 7605 if (ndx == 0 || ndx == 1) 7606 p = "int"; 7607 break; 7608 /* linux_pwritev */ 7609 case 296: 7610 if (ndx == 0 || ndx == 1) 7611 p = "int"; 7612 break; 7613 /* linux_rt_tgsigqueueinfo */ 7614 case 297: 7615 if (ndx == 0 || ndx == 1) 7616 p = "int"; 7617 break; 7618 /* linux_perf_event_open */ 7619 case 298: 7620 /* linux_recvmmsg */ 7621 case 299: 7622 if (ndx == 0 || ndx == 1) 7623 p = "int"; 7624 break; 7625 /* linux_fanotify_init */ 7626 case 300: 7627 /* linux_fanotify_mark */ 7628 case 301: 7629 /* linux_prlimit64 */ 7630 case 302: 7631 if (ndx == 0 || ndx == 1) 7632 p = "int"; 7633 break; 7634 /* linux_name_to_handle_at */ 7635 case 303: 7636 /* linux_open_by_handle_at */ 7637 case 304: 7638 /* linux_clock_adjtime */ 7639 case 305: 7640 /* linux_syncfs */ 7641 case 306: 7642 if (ndx == 0 || ndx == 1) 7643 p = "int"; 7644 break; 7645 /* linux_sendmmsg */ 7646 case 307: 7647 if (ndx == 0 || ndx == 1) 7648 p = "int"; 7649 break; 7650 /* linux_setns */ 7651 case 308: 7652 if (ndx == 0 || ndx == 1) 7653 p = "int"; 7654 break; 7655 /* linux_getcpu */ 7656 case 309: 7657 if (ndx == 0 || ndx == 1) 7658 p = "int"; 7659 break; 7660 /* linux_process_vm_readv */ 7661 case 310: 7662 if (ndx == 0 || ndx == 1) 7663 p = "int"; 7664 break; 7665 /* linux_process_vm_writev */ 7666 case 311: 7667 if (ndx == 0 || ndx == 1) 7668 p = "int"; 7669 break; 7670 /* linux_kcmp */ 7671 case 312: 7672 if (ndx == 0 || ndx == 1) 7673 p = "int"; 7674 break; 7675 /* linux_finit_module */ 7676 case 313: 7677 if (ndx == 0 || ndx == 1) 7678 p = "int"; 7679 break; 7680 /* linux_sched_setattr */ 7681 case 314: 7682 if (ndx == 0 || ndx == 1) 7683 p = "int"; 7684 break; 7685 /* linux_sched_getattr */ 7686 case 315: 7687 if (ndx == 0 || ndx == 1) 7688 p = "int"; 7689 break; 7690 /* linux_renameat2 */ 7691 case 316: 7692 if (ndx == 0 || ndx == 1) 7693 p = "int"; 7694 break; 7695 /* linux_seccomp */ 7696 case 317: 7697 if (ndx == 0 || ndx == 1) 7698 p = "int"; 7699 break; 7700 /* linux_getrandom */ 7701 case 318: 7702 if (ndx == 0 || ndx == 1) 7703 p = "int"; 7704 break; 7705 /* linux_memfd_create */ 7706 case 319: 7707 if (ndx == 0 || ndx == 1) 7708 p = "int"; 7709 break; 7710 /* linux_kexec_file_load */ 7711 case 320: 7712 if (ndx == 0 || ndx == 1) 7713 p = "int"; 7714 break; 7715 /* linux_bpf */ 7716 case 321: 7717 if (ndx == 0 || ndx == 1) 7718 p = "int"; 7719 break; 7720 /* linux_execveat */ 7721 case 322: 7722 if (ndx == 0 || ndx == 1) 7723 p = "int"; 7724 break; 7725 /* linux_userfaultfd */ 7726 case 323: 7727 if (ndx == 0 || ndx == 1) 7728 p = "int"; 7729 break; 7730 /* linux_membarrier */ 7731 case 324: 7732 if (ndx == 0 || ndx == 1) 7733 p = "int"; 7734 break; 7735 /* linux_mlock2 */ 7736 case 325: 7737 if (ndx == 0 || ndx == 1) 7738 p = "int"; 7739 break; 7740 /* linux_copy_file_range */ 7741 case 326: 7742 if (ndx == 0 || ndx == 1) 7743 p = "int"; 7744 break; 7745 /* linux_preadv2 */ 7746 case 327: 7747 if (ndx == 0 || ndx == 1) 7748 p = "int"; 7749 break; 7750 /* linux_pwritev2 */ 7751 case 328: 7752 if (ndx == 0 || ndx == 1) 7753 p = "int"; 7754 break; 7755 /* linux_pkey_mprotect */ 7756 case 329: 7757 if (ndx == 0 || ndx == 1) 7758 p = "int"; 7759 break; 7760 /* linux_pkey_alloc */ 7761 case 330: 7762 if (ndx == 0 || ndx == 1) 7763 p = "int"; 7764 break; 7765 /* linux_pkey_free */ 7766 case 331: 7767 if (ndx == 0 || ndx == 1) 7768 p = "int"; 7769 break; 7770 default: 7771 break; 7772 }; 7773 if (p != NULL) 7774 strlcpy(desc, p, descsz); 7775 } 7776