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_long */ 878 iarg[3] = p->data; /* l_long */ 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_ulong */ 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 l_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 l_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 l_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 *n_args = 5; 2072 break; 2073 } 2074 /* linux_signalfd */ 2075 case 282: { 2076 *n_args = 0; 2077 break; 2078 } 2079 /* linux_timerfd */ 2080 case 283: { 2081 *n_args = 0; 2082 break; 2083 } 2084 /* linux_eventfd */ 2085 case 284: { 2086 struct linux_eventfd_args *p = params; 2087 iarg[0] = p->initval; /* l_uint */ 2088 *n_args = 1; 2089 break; 2090 } 2091 /* linux_fallocate */ 2092 case 285: { 2093 struct linux_fallocate_args *p = params; 2094 iarg[0] = p->fd; /* l_int */ 2095 iarg[1] = p->mode; /* l_int */ 2096 iarg[2] = p->offset; /* l_loff_t */ 2097 iarg[3] = p->len; /* l_loff_t */ 2098 *n_args = 4; 2099 break; 2100 } 2101 /* linux_timerfd_settime */ 2102 case 286: { 2103 *n_args = 0; 2104 break; 2105 } 2106 /* linux_timerfd_gettime */ 2107 case 287: { 2108 *n_args = 0; 2109 break; 2110 } 2111 /* linux_accept4 */ 2112 case 288: { 2113 struct linux_accept4_args *p = params; 2114 iarg[0] = p->s; /* l_int */ 2115 iarg[1] = p->addr; /* l_uintptr_t */ 2116 iarg[2] = p->namelen; /* l_uintptr_t */ 2117 iarg[3] = p->flags; /* int */ 2118 *n_args = 4; 2119 break; 2120 } 2121 /* linux_signalfd4 */ 2122 case 289: { 2123 *n_args = 0; 2124 break; 2125 } 2126 /* linux_eventfd2 */ 2127 case 290: { 2128 struct linux_eventfd2_args *p = params; 2129 iarg[0] = p->initval; /* l_uint */ 2130 iarg[1] = p->flags; /* l_int */ 2131 *n_args = 2; 2132 break; 2133 } 2134 /* linux_epoll_create1 */ 2135 case 291: { 2136 struct linux_epoll_create1_args *p = params; 2137 iarg[0] = p->flags; /* l_int */ 2138 *n_args = 1; 2139 break; 2140 } 2141 /* linux_dup3 */ 2142 case 292: { 2143 struct linux_dup3_args *p = params; 2144 iarg[0] = p->oldfd; /* l_int */ 2145 iarg[1] = p->newfd; /* l_int */ 2146 iarg[2] = p->flags; /* l_int */ 2147 *n_args = 3; 2148 break; 2149 } 2150 /* linux_pipe2 */ 2151 case 293: { 2152 struct linux_pipe2_args *p = params; 2153 uarg[0] = (intptr_t) p->pipefds; /* l_int * */ 2154 iarg[1] = p->flags; /* l_int */ 2155 *n_args = 2; 2156 break; 2157 } 2158 /* linux_inotify_init1 */ 2159 case 294: { 2160 *n_args = 0; 2161 break; 2162 } 2163 /* linux_preadv */ 2164 case 295: { 2165 *n_args = 0; 2166 break; 2167 } 2168 /* linux_pwritev */ 2169 case 296: { 2170 *n_args = 0; 2171 break; 2172 } 2173 /* linux_rt_tsigqueueinfo */ 2174 case 297: { 2175 *n_args = 0; 2176 break; 2177 } 2178 /* linux_perf_event_open */ 2179 case 298: { 2180 *n_args = 0; 2181 break; 2182 } 2183 /* linux_recvmmsg */ 2184 case 299: { 2185 struct linux_recvmmsg_args *p = params; 2186 iarg[0] = p->s; /* l_int */ 2187 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2188 iarg[2] = p->vlen; /* l_uint */ 2189 iarg[3] = p->flags; /* l_uint */ 2190 uarg[4] = (intptr_t) p->timeout; /* struct l_timespec * */ 2191 *n_args = 5; 2192 break; 2193 } 2194 /* linux_fanotify_init */ 2195 case 300: { 2196 *n_args = 0; 2197 break; 2198 } 2199 /* linux_fanotify_mark */ 2200 case 301: { 2201 *n_args = 0; 2202 break; 2203 } 2204 /* linux_prlimit64 */ 2205 case 302: { 2206 struct linux_prlimit64_args *p = params; 2207 iarg[0] = p->pid; /* l_pid_t */ 2208 iarg[1] = p->resource; /* l_uint */ 2209 uarg[2] = (intptr_t) p->new; /* struct rlimit * */ 2210 uarg[3] = (intptr_t) p->old; /* struct rlimit * */ 2211 *n_args = 4; 2212 break; 2213 } 2214 /* linux_name_to_handle_at */ 2215 case 303: { 2216 *n_args = 0; 2217 break; 2218 } 2219 /* linux_open_by_handle_at */ 2220 case 304: { 2221 *n_args = 0; 2222 break; 2223 } 2224 /* linux_clock_adjtime */ 2225 case 305: { 2226 *n_args = 0; 2227 break; 2228 } 2229 /* linux_syncfs */ 2230 case 306: { 2231 struct linux_syncfs_args *p = params; 2232 iarg[0] = p->fd; /* l_int */ 2233 *n_args = 1; 2234 break; 2235 } 2236 /* linux_sendmmsg */ 2237 case 307: { 2238 struct linux_sendmmsg_args *p = params; 2239 iarg[0] = p->s; /* l_int */ 2240 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2241 iarg[2] = p->vlen; /* l_uint */ 2242 iarg[3] = p->flags; /* l_uint */ 2243 *n_args = 4; 2244 break; 2245 } 2246 /* linux_setns */ 2247 case 308: { 2248 *n_args = 0; 2249 break; 2250 } 2251 /* linux_process_vm_readv */ 2252 case 309: { 2253 *n_args = 0; 2254 break; 2255 } 2256 /* linux_process_vm_writev */ 2257 case 310: { 2258 *n_args = 0; 2259 break; 2260 } 2261 /* linux_kcmp */ 2262 case 311: { 2263 *n_args = 0; 2264 break; 2265 } 2266 /* linux_finit_module */ 2267 case 312: { 2268 *n_args = 0; 2269 break; 2270 } 2271 default: 2272 *n_args = 0; 2273 break; 2274 }; 2275 } 2276 static void 2277 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2278 { 2279 const char *p = NULL; 2280 switch (sysnum) { 2281 #define nosys linux_nosys 2282 /* read */ 2283 case 0: 2284 switch(ndx) { 2285 case 0: 2286 p = "int"; 2287 break; 2288 case 1: 2289 p = "char *"; 2290 break; 2291 case 2: 2292 p = "u_int"; 2293 break; 2294 default: 2295 break; 2296 }; 2297 break; 2298 /* write */ 2299 case 1: 2300 switch(ndx) { 2301 case 0: 2302 p = "int"; 2303 break; 2304 case 1: 2305 p = "char *"; 2306 break; 2307 case 2: 2308 p = "u_int"; 2309 break; 2310 default: 2311 break; 2312 }; 2313 break; 2314 /* linux_open */ 2315 case 2: 2316 switch(ndx) { 2317 case 0: 2318 p = "char *"; 2319 break; 2320 case 1: 2321 p = "l_int"; 2322 break; 2323 case 2: 2324 p = "l_int"; 2325 break; 2326 default: 2327 break; 2328 }; 2329 break; 2330 /* close */ 2331 case 3: 2332 switch(ndx) { 2333 case 0: 2334 p = "int"; 2335 break; 2336 default: 2337 break; 2338 }; 2339 break; 2340 /* linux_newstat */ 2341 case 4: 2342 switch(ndx) { 2343 case 0: 2344 p = "char *"; 2345 break; 2346 case 1: 2347 p = "struct l_newstat *"; 2348 break; 2349 default: 2350 break; 2351 }; 2352 break; 2353 /* linux_newfstat */ 2354 case 5: 2355 switch(ndx) { 2356 case 0: 2357 p = "l_uint"; 2358 break; 2359 case 1: 2360 p = "struct l_newstat *"; 2361 break; 2362 default: 2363 break; 2364 }; 2365 break; 2366 /* linux_newlstat */ 2367 case 6: 2368 switch(ndx) { 2369 case 0: 2370 p = "char *"; 2371 break; 2372 case 1: 2373 p = "struct l_newstat *"; 2374 break; 2375 default: 2376 break; 2377 }; 2378 break; 2379 /* poll */ 2380 case 7: 2381 switch(ndx) { 2382 case 0: 2383 p = "struct pollfd *"; 2384 break; 2385 case 1: 2386 p = "u_int"; 2387 break; 2388 case 2: 2389 p = "int"; 2390 break; 2391 default: 2392 break; 2393 }; 2394 break; 2395 /* linux_lseek */ 2396 case 8: 2397 switch(ndx) { 2398 case 0: 2399 p = "l_uint"; 2400 break; 2401 case 1: 2402 p = "l_off_t"; 2403 break; 2404 case 2: 2405 p = "l_int"; 2406 break; 2407 default: 2408 break; 2409 }; 2410 break; 2411 /* linux_mmap2 */ 2412 case 9: 2413 switch(ndx) { 2414 case 0: 2415 p = "l_ulong"; 2416 break; 2417 case 1: 2418 p = "l_ulong"; 2419 break; 2420 case 2: 2421 p = "l_ulong"; 2422 break; 2423 case 3: 2424 p = "l_ulong"; 2425 break; 2426 case 4: 2427 p = "l_ulong"; 2428 break; 2429 case 5: 2430 p = "l_ulong"; 2431 break; 2432 default: 2433 break; 2434 }; 2435 break; 2436 /* linux_mprotect */ 2437 case 10: 2438 switch(ndx) { 2439 case 0: 2440 p = "caddr_t"; 2441 break; 2442 case 1: 2443 p = "int"; 2444 break; 2445 case 2: 2446 p = "int"; 2447 break; 2448 default: 2449 break; 2450 }; 2451 break; 2452 /* munmap */ 2453 case 11: 2454 switch(ndx) { 2455 case 0: 2456 p = "caddr_t"; 2457 break; 2458 case 1: 2459 p = "int"; 2460 break; 2461 default: 2462 break; 2463 }; 2464 break; 2465 /* linux_brk */ 2466 case 12: 2467 switch(ndx) { 2468 case 0: 2469 p = "l_ulong"; 2470 break; 2471 default: 2472 break; 2473 }; 2474 break; 2475 /* linux_rt_sigaction */ 2476 case 13: 2477 switch(ndx) { 2478 case 0: 2479 p = "l_int"; 2480 break; 2481 case 1: 2482 p = "l_sigaction_t *"; 2483 break; 2484 case 2: 2485 p = "l_sigaction_t *"; 2486 break; 2487 case 3: 2488 p = "l_size_t"; 2489 break; 2490 default: 2491 break; 2492 }; 2493 break; 2494 /* linux_rt_sigprocmask */ 2495 case 14: 2496 switch(ndx) { 2497 case 0: 2498 p = "l_int"; 2499 break; 2500 case 1: 2501 p = "l_sigset_t *"; 2502 break; 2503 case 2: 2504 p = "l_sigset_t *"; 2505 break; 2506 case 3: 2507 p = "l_size_t"; 2508 break; 2509 default: 2510 break; 2511 }; 2512 break; 2513 /* linux_rt_sigreturn */ 2514 case 15: 2515 switch(ndx) { 2516 case 0: 2517 p = "struct l_ucontext *"; 2518 break; 2519 default: 2520 break; 2521 }; 2522 break; 2523 /* linux_ioctl */ 2524 case 16: 2525 switch(ndx) { 2526 case 0: 2527 p = "l_uint"; 2528 break; 2529 case 1: 2530 p = "l_uint"; 2531 break; 2532 case 2: 2533 p = "uintptr_t"; 2534 break; 2535 default: 2536 break; 2537 }; 2538 break; 2539 /* linux_pread */ 2540 case 17: 2541 switch(ndx) { 2542 case 0: 2543 p = "l_uint"; 2544 break; 2545 case 1: 2546 p = "char *"; 2547 break; 2548 case 2: 2549 p = "l_size_t"; 2550 break; 2551 case 3: 2552 p = "l_loff_t"; 2553 break; 2554 default: 2555 break; 2556 }; 2557 break; 2558 /* linux_pwrite */ 2559 case 18: 2560 switch(ndx) { 2561 case 0: 2562 p = "l_uint"; 2563 break; 2564 case 1: 2565 p = "char *"; 2566 break; 2567 case 2: 2568 p = "l_size_t"; 2569 break; 2570 case 3: 2571 p = "l_loff_t"; 2572 break; 2573 default: 2574 break; 2575 }; 2576 break; 2577 /* readv */ 2578 case 19: 2579 switch(ndx) { 2580 case 0: 2581 p = "int"; 2582 break; 2583 case 1: 2584 p = "struct iovec *"; 2585 break; 2586 case 2: 2587 p = "u_int"; 2588 break; 2589 default: 2590 break; 2591 }; 2592 break; 2593 /* writev */ 2594 case 20: 2595 switch(ndx) { 2596 case 0: 2597 p = "int"; 2598 break; 2599 case 1: 2600 p = "struct iovec *"; 2601 break; 2602 case 2: 2603 p = "u_int"; 2604 break; 2605 default: 2606 break; 2607 }; 2608 break; 2609 /* linux_access */ 2610 case 21: 2611 switch(ndx) { 2612 case 0: 2613 p = "char *"; 2614 break; 2615 case 1: 2616 p = "l_int"; 2617 break; 2618 default: 2619 break; 2620 }; 2621 break; 2622 /* linux_pipe */ 2623 case 22: 2624 switch(ndx) { 2625 case 0: 2626 p = "l_ulong *"; 2627 break; 2628 default: 2629 break; 2630 }; 2631 break; 2632 /* linux_select */ 2633 case 23: 2634 switch(ndx) { 2635 case 0: 2636 p = "l_int"; 2637 break; 2638 case 1: 2639 p = "l_fd_set *"; 2640 break; 2641 case 2: 2642 p = "l_fd_set *"; 2643 break; 2644 case 3: 2645 p = "l_fd_set *"; 2646 break; 2647 case 4: 2648 p = "struct l_timeval *"; 2649 break; 2650 default: 2651 break; 2652 }; 2653 break; 2654 /* sched_yield */ 2655 case 24: 2656 break; 2657 /* linux_mremap */ 2658 case 25: 2659 switch(ndx) { 2660 case 0: 2661 p = "l_ulong"; 2662 break; 2663 case 1: 2664 p = "l_ulong"; 2665 break; 2666 case 2: 2667 p = "l_ulong"; 2668 break; 2669 case 3: 2670 p = "l_ulong"; 2671 break; 2672 case 4: 2673 p = "l_ulong"; 2674 break; 2675 default: 2676 break; 2677 }; 2678 break; 2679 /* linux_msync */ 2680 case 26: 2681 switch(ndx) { 2682 case 0: 2683 p = "l_ulong"; 2684 break; 2685 case 1: 2686 p = "l_size_t"; 2687 break; 2688 case 2: 2689 p = "l_int"; 2690 break; 2691 default: 2692 break; 2693 }; 2694 break; 2695 /* linux_mincore */ 2696 case 27: 2697 switch(ndx) { 2698 case 0: 2699 p = "l_ulong"; 2700 break; 2701 case 1: 2702 p = "l_size_t"; 2703 break; 2704 case 2: 2705 p = "u_char *"; 2706 break; 2707 default: 2708 break; 2709 }; 2710 break; 2711 /* madvise */ 2712 case 28: 2713 switch(ndx) { 2714 case 0: 2715 p = "void *"; 2716 break; 2717 case 1: 2718 p = "size_t"; 2719 break; 2720 case 2: 2721 p = "int"; 2722 break; 2723 default: 2724 break; 2725 }; 2726 break; 2727 /* linux_shmget */ 2728 case 29: 2729 switch(ndx) { 2730 case 0: 2731 p = "l_key_t"; 2732 break; 2733 case 1: 2734 p = "l_size_t"; 2735 break; 2736 case 2: 2737 p = "l_int"; 2738 break; 2739 default: 2740 break; 2741 }; 2742 break; 2743 /* linux_shmat */ 2744 case 30: 2745 switch(ndx) { 2746 case 0: 2747 p = "l_int"; 2748 break; 2749 case 1: 2750 p = "char *"; 2751 break; 2752 case 2: 2753 p = "l_int"; 2754 break; 2755 default: 2756 break; 2757 }; 2758 break; 2759 /* linux_shmctl */ 2760 case 31: 2761 switch(ndx) { 2762 case 0: 2763 p = "l_int"; 2764 break; 2765 case 1: 2766 p = "l_int"; 2767 break; 2768 case 2: 2769 p = "struct l_shmid_ds *"; 2770 break; 2771 default: 2772 break; 2773 }; 2774 break; 2775 /* dup */ 2776 case 32: 2777 switch(ndx) { 2778 case 0: 2779 p = "u_int"; 2780 break; 2781 default: 2782 break; 2783 }; 2784 break; 2785 /* dup2 */ 2786 case 33: 2787 switch(ndx) { 2788 case 0: 2789 p = "u_int"; 2790 break; 2791 case 1: 2792 p = "u_int"; 2793 break; 2794 default: 2795 break; 2796 }; 2797 break; 2798 /* linux_pause */ 2799 case 34: 2800 break; 2801 /* linux_nanosleep */ 2802 case 35: 2803 switch(ndx) { 2804 case 0: 2805 p = "const struct l_timespec *"; 2806 break; 2807 case 1: 2808 p = "struct l_timespec *"; 2809 break; 2810 default: 2811 break; 2812 }; 2813 break; 2814 /* linux_getitimer */ 2815 case 36: 2816 switch(ndx) { 2817 case 0: 2818 p = "l_int"; 2819 break; 2820 case 1: 2821 p = "struct l_itimerval *"; 2822 break; 2823 default: 2824 break; 2825 }; 2826 break; 2827 /* linux_alarm */ 2828 case 37: 2829 switch(ndx) { 2830 case 0: 2831 p = "l_uint"; 2832 break; 2833 default: 2834 break; 2835 }; 2836 break; 2837 /* linux_setitimer */ 2838 case 38: 2839 switch(ndx) { 2840 case 0: 2841 p = "l_int"; 2842 break; 2843 case 1: 2844 p = "struct l_itimerval *"; 2845 break; 2846 case 2: 2847 p = "struct l_itimerval *"; 2848 break; 2849 default: 2850 break; 2851 }; 2852 break; 2853 /* linux_getpid */ 2854 case 39: 2855 break; 2856 /* linux_sendfile */ 2857 case 40: 2858 switch(ndx) { 2859 case 0: 2860 p = "int"; 2861 break; 2862 case 1: 2863 p = "int"; 2864 break; 2865 case 2: 2866 p = "l_long *"; 2867 break; 2868 case 3: 2869 p = "l_size_t"; 2870 break; 2871 default: 2872 break; 2873 }; 2874 break; 2875 /* linux_socket */ 2876 case 41: 2877 switch(ndx) { 2878 case 0: 2879 p = "l_int"; 2880 break; 2881 case 1: 2882 p = "l_int"; 2883 break; 2884 case 2: 2885 p = "l_int"; 2886 break; 2887 default: 2888 break; 2889 }; 2890 break; 2891 /* linux_connect */ 2892 case 42: 2893 switch(ndx) { 2894 case 0: 2895 p = "l_int"; 2896 break; 2897 case 1: 2898 p = "l_uintptr_t"; 2899 break; 2900 case 2: 2901 p = "l_int"; 2902 break; 2903 default: 2904 break; 2905 }; 2906 break; 2907 /* linux_accept */ 2908 case 43: 2909 switch(ndx) { 2910 case 0: 2911 p = "l_int"; 2912 break; 2913 case 1: 2914 p = "l_uintptr_t"; 2915 break; 2916 case 2: 2917 p = "l_uintptr_t"; 2918 break; 2919 default: 2920 break; 2921 }; 2922 break; 2923 /* linux_sendto */ 2924 case 44: 2925 switch(ndx) { 2926 case 0: 2927 p = "l_int"; 2928 break; 2929 case 1: 2930 p = "l_uintptr_t"; 2931 break; 2932 case 2: 2933 p = "l_int"; 2934 break; 2935 case 3: 2936 p = "l_int"; 2937 break; 2938 case 4: 2939 p = "l_uintptr_t"; 2940 break; 2941 case 5: 2942 p = "l_int"; 2943 break; 2944 default: 2945 break; 2946 }; 2947 break; 2948 /* linux_recvfrom */ 2949 case 45: 2950 switch(ndx) { 2951 case 0: 2952 p = "l_int"; 2953 break; 2954 case 1: 2955 p = "l_uintptr_t"; 2956 break; 2957 case 2: 2958 p = "l_size_t"; 2959 break; 2960 case 3: 2961 p = "l_int"; 2962 break; 2963 case 4: 2964 p = "l_uintptr_t"; 2965 break; 2966 case 5: 2967 p = "l_uintptr_t"; 2968 break; 2969 default: 2970 break; 2971 }; 2972 break; 2973 /* linux_sendmsg */ 2974 case 46: 2975 switch(ndx) { 2976 case 0: 2977 p = "l_int"; 2978 break; 2979 case 1: 2980 p = "l_uintptr_t"; 2981 break; 2982 case 2: 2983 p = "l_int"; 2984 break; 2985 default: 2986 break; 2987 }; 2988 break; 2989 /* linux_recvmsg */ 2990 case 47: 2991 switch(ndx) { 2992 case 0: 2993 p = "l_int"; 2994 break; 2995 case 1: 2996 p = "l_uintptr_t"; 2997 break; 2998 case 2: 2999 p = "l_int"; 3000 break; 3001 default: 3002 break; 3003 }; 3004 break; 3005 /* linux_shutdown */ 3006 case 48: 3007 switch(ndx) { 3008 case 0: 3009 p = "l_int"; 3010 break; 3011 case 1: 3012 p = "l_int"; 3013 break; 3014 default: 3015 break; 3016 }; 3017 break; 3018 /* linux_bind */ 3019 case 49: 3020 switch(ndx) { 3021 case 0: 3022 p = "l_int"; 3023 break; 3024 case 1: 3025 p = "l_uintptr_t"; 3026 break; 3027 case 2: 3028 p = "l_int"; 3029 break; 3030 default: 3031 break; 3032 }; 3033 break; 3034 /* linux_listen */ 3035 case 50: 3036 switch(ndx) { 3037 case 0: 3038 p = "l_int"; 3039 break; 3040 case 1: 3041 p = "l_int"; 3042 break; 3043 default: 3044 break; 3045 }; 3046 break; 3047 /* linux_getsockname */ 3048 case 51: 3049 switch(ndx) { 3050 case 0: 3051 p = "l_int"; 3052 break; 3053 case 1: 3054 p = "l_uintptr_t"; 3055 break; 3056 case 2: 3057 p = "l_uintptr_t"; 3058 break; 3059 default: 3060 break; 3061 }; 3062 break; 3063 /* linux_getpeername */ 3064 case 52: 3065 switch(ndx) { 3066 case 0: 3067 p = "l_int"; 3068 break; 3069 case 1: 3070 p = "l_uintptr_t"; 3071 break; 3072 case 2: 3073 p = "l_uintptr_t"; 3074 break; 3075 default: 3076 break; 3077 }; 3078 break; 3079 /* linux_socketpair */ 3080 case 53: 3081 switch(ndx) { 3082 case 0: 3083 p = "l_int"; 3084 break; 3085 case 1: 3086 p = "l_int"; 3087 break; 3088 case 2: 3089 p = "l_int"; 3090 break; 3091 case 3: 3092 p = "l_uintptr_t"; 3093 break; 3094 default: 3095 break; 3096 }; 3097 break; 3098 /* linux_setsockopt */ 3099 case 54: 3100 switch(ndx) { 3101 case 0: 3102 p = "l_int"; 3103 break; 3104 case 1: 3105 p = "l_int"; 3106 break; 3107 case 2: 3108 p = "l_int"; 3109 break; 3110 case 3: 3111 p = "l_uintptr_t"; 3112 break; 3113 case 4: 3114 p = "l_int"; 3115 break; 3116 default: 3117 break; 3118 }; 3119 break; 3120 /* linux_getsockopt */ 3121 case 55: 3122 switch(ndx) { 3123 case 0: 3124 p = "l_int"; 3125 break; 3126 case 1: 3127 p = "l_int"; 3128 break; 3129 case 2: 3130 p = "l_int"; 3131 break; 3132 case 3: 3133 p = "l_uintptr_t"; 3134 break; 3135 case 4: 3136 p = "l_uintptr_t"; 3137 break; 3138 default: 3139 break; 3140 }; 3141 break; 3142 /* linux_clone */ 3143 case 56: 3144 switch(ndx) { 3145 case 0: 3146 p = "l_int"; 3147 break; 3148 case 1: 3149 p = "void *"; 3150 break; 3151 case 2: 3152 p = "void *"; 3153 break; 3154 case 3: 3155 p = "void *"; 3156 break; 3157 case 4: 3158 p = "void *"; 3159 break; 3160 default: 3161 break; 3162 }; 3163 break; 3164 /* linux_fork */ 3165 case 57: 3166 break; 3167 /* linux_vfork */ 3168 case 58: 3169 break; 3170 /* linux_execve */ 3171 case 59: 3172 switch(ndx) { 3173 case 0: 3174 p = "char *"; 3175 break; 3176 case 1: 3177 p = "char **"; 3178 break; 3179 case 2: 3180 p = "char **"; 3181 break; 3182 default: 3183 break; 3184 }; 3185 break; 3186 /* linux_exit */ 3187 case 60: 3188 switch(ndx) { 3189 case 0: 3190 p = "int"; 3191 break; 3192 default: 3193 break; 3194 }; 3195 break; 3196 /* linux_wait4 */ 3197 case 61: 3198 switch(ndx) { 3199 case 0: 3200 p = "l_pid_t"; 3201 break; 3202 case 1: 3203 p = "l_int *"; 3204 break; 3205 case 2: 3206 p = "l_int"; 3207 break; 3208 case 3: 3209 p = "struct rusage *"; 3210 break; 3211 default: 3212 break; 3213 }; 3214 break; 3215 /* linux_kill */ 3216 case 62: 3217 switch(ndx) { 3218 case 0: 3219 p = "l_int"; 3220 break; 3221 case 1: 3222 p = "l_int"; 3223 break; 3224 default: 3225 break; 3226 }; 3227 break; 3228 /* linux_newuname */ 3229 case 63: 3230 switch(ndx) { 3231 case 0: 3232 p = "struct l_new_utsname *"; 3233 break; 3234 default: 3235 break; 3236 }; 3237 break; 3238 /* linux_semget */ 3239 case 64: 3240 switch(ndx) { 3241 case 0: 3242 p = "l_key_t"; 3243 break; 3244 case 1: 3245 p = "l_int"; 3246 break; 3247 case 2: 3248 p = "l_int"; 3249 break; 3250 default: 3251 break; 3252 }; 3253 break; 3254 /* linux_semop */ 3255 case 65: 3256 switch(ndx) { 3257 case 0: 3258 p = "l_int"; 3259 break; 3260 case 1: 3261 p = "struct l_sembuf *"; 3262 break; 3263 case 2: 3264 p = "l_uint"; 3265 break; 3266 default: 3267 break; 3268 }; 3269 break; 3270 /* linux_semctl */ 3271 case 66: 3272 switch(ndx) { 3273 case 0: 3274 p = "l_int"; 3275 break; 3276 case 1: 3277 p = "l_int"; 3278 break; 3279 case 2: 3280 p = "l_int"; 3281 break; 3282 case 3: 3283 p = "union l_semun"; 3284 break; 3285 default: 3286 break; 3287 }; 3288 break; 3289 /* linux_shmdt */ 3290 case 67: 3291 switch(ndx) { 3292 case 0: 3293 p = "char *"; 3294 break; 3295 default: 3296 break; 3297 }; 3298 break; 3299 /* linux_msgget */ 3300 case 68: 3301 switch(ndx) { 3302 case 0: 3303 p = "l_key_t"; 3304 break; 3305 case 1: 3306 p = "l_int"; 3307 break; 3308 default: 3309 break; 3310 }; 3311 break; 3312 /* linux_msgsnd */ 3313 case 69: 3314 switch(ndx) { 3315 case 0: 3316 p = "l_int"; 3317 break; 3318 case 1: 3319 p = "struct l_msgbuf *"; 3320 break; 3321 case 2: 3322 p = "l_size_t"; 3323 break; 3324 case 3: 3325 p = "l_int"; 3326 break; 3327 default: 3328 break; 3329 }; 3330 break; 3331 /* linux_msgrcv */ 3332 case 70: 3333 switch(ndx) { 3334 case 0: 3335 p = "l_int"; 3336 break; 3337 case 1: 3338 p = "struct l_msgbuf *"; 3339 break; 3340 case 2: 3341 p = "l_size_t"; 3342 break; 3343 case 3: 3344 p = "l_long"; 3345 break; 3346 case 4: 3347 p = "l_int"; 3348 break; 3349 default: 3350 break; 3351 }; 3352 break; 3353 /* linux_msgctl */ 3354 case 71: 3355 switch(ndx) { 3356 case 0: 3357 p = "l_int"; 3358 break; 3359 case 1: 3360 p = "l_int"; 3361 break; 3362 case 2: 3363 p = "struct l_msqid_ds *"; 3364 break; 3365 default: 3366 break; 3367 }; 3368 break; 3369 /* linux_fcntl */ 3370 case 72: 3371 switch(ndx) { 3372 case 0: 3373 p = "l_uint"; 3374 break; 3375 case 1: 3376 p = "l_uint"; 3377 break; 3378 case 2: 3379 p = "l_ulong"; 3380 break; 3381 default: 3382 break; 3383 }; 3384 break; 3385 /* flock */ 3386 case 73: 3387 switch(ndx) { 3388 case 0: 3389 p = "int"; 3390 break; 3391 case 1: 3392 p = "int"; 3393 break; 3394 default: 3395 break; 3396 }; 3397 break; 3398 /* fsync */ 3399 case 74: 3400 switch(ndx) { 3401 case 0: 3402 p = "int"; 3403 break; 3404 default: 3405 break; 3406 }; 3407 break; 3408 /* linux_fdatasync */ 3409 case 75: 3410 switch(ndx) { 3411 case 0: 3412 p = "l_uint"; 3413 break; 3414 default: 3415 break; 3416 }; 3417 break; 3418 /* linux_truncate */ 3419 case 76: 3420 switch(ndx) { 3421 case 0: 3422 p = "char *"; 3423 break; 3424 case 1: 3425 p = "l_ulong"; 3426 break; 3427 default: 3428 break; 3429 }; 3430 break; 3431 /* linux_ftruncate */ 3432 case 77: 3433 switch(ndx) { 3434 case 0: 3435 p = "l_int"; 3436 break; 3437 case 1: 3438 p = "l_long"; 3439 break; 3440 default: 3441 break; 3442 }; 3443 break; 3444 /* linux_getdents */ 3445 case 78: 3446 switch(ndx) { 3447 case 0: 3448 p = "l_uint"; 3449 break; 3450 case 1: 3451 p = "void *"; 3452 break; 3453 case 2: 3454 p = "l_uint"; 3455 break; 3456 default: 3457 break; 3458 }; 3459 break; 3460 /* linux_getcwd */ 3461 case 79: 3462 switch(ndx) { 3463 case 0: 3464 p = "char *"; 3465 break; 3466 case 1: 3467 p = "l_ulong"; 3468 break; 3469 default: 3470 break; 3471 }; 3472 break; 3473 /* linux_chdir */ 3474 case 80: 3475 switch(ndx) { 3476 case 0: 3477 p = "char *"; 3478 break; 3479 default: 3480 break; 3481 }; 3482 break; 3483 /* fchdir */ 3484 case 81: 3485 switch(ndx) { 3486 case 0: 3487 p = "int"; 3488 break; 3489 default: 3490 break; 3491 }; 3492 break; 3493 /* linux_rename */ 3494 case 82: 3495 switch(ndx) { 3496 case 0: 3497 p = "char *"; 3498 break; 3499 case 1: 3500 p = "char *"; 3501 break; 3502 default: 3503 break; 3504 }; 3505 break; 3506 /* linux_mkdir */ 3507 case 83: 3508 switch(ndx) { 3509 case 0: 3510 p = "char *"; 3511 break; 3512 case 1: 3513 p = "l_int"; 3514 break; 3515 default: 3516 break; 3517 }; 3518 break; 3519 /* linux_rmdir */ 3520 case 84: 3521 switch(ndx) { 3522 case 0: 3523 p = "char *"; 3524 break; 3525 default: 3526 break; 3527 }; 3528 break; 3529 /* linux_creat */ 3530 case 85: 3531 switch(ndx) { 3532 case 0: 3533 p = "char *"; 3534 break; 3535 case 1: 3536 p = "l_int"; 3537 break; 3538 default: 3539 break; 3540 }; 3541 break; 3542 /* linux_link */ 3543 case 86: 3544 switch(ndx) { 3545 case 0: 3546 p = "char *"; 3547 break; 3548 case 1: 3549 p = "char *"; 3550 break; 3551 default: 3552 break; 3553 }; 3554 break; 3555 /* linux_unlink */ 3556 case 87: 3557 switch(ndx) { 3558 case 0: 3559 p = "char *"; 3560 break; 3561 default: 3562 break; 3563 }; 3564 break; 3565 /* linux_symlink */ 3566 case 88: 3567 switch(ndx) { 3568 case 0: 3569 p = "char *"; 3570 break; 3571 case 1: 3572 p = "char *"; 3573 break; 3574 default: 3575 break; 3576 }; 3577 break; 3578 /* linux_readlink */ 3579 case 89: 3580 switch(ndx) { 3581 case 0: 3582 p = "char *"; 3583 break; 3584 case 1: 3585 p = "char *"; 3586 break; 3587 case 2: 3588 p = "l_int"; 3589 break; 3590 default: 3591 break; 3592 }; 3593 break; 3594 /* linux_chmod */ 3595 case 90: 3596 switch(ndx) { 3597 case 0: 3598 p = "char *"; 3599 break; 3600 case 1: 3601 p = "l_mode_t"; 3602 break; 3603 default: 3604 break; 3605 }; 3606 break; 3607 /* fchmod */ 3608 case 91: 3609 switch(ndx) { 3610 case 0: 3611 p = "int"; 3612 break; 3613 case 1: 3614 p = "int"; 3615 break; 3616 default: 3617 break; 3618 }; 3619 break; 3620 /* linux_chown */ 3621 case 92: 3622 switch(ndx) { 3623 case 0: 3624 p = "char *"; 3625 break; 3626 case 1: 3627 p = "l_uid_t"; 3628 break; 3629 case 2: 3630 p = "l_gid_t"; 3631 break; 3632 default: 3633 break; 3634 }; 3635 break; 3636 /* fchown */ 3637 case 93: 3638 switch(ndx) { 3639 case 0: 3640 p = "int"; 3641 break; 3642 case 1: 3643 p = "int"; 3644 break; 3645 case 2: 3646 p = "int"; 3647 break; 3648 default: 3649 break; 3650 }; 3651 break; 3652 /* linux_lchown */ 3653 case 94: 3654 switch(ndx) { 3655 case 0: 3656 p = "char *"; 3657 break; 3658 case 1: 3659 p = "l_uid_t"; 3660 break; 3661 case 2: 3662 p = "l_gid_t"; 3663 break; 3664 default: 3665 break; 3666 }; 3667 break; 3668 /* umask */ 3669 case 95: 3670 switch(ndx) { 3671 case 0: 3672 p = "int"; 3673 break; 3674 default: 3675 break; 3676 }; 3677 break; 3678 /* gettimeofday */ 3679 case 96: 3680 switch(ndx) { 3681 case 0: 3682 p = "struct l_timeval *"; 3683 break; 3684 case 1: 3685 p = "struct timezone *"; 3686 break; 3687 default: 3688 break; 3689 }; 3690 break; 3691 /* linux_getrlimit */ 3692 case 97: 3693 switch(ndx) { 3694 case 0: 3695 p = "l_uint"; 3696 break; 3697 case 1: 3698 p = "struct l_rlimit *"; 3699 break; 3700 default: 3701 break; 3702 }; 3703 break; 3704 /* getrusage */ 3705 case 98: 3706 switch(ndx) { 3707 case 0: 3708 p = "int"; 3709 break; 3710 case 1: 3711 p = "struct rusage *"; 3712 break; 3713 default: 3714 break; 3715 }; 3716 break; 3717 /* linux_sysinfo */ 3718 case 99: 3719 switch(ndx) { 3720 case 0: 3721 p = "struct l_sysinfo *"; 3722 break; 3723 default: 3724 break; 3725 }; 3726 break; 3727 /* linux_times */ 3728 case 100: 3729 switch(ndx) { 3730 case 0: 3731 p = "struct l_times_argv *"; 3732 break; 3733 default: 3734 break; 3735 }; 3736 break; 3737 /* linux_ptrace */ 3738 case 101: 3739 switch(ndx) { 3740 case 0: 3741 p = "l_long"; 3742 break; 3743 case 1: 3744 p = "l_long"; 3745 break; 3746 case 2: 3747 p = "l_long"; 3748 break; 3749 case 3: 3750 p = "l_long"; 3751 break; 3752 default: 3753 break; 3754 }; 3755 break; 3756 /* linux_getuid */ 3757 case 102: 3758 break; 3759 /* linux_syslog */ 3760 case 103: 3761 switch(ndx) { 3762 case 0: 3763 p = "l_int"; 3764 break; 3765 case 1: 3766 p = "char *"; 3767 break; 3768 case 2: 3769 p = "l_int"; 3770 break; 3771 default: 3772 break; 3773 }; 3774 break; 3775 /* linux_getgid */ 3776 case 104: 3777 break; 3778 /* setuid */ 3779 case 105: 3780 switch(ndx) { 3781 case 0: 3782 p = "uid_t"; 3783 break; 3784 default: 3785 break; 3786 }; 3787 break; 3788 /* setgid */ 3789 case 106: 3790 switch(ndx) { 3791 case 0: 3792 p = "gid_t"; 3793 break; 3794 default: 3795 break; 3796 }; 3797 break; 3798 /* geteuid */ 3799 case 107: 3800 break; 3801 /* getegid */ 3802 case 108: 3803 break; 3804 /* setpgid */ 3805 case 109: 3806 switch(ndx) { 3807 case 0: 3808 p = "int"; 3809 break; 3810 case 1: 3811 p = "int"; 3812 break; 3813 default: 3814 break; 3815 }; 3816 break; 3817 /* linux_getppid */ 3818 case 110: 3819 break; 3820 /* getpgrp */ 3821 case 111: 3822 break; 3823 /* setsid */ 3824 case 112: 3825 break; 3826 /* setreuid */ 3827 case 113: 3828 switch(ndx) { 3829 case 0: 3830 p = "uid_t"; 3831 break; 3832 case 1: 3833 p = "uid_t"; 3834 break; 3835 default: 3836 break; 3837 }; 3838 break; 3839 /* setregid */ 3840 case 114: 3841 switch(ndx) { 3842 case 0: 3843 p = "gid_t"; 3844 break; 3845 case 1: 3846 p = "gid_t"; 3847 break; 3848 default: 3849 break; 3850 }; 3851 break; 3852 /* linux_getgroups */ 3853 case 115: 3854 switch(ndx) { 3855 case 0: 3856 p = "l_int"; 3857 break; 3858 case 1: 3859 p = "l_gid_t *"; 3860 break; 3861 default: 3862 break; 3863 }; 3864 break; 3865 /* linux_setgroups */ 3866 case 116: 3867 switch(ndx) { 3868 case 0: 3869 p = "l_int"; 3870 break; 3871 case 1: 3872 p = "l_gid_t *"; 3873 break; 3874 default: 3875 break; 3876 }; 3877 break; 3878 /* setresuid */ 3879 case 117: 3880 switch(ndx) { 3881 case 0: 3882 p = "uid_t"; 3883 break; 3884 case 1: 3885 p = "uid_t"; 3886 break; 3887 case 2: 3888 p = "uid_t"; 3889 break; 3890 default: 3891 break; 3892 }; 3893 break; 3894 /* getresuid */ 3895 case 118: 3896 switch(ndx) { 3897 case 0: 3898 p = "uid_t *"; 3899 break; 3900 case 1: 3901 p = "uid_t *"; 3902 break; 3903 case 2: 3904 p = "uid_t *"; 3905 break; 3906 default: 3907 break; 3908 }; 3909 break; 3910 /* setresgid */ 3911 case 119: 3912 switch(ndx) { 3913 case 0: 3914 p = "gid_t"; 3915 break; 3916 case 1: 3917 p = "gid_t"; 3918 break; 3919 case 2: 3920 p = "gid_t"; 3921 break; 3922 default: 3923 break; 3924 }; 3925 break; 3926 /* getresgid */ 3927 case 120: 3928 switch(ndx) { 3929 case 0: 3930 p = "gid_t *"; 3931 break; 3932 case 1: 3933 p = "gid_t *"; 3934 break; 3935 case 2: 3936 p = "gid_t *"; 3937 break; 3938 default: 3939 break; 3940 }; 3941 break; 3942 /* getpgid */ 3943 case 121: 3944 switch(ndx) { 3945 case 0: 3946 p = "int"; 3947 break; 3948 default: 3949 break; 3950 }; 3951 break; 3952 /* linux_setfsuid */ 3953 case 122: 3954 switch(ndx) { 3955 case 0: 3956 p = "l_uid_t"; 3957 break; 3958 default: 3959 break; 3960 }; 3961 break; 3962 /* linux_setfsgid */ 3963 case 123: 3964 switch(ndx) { 3965 case 0: 3966 p = "l_gid_t"; 3967 break; 3968 default: 3969 break; 3970 }; 3971 break; 3972 /* linux_getsid */ 3973 case 124: 3974 switch(ndx) { 3975 case 0: 3976 p = "l_pid_t"; 3977 break; 3978 default: 3979 break; 3980 }; 3981 break; 3982 /* linux_capget */ 3983 case 125: 3984 switch(ndx) { 3985 case 0: 3986 p = "struct l_user_cap_header *"; 3987 break; 3988 case 1: 3989 p = "struct l_user_cap_data *"; 3990 break; 3991 default: 3992 break; 3993 }; 3994 break; 3995 /* linux_capset */ 3996 case 126: 3997 switch(ndx) { 3998 case 0: 3999 p = "struct l_user_cap_header *"; 4000 break; 4001 case 1: 4002 p = "struct l_user_cap_data *"; 4003 break; 4004 default: 4005 break; 4006 }; 4007 break; 4008 /* linux_rt_sigpending */ 4009 case 127: 4010 switch(ndx) { 4011 case 0: 4012 p = "l_sigset_t *"; 4013 break; 4014 case 1: 4015 p = "l_size_t"; 4016 break; 4017 default: 4018 break; 4019 }; 4020 break; 4021 /* linux_rt_sigtimedwait */ 4022 case 128: 4023 switch(ndx) { 4024 case 0: 4025 p = "l_sigset_t *"; 4026 break; 4027 case 1: 4028 p = "l_siginfo_t *"; 4029 break; 4030 case 2: 4031 p = "struct l_timeval *"; 4032 break; 4033 case 3: 4034 p = "l_size_t"; 4035 break; 4036 default: 4037 break; 4038 }; 4039 break; 4040 /* linux_rt_sigqueueinfo */ 4041 case 129: 4042 switch(ndx) { 4043 case 0: 4044 p = "l_pid_t"; 4045 break; 4046 case 1: 4047 p = "l_int"; 4048 break; 4049 case 2: 4050 p = "l_siginfo_t *"; 4051 break; 4052 default: 4053 break; 4054 }; 4055 break; 4056 /* linux_rt_sigsuspend */ 4057 case 130: 4058 switch(ndx) { 4059 case 0: 4060 p = "l_sigset_t *"; 4061 break; 4062 case 1: 4063 p = "l_size_t"; 4064 break; 4065 default: 4066 break; 4067 }; 4068 break; 4069 /* linux_sigaltstack */ 4070 case 131: 4071 switch(ndx) { 4072 case 0: 4073 p = "l_stack_t *"; 4074 break; 4075 case 1: 4076 p = "l_stack_t *"; 4077 break; 4078 default: 4079 break; 4080 }; 4081 break; 4082 /* linux_utime */ 4083 case 132: 4084 switch(ndx) { 4085 case 0: 4086 p = "char *"; 4087 break; 4088 case 1: 4089 p = "struct l_utimbuf *"; 4090 break; 4091 default: 4092 break; 4093 }; 4094 break; 4095 /* linux_mknod */ 4096 case 133: 4097 switch(ndx) { 4098 case 0: 4099 p = "char *"; 4100 break; 4101 case 1: 4102 p = "l_int"; 4103 break; 4104 case 2: 4105 p = "l_dev_t"; 4106 break; 4107 default: 4108 break; 4109 }; 4110 break; 4111 /* linux_personality */ 4112 case 135: 4113 switch(ndx) { 4114 case 0: 4115 p = "l_ulong"; 4116 break; 4117 default: 4118 break; 4119 }; 4120 break; 4121 /* linux_ustat */ 4122 case 136: 4123 switch(ndx) { 4124 case 0: 4125 p = "l_dev_t"; 4126 break; 4127 case 1: 4128 p = "struct l_ustat *"; 4129 break; 4130 default: 4131 break; 4132 }; 4133 break; 4134 /* linux_statfs */ 4135 case 137: 4136 switch(ndx) { 4137 case 0: 4138 p = "char *"; 4139 break; 4140 case 1: 4141 p = "struct l_statfs_buf *"; 4142 break; 4143 default: 4144 break; 4145 }; 4146 break; 4147 /* linux_fstatfs */ 4148 case 138: 4149 switch(ndx) { 4150 case 0: 4151 p = "l_uint"; 4152 break; 4153 case 1: 4154 p = "struct l_statfs_buf *"; 4155 break; 4156 default: 4157 break; 4158 }; 4159 break; 4160 /* linux_sysfs */ 4161 case 139: 4162 switch(ndx) { 4163 case 0: 4164 p = "l_int"; 4165 break; 4166 case 1: 4167 p = "l_ulong"; 4168 break; 4169 case 2: 4170 p = "l_ulong"; 4171 break; 4172 default: 4173 break; 4174 }; 4175 break; 4176 /* linux_getpriority */ 4177 case 140: 4178 switch(ndx) { 4179 case 0: 4180 p = "int"; 4181 break; 4182 case 1: 4183 p = "int"; 4184 break; 4185 default: 4186 break; 4187 }; 4188 break; 4189 /* setpriority */ 4190 case 141: 4191 switch(ndx) { 4192 case 0: 4193 p = "int"; 4194 break; 4195 case 1: 4196 p = "int"; 4197 break; 4198 case 2: 4199 p = "int"; 4200 break; 4201 default: 4202 break; 4203 }; 4204 break; 4205 /* linux_sched_setparam */ 4206 case 142: 4207 switch(ndx) { 4208 case 0: 4209 p = "l_pid_t"; 4210 break; 4211 case 1: 4212 p = "struct l_sched_param *"; 4213 break; 4214 default: 4215 break; 4216 }; 4217 break; 4218 /* linux_sched_getparam */ 4219 case 143: 4220 switch(ndx) { 4221 case 0: 4222 p = "l_pid_t"; 4223 break; 4224 case 1: 4225 p = "struct l_sched_param *"; 4226 break; 4227 default: 4228 break; 4229 }; 4230 break; 4231 /* linux_sched_setscheduler */ 4232 case 144: 4233 switch(ndx) { 4234 case 0: 4235 p = "l_pid_t"; 4236 break; 4237 case 1: 4238 p = "l_int"; 4239 break; 4240 case 2: 4241 p = "struct l_sched_param *"; 4242 break; 4243 default: 4244 break; 4245 }; 4246 break; 4247 /* linux_sched_getscheduler */ 4248 case 145: 4249 switch(ndx) { 4250 case 0: 4251 p = "l_pid_t"; 4252 break; 4253 default: 4254 break; 4255 }; 4256 break; 4257 /* linux_sched_get_priority_max */ 4258 case 146: 4259 switch(ndx) { 4260 case 0: 4261 p = "l_int"; 4262 break; 4263 default: 4264 break; 4265 }; 4266 break; 4267 /* linux_sched_get_priority_min */ 4268 case 147: 4269 switch(ndx) { 4270 case 0: 4271 p = "l_int"; 4272 break; 4273 default: 4274 break; 4275 }; 4276 break; 4277 /* linux_sched_rr_get_interval */ 4278 case 148: 4279 switch(ndx) { 4280 case 0: 4281 p = "l_pid_t"; 4282 break; 4283 case 1: 4284 p = "struct l_timespec *"; 4285 break; 4286 default: 4287 break; 4288 }; 4289 break; 4290 /* mlock */ 4291 case 149: 4292 switch(ndx) { 4293 case 0: 4294 p = "const void *"; 4295 break; 4296 case 1: 4297 p = "size_t"; 4298 break; 4299 default: 4300 break; 4301 }; 4302 break; 4303 /* munlock */ 4304 case 150: 4305 switch(ndx) { 4306 case 0: 4307 p = "const void *"; 4308 break; 4309 case 1: 4310 p = "size_t"; 4311 break; 4312 default: 4313 break; 4314 }; 4315 break; 4316 /* mlockall */ 4317 case 151: 4318 switch(ndx) { 4319 case 0: 4320 p = "int"; 4321 break; 4322 default: 4323 break; 4324 }; 4325 break; 4326 /* munlockall */ 4327 case 152: 4328 break; 4329 /* linux_vhangup */ 4330 case 153: 4331 break; 4332 /* linux_pivot_root */ 4333 case 155: 4334 break; 4335 /* linux_sysctl */ 4336 case 156: 4337 switch(ndx) { 4338 case 0: 4339 p = "struct l___sysctl_args *"; 4340 break; 4341 default: 4342 break; 4343 }; 4344 break; 4345 /* linux_prctl */ 4346 case 157: 4347 switch(ndx) { 4348 case 0: 4349 p = "l_int"; 4350 break; 4351 case 1: 4352 p = "l_uintptr_t"; 4353 break; 4354 case 2: 4355 p = "l_uintptr_t"; 4356 break; 4357 case 3: 4358 p = "l_uintptr_t"; 4359 break; 4360 case 4: 4361 p = "l_uintptr_t"; 4362 break; 4363 default: 4364 break; 4365 }; 4366 break; 4367 /* linux_arch_prctl */ 4368 case 158: 4369 switch(ndx) { 4370 case 0: 4371 p = "l_int"; 4372 break; 4373 case 1: 4374 p = "l_ulong"; 4375 break; 4376 default: 4377 break; 4378 }; 4379 break; 4380 /* linux_adjtimex */ 4381 case 159: 4382 break; 4383 /* linux_setrlimit */ 4384 case 160: 4385 switch(ndx) { 4386 case 0: 4387 p = "l_uint"; 4388 break; 4389 case 1: 4390 p = "struct l_rlimit *"; 4391 break; 4392 default: 4393 break; 4394 }; 4395 break; 4396 /* chroot */ 4397 case 161: 4398 switch(ndx) { 4399 case 0: 4400 p = "char *"; 4401 break; 4402 default: 4403 break; 4404 }; 4405 break; 4406 /* sync */ 4407 case 162: 4408 break; 4409 /* acct */ 4410 case 163: 4411 switch(ndx) { 4412 case 0: 4413 p = "char *"; 4414 break; 4415 default: 4416 break; 4417 }; 4418 break; 4419 /* settimeofday */ 4420 case 164: 4421 switch(ndx) { 4422 case 0: 4423 p = "struct l_timeval *"; 4424 break; 4425 case 1: 4426 p = "struct timezone *"; 4427 break; 4428 default: 4429 break; 4430 }; 4431 break; 4432 /* linux_mount */ 4433 case 165: 4434 switch(ndx) { 4435 case 0: 4436 p = "char *"; 4437 break; 4438 case 1: 4439 p = "char *"; 4440 break; 4441 case 2: 4442 p = "char *"; 4443 break; 4444 case 3: 4445 p = "l_ulong"; 4446 break; 4447 case 4: 4448 p = "void *"; 4449 break; 4450 default: 4451 break; 4452 }; 4453 break; 4454 /* linux_umount */ 4455 case 166: 4456 switch(ndx) { 4457 case 0: 4458 p = "char *"; 4459 break; 4460 case 1: 4461 p = "l_int"; 4462 break; 4463 default: 4464 break; 4465 }; 4466 break; 4467 /* swapon */ 4468 case 167: 4469 switch(ndx) { 4470 case 0: 4471 p = "char *"; 4472 break; 4473 default: 4474 break; 4475 }; 4476 break; 4477 /* linux_swapoff */ 4478 case 168: 4479 break; 4480 /* linux_reboot */ 4481 case 169: 4482 switch(ndx) { 4483 case 0: 4484 p = "l_int"; 4485 break; 4486 case 1: 4487 p = "l_int"; 4488 break; 4489 case 2: 4490 p = "l_uint"; 4491 break; 4492 case 3: 4493 p = "void *"; 4494 break; 4495 default: 4496 break; 4497 }; 4498 break; 4499 /* linux_sethostname */ 4500 case 170: 4501 switch(ndx) { 4502 case 0: 4503 p = "char *"; 4504 break; 4505 case 1: 4506 p = "l_uint"; 4507 break; 4508 default: 4509 break; 4510 }; 4511 break; 4512 /* linux_setdomainname */ 4513 case 171: 4514 switch(ndx) { 4515 case 0: 4516 p = "char *"; 4517 break; 4518 case 1: 4519 p = "l_int"; 4520 break; 4521 default: 4522 break; 4523 }; 4524 break; 4525 /* linux_iopl */ 4526 case 172: 4527 switch(ndx) { 4528 case 0: 4529 p = "l_uint"; 4530 break; 4531 default: 4532 break; 4533 }; 4534 break; 4535 /* linux_create_module */ 4536 case 174: 4537 break; 4538 /* linux_init_module */ 4539 case 175: 4540 break; 4541 /* linux_delete_module */ 4542 case 176: 4543 break; 4544 /* linux_get_kernel_syms */ 4545 case 177: 4546 break; 4547 /* linux_query_module */ 4548 case 178: 4549 break; 4550 /* linux_quotactl */ 4551 case 179: 4552 break; 4553 /* linux_nfsservctl */ 4554 case 180: 4555 break; 4556 /* linux_getpmsg */ 4557 case 181: 4558 break; 4559 /* linux_putpmsg */ 4560 case 182: 4561 break; 4562 /* linux_afs_syscall */ 4563 case 183: 4564 break; 4565 /* linux_tuxcall */ 4566 case 184: 4567 break; 4568 /* linux_security */ 4569 case 185: 4570 break; 4571 /* linux_gettid */ 4572 case 186: 4573 break; 4574 /* linux_setxattr */ 4575 case 188: 4576 break; 4577 /* linux_lsetxattr */ 4578 case 189: 4579 break; 4580 /* linux_fsetxattr */ 4581 case 190: 4582 break; 4583 /* linux_getxattr */ 4584 case 191: 4585 break; 4586 /* linux_lgetxattr */ 4587 case 192: 4588 break; 4589 /* linux_fgetxattr */ 4590 case 193: 4591 break; 4592 /* linux_listxattr */ 4593 case 194: 4594 break; 4595 /* linux_llistxattr */ 4596 case 195: 4597 break; 4598 /* linux_flistxattr */ 4599 case 196: 4600 break; 4601 /* linux_removexattr */ 4602 case 197: 4603 break; 4604 /* linux_lremovexattr */ 4605 case 198: 4606 break; 4607 /* linux_fremovexattr */ 4608 case 199: 4609 break; 4610 /* linux_tkill */ 4611 case 200: 4612 switch(ndx) { 4613 case 0: 4614 p = "int"; 4615 break; 4616 case 1: 4617 p = "int"; 4618 break; 4619 default: 4620 break; 4621 }; 4622 break; 4623 /* linux_time */ 4624 case 201: 4625 switch(ndx) { 4626 case 0: 4627 p = "l_time_t *"; 4628 break; 4629 default: 4630 break; 4631 }; 4632 break; 4633 /* linux_sys_futex */ 4634 case 202: 4635 switch(ndx) { 4636 case 0: 4637 p = "void *"; 4638 break; 4639 case 1: 4640 p = "int"; 4641 break; 4642 case 2: 4643 p = "int"; 4644 break; 4645 case 3: 4646 p = "struct l_timespec *"; 4647 break; 4648 case 4: 4649 p = "void *"; 4650 break; 4651 case 5: 4652 p = "int"; 4653 break; 4654 default: 4655 break; 4656 }; 4657 break; 4658 /* linux_sched_setaffinity */ 4659 case 203: 4660 switch(ndx) { 4661 case 0: 4662 p = "l_pid_t"; 4663 break; 4664 case 1: 4665 p = "l_uint"; 4666 break; 4667 case 2: 4668 p = "l_ulong *"; 4669 break; 4670 default: 4671 break; 4672 }; 4673 break; 4674 /* linux_sched_getaffinity */ 4675 case 204: 4676 switch(ndx) { 4677 case 0: 4678 p = "l_pid_t"; 4679 break; 4680 case 1: 4681 p = "l_uint"; 4682 break; 4683 case 2: 4684 p = "l_ulong *"; 4685 break; 4686 default: 4687 break; 4688 }; 4689 break; 4690 /* linux_set_thread_area */ 4691 case 205: 4692 break; 4693 /* linux_lookup_dcookie */ 4694 case 212: 4695 break; 4696 /* linux_epoll_create */ 4697 case 213: 4698 switch(ndx) { 4699 case 0: 4700 p = "l_int"; 4701 break; 4702 default: 4703 break; 4704 }; 4705 break; 4706 /* linux_epoll_ctl_old */ 4707 case 214: 4708 break; 4709 /* linux_epoll_wait_old */ 4710 case 215: 4711 break; 4712 /* linux_remap_file_pages */ 4713 case 216: 4714 break; 4715 /* linux_getdents64 */ 4716 case 217: 4717 switch(ndx) { 4718 case 0: 4719 p = "l_uint"; 4720 break; 4721 case 1: 4722 p = "void *"; 4723 break; 4724 case 2: 4725 p = "l_uint"; 4726 break; 4727 default: 4728 break; 4729 }; 4730 break; 4731 /* linux_set_tid_address */ 4732 case 218: 4733 switch(ndx) { 4734 case 0: 4735 p = "int *"; 4736 break; 4737 default: 4738 break; 4739 }; 4740 break; 4741 /* linux_semtimedop */ 4742 case 220: 4743 break; 4744 /* linux_fadvise64 */ 4745 case 221: 4746 switch(ndx) { 4747 case 0: 4748 p = "int"; 4749 break; 4750 case 1: 4751 p = "l_loff_t"; 4752 break; 4753 case 2: 4754 p = "l_size_t"; 4755 break; 4756 case 3: 4757 p = "int"; 4758 break; 4759 default: 4760 break; 4761 }; 4762 break; 4763 /* linux_timer_create */ 4764 case 222: 4765 switch(ndx) { 4766 case 0: 4767 p = "clockid_t"; 4768 break; 4769 case 1: 4770 p = "struct sigevent *"; 4771 break; 4772 case 2: 4773 p = "l_timer_t *"; 4774 break; 4775 default: 4776 break; 4777 }; 4778 break; 4779 /* linux_timer_settime */ 4780 case 223: 4781 switch(ndx) { 4782 case 0: 4783 p = "l_timer_t"; 4784 break; 4785 case 1: 4786 p = "l_int"; 4787 break; 4788 case 2: 4789 p = "const struct itimerspec *"; 4790 break; 4791 case 3: 4792 p = "struct itimerspec *"; 4793 break; 4794 default: 4795 break; 4796 }; 4797 break; 4798 /* linux_timer_gettime */ 4799 case 224: 4800 switch(ndx) { 4801 case 0: 4802 p = "l_timer_t"; 4803 break; 4804 case 1: 4805 p = "struct itimerspec *"; 4806 break; 4807 default: 4808 break; 4809 }; 4810 break; 4811 /* linux_timer_getoverrun */ 4812 case 225: 4813 switch(ndx) { 4814 case 0: 4815 p = "l_timer_t"; 4816 break; 4817 default: 4818 break; 4819 }; 4820 break; 4821 /* linux_timer_delete */ 4822 case 226: 4823 switch(ndx) { 4824 case 0: 4825 p = "l_timer_t"; 4826 break; 4827 default: 4828 break; 4829 }; 4830 break; 4831 /* linux_clock_settime */ 4832 case 227: 4833 switch(ndx) { 4834 case 0: 4835 p = "clockid_t"; 4836 break; 4837 case 1: 4838 p = "struct l_timespec *"; 4839 break; 4840 default: 4841 break; 4842 }; 4843 break; 4844 /* linux_clock_gettime */ 4845 case 228: 4846 switch(ndx) { 4847 case 0: 4848 p = "clockid_t"; 4849 break; 4850 case 1: 4851 p = "struct l_timespec *"; 4852 break; 4853 default: 4854 break; 4855 }; 4856 break; 4857 /* linux_clock_getres */ 4858 case 229: 4859 switch(ndx) { 4860 case 0: 4861 p = "clockid_t"; 4862 break; 4863 case 1: 4864 p = "struct l_timespec *"; 4865 break; 4866 default: 4867 break; 4868 }; 4869 break; 4870 /* linux_clock_nanosleep */ 4871 case 230: 4872 switch(ndx) { 4873 case 0: 4874 p = "clockid_t"; 4875 break; 4876 case 1: 4877 p = "int"; 4878 break; 4879 case 2: 4880 p = "struct l_timespec *"; 4881 break; 4882 case 3: 4883 p = "struct l_timespec *"; 4884 break; 4885 default: 4886 break; 4887 }; 4888 break; 4889 /* linux_exit_group */ 4890 case 231: 4891 switch(ndx) { 4892 case 0: 4893 p = "int"; 4894 break; 4895 default: 4896 break; 4897 }; 4898 break; 4899 /* linux_epoll_wait */ 4900 case 232: 4901 switch(ndx) { 4902 case 0: 4903 p = "l_int"; 4904 break; 4905 case 1: 4906 p = "struct epoll_event *"; 4907 break; 4908 case 2: 4909 p = "l_int"; 4910 break; 4911 case 3: 4912 p = "l_int"; 4913 break; 4914 default: 4915 break; 4916 }; 4917 break; 4918 /* linux_epoll_ctl */ 4919 case 233: 4920 switch(ndx) { 4921 case 0: 4922 p = "l_int"; 4923 break; 4924 case 1: 4925 p = "l_int"; 4926 break; 4927 case 2: 4928 p = "l_int"; 4929 break; 4930 case 3: 4931 p = "struct epoll_event *"; 4932 break; 4933 default: 4934 break; 4935 }; 4936 break; 4937 /* linux_tgkill */ 4938 case 234: 4939 switch(ndx) { 4940 case 0: 4941 p = "int"; 4942 break; 4943 case 1: 4944 p = "int"; 4945 break; 4946 case 2: 4947 p = "int"; 4948 break; 4949 default: 4950 break; 4951 }; 4952 break; 4953 /* linux_utimes */ 4954 case 235: 4955 switch(ndx) { 4956 case 0: 4957 p = "char *"; 4958 break; 4959 case 1: 4960 p = "struct l_timeval *"; 4961 break; 4962 default: 4963 break; 4964 }; 4965 break; 4966 /* linux_mbind */ 4967 case 237: 4968 break; 4969 /* linux_set_mempolicy */ 4970 case 238: 4971 break; 4972 /* linux_get_mempolicy */ 4973 case 239: 4974 break; 4975 /* linux_mq_open */ 4976 case 240: 4977 break; 4978 /* linux_mq_unlink */ 4979 case 241: 4980 break; 4981 /* linux_mq_timedsend */ 4982 case 242: 4983 break; 4984 /* linux_mq_timedreceive */ 4985 case 243: 4986 break; 4987 /* linux_mq_notify */ 4988 case 244: 4989 break; 4990 /* linux_mq_getsetattr */ 4991 case 245: 4992 break; 4993 /* linux_kexec_load */ 4994 case 246: 4995 break; 4996 /* linux_waitid */ 4997 case 247: 4998 switch(ndx) { 4999 case 0: 5000 p = "int"; 5001 break; 5002 case 1: 5003 p = "l_pid_t"; 5004 break; 5005 case 2: 5006 p = "l_siginfo_t *"; 5007 break; 5008 case 3: 5009 p = "int"; 5010 break; 5011 case 4: 5012 p = "struct rusage *"; 5013 break; 5014 default: 5015 break; 5016 }; 5017 break; 5018 /* linux_add_key */ 5019 case 248: 5020 break; 5021 /* linux_request_key */ 5022 case 249: 5023 break; 5024 /* linux_keyctl */ 5025 case 250: 5026 break; 5027 /* linux_ioprio_set */ 5028 case 251: 5029 break; 5030 /* linux_ioprio_get */ 5031 case 252: 5032 break; 5033 /* linux_inotify_init */ 5034 case 253: 5035 break; 5036 /* linux_inotify_add_watch */ 5037 case 254: 5038 break; 5039 /* linux_inotify_rm_watch */ 5040 case 255: 5041 break; 5042 /* linux_migrate_pages */ 5043 case 256: 5044 break; 5045 /* linux_openat */ 5046 case 257: 5047 switch(ndx) { 5048 case 0: 5049 p = "l_int"; 5050 break; 5051 case 1: 5052 p = "const char *"; 5053 break; 5054 case 2: 5055 p = "l_int"; 5056 break; 5057 case 3: 5058 p = "l_int"; 5059 break; 5060 default: 5061 break; 5062 }; 5063 break; 5064 /* linux_mkdirat */ 5065 case 258: 5066 switch(ndx) { 5067 case 0: 5068 p = "l_int"; 5069 break; 5070 case 1: 5071 p = "const char *"; 5072 break; 5073 case 2: 5074 p = "l_int"; 5075 break; 5076 default: 5077 break; 5078 }; 5079 break; 5080 /* linux_mknodat */ 5081 case 259: 5082 switch(ndx) { 5083 case 0: 5084 p = "l_int"; 5085 break; 5086 case 1: 5087 p = "const char *"; 5088 break; 5089 case 2: 5090 p = "l_int"; 5091 break; 5092 case 3: 5093 p = "l_uint"; 5094 break; 5095 default: 5096 break; 5097 }; 5098 break; 5099 /* linux_fchownat */ 5100 case 260: 5101 switch(ndx) { 5102 case 0: 5103 p = "l_int"; 5104 break; 5105 case 1: 5106 p = "const char *"; 5107 break; 5108 case 2: 5109 p = "l_uid_t"; 5110 break; 5111 case 3: 5112 p = "l_gid_t"; 5113 break; 5114 case 4: 5115 p = "l_int"; 5116 break; 5117 default: 5118 break; 5119 }; 5120 break; 5121 /* linux_futimesat */ 5122 case 261: 5123 switch(ndx) { 5124 case 0: 5125 p = "l_int"; 5126 break; 5127 case 1: 5128 p = "char *"; 5129 break; 5130 case 2: 5131 p = "struct l_timeval *"; 5132 break; 5133 default: 5134 break; 5135 }; 5136 break; 5137 /* linux_newfstatat */ 5138 case 262: 5139 switch(ndx) { 5140 case 0: 5141 p = "l_int"; 5142 break; 5143 case 1: 5144 p = "char *"; 5145 break; 5146 case 2: 5147 p = "struct l_stat64 *"; 5148 break; 5149 case 3: 5150 p = "l_int"; 5151 break; 5152 default: 5153 break; 5154 }; 5155 break; 5156 /* linux_unlinkat */ 5157 case 263: 5158 switch(ndx) { 5159 case 0: 5160 p = "l_int"; 5161 break; 5162 case 1: 5163 p = "const char *"; 5164 break; 5165 case 2: 5166 p = "l_int"; 5167 break; 5168 default: 5169 break; 5170 }; 5171 break; 5172 /* linux_renameat */ 5173 case 264: 5174 switch(ndx) { 5175 case 0: 5176 p = "l_int"; 5177 break; 5178 case 1: 5179 p = "const char *"; 5180 break; 5181 case 2: 5182 p = "l_int"; 5183 break; 5184 case 3: 5185 p = "const char *"; 5186 break; 5187 default: 5188 break; 5189 }; 5190 break; 5191 /* linux_linkat */ 5192 case 265: 5193 switch(ndx) { 5194 case 0: 5195 p = "l_int"; 5196 break; 5197 case 1: 5198 p = "const char *"; 5199 break; 5200 case 2: 5201 p = "l_int"; 5202 break; 5203 case 3: 5204 p = "const char *"; 5205 break; 5206 case 4: 5207 p = "l_int"; 5208 break; 5209 default: 5210 break; 5211 }; 5212 break; 5213 /* linux_symlinkat */ 5214 case 266: 5215 switch(ndx) { 5216 case 0: 5217 p = "const char *"; 5218 break; 5219 case 1: 5220 p = "l_int"; 5221 break; 5222 case 2: 5223 p = "const char *"; 5224 break; 5225 default: 5226 break; 5227 }; 5228 break; 5229 /* linux_readlinkat */ 5230 case 267: 5231 switch(ndx) { 5232 case 0: 5233 p = "l_int"; 5234 break; 5235 case 1: 5236 p = "const char *"; 5237 break; 5238 case 2: 5239 p = "char *"; 5240 break; 5241 case 3: 5242 p = "l_int"; 5243 break; 5244 default: 5245 break; 5246 }; 5247 break; 5248 /* linux_fchmodat */ 5249 case 268: 5250 switch(ndx) { 5251 case 0: 5252 p = "l_int"; 5253 break; 5254 case 1: 5255 p = "const char *"; 5256 break; 5257 case 2: 5258 p = "l_mode_t"; 5259 break; 5260 default: 5261 break; 5262 }; 5263 break; 5264 /* linux_faccessat */ 5265 case 269: 5266 switch(ndx) { 5267 case 0: 5268 p = "l_int"; 5269 break; 5270 case 1: 5271 p = "const char *"; 5272 break; 5273 case 2: 5274 p = "l_int"; 5275 break; 5276 default: 5277 break; 5278 }; 5279 break; 5280 /* linux_pselect6 */ 5281 case 270: 5282 switch(ndx) { 5283 case 0: 5284 p = "l_int"; 5285 break; 5286 case 1: 5287 p = "l_fd_set *"; 5288 break; 5289 case 2: 5290 p = "l_fd_set *"; 5291 break; 5292 case 3: 5293 p = "l_fd_set *"; 5294 break; 5295 case 4: 5296 p = "struct l_timespec *"; 5297 break; 5298 case 5: 5299 p = "l_uintptr_t *"; 5300 break; 5301 default: 5302 break; 5303 }; 5304 break; 5305 /* linux_ppoll */ 5306 case 271: 5307 switch(ndx) { 5308 case 0: 5309 p = "struct pollfd *"; 5310 break; 5311 case 1: 5312 p = "uint32_t"; 5313 break; 5314 case 2: 5315 p = "struct l_timespec *"; 5316 break; 5317 case 3: 5318 p = "l_sigset_t *"; 5319 break; 5320 case 4: 5321 p = "l_size_t"; 5322 break; 5323 default: 5324 break; 5325 }; 5326 break; 5327 /* linux_unshare */ 5328 case 272: 5329 break; 5330 /* linux_set_robust_list */ 5331 case 273: 5332 switch(ndx) { 5333 case 0: 5334 p = "struct linux_robust_list_head *"; 5335 break; 5336 case 1: 5337 p = "l_size_t"; 5338 break; 5339 default: 5340 break; 5341 }; 5342 break; 5343 /* linux_get_robust_list */ 5344 case 274: 5345 switch(ndx) { 5346 case 0: 5347 p = "l_int"; 5348 break; 5349 case 1: 5350 p = "struct linux_robust_list_head *"; 5351 break; 5352 case 2: 5353 p = "l_size_t *"; 5354 break; 5355 default: 5356 break; 5357 }; 5358 break; 5359 /* linux_splice */ 5360 case 275: 5361 break; 5362 /* linux_tee */ 5363 case 276: 5364 break; 5365 /* linux_sync_file_range */ 5366 case 277: 5367 break; 5368 /* linux_vmsplice */ 5369 case 278: 5370 break; 5371 /* linux_move_pages */ 5372 case 279: 5373 break; 5374 /* linux_utimensat */ 5375 case 280: 5376 switch(ndx) { 5377 case 0: 5378 p = "l_int"; 5379 break; 5380 case 1: 5381 p = "const char *"; 5382 break; 5383 case 2: 5384 p = "const struct l_timespec *"; 5385 break; 5386 case 3: 5387 p = "l_int"; 5388 break; 5389 default: 5390 break; 5391 }; 5392 break; 5393 /* linux_epoll_pwait */ 5394 case 281: 5395 switch(ndx) { 5396 case 0: 5397 p = "l_int"; 5398 break; 5399 case 1: 5400 p = "struct epoll_event *"; 5401 break; 5402 case 2: 5403 p = "l_int"; 5404 break; 5405 case 3: 5406 p = "l_int"; 5407 break; 5408 case 4: 5409 p = "l_sigset_t *"; 5410 break; 5411 default: 5412 break; 5413 }; 5414 break; 5415 /* linux_signalfd */ 5416 case 282: 5417 break; 5418 /* linux_timerfd */ 5419 case 283: 5420 break; 5421 /* linux_eventfd */ 5422 case 284: 5423 switch(ndx) { 5424 case 0: 5425 p = "l_uint"; 5426 break; 5427 default: 5428 break; 5429 }; 5430 break; 5431 /* linux_fallocate */ 5432 case 285: 5433 switch(ndx) { 5434 case 0: 5435 p = "l_int"; 5436 break; 5437 case 1: 5438 p = "l_int"; 5439 break; 5440 case 2: 5441 p = "l_loff_t"; 5442 break; 5443 case 3: 5444 p = "l_loff_t"; 5445 break; 5446 default: 5447 break; 5448 }; 5449 break; 5450 /* linux_timerfd_settime */ 5451 case 286: 5452 break; 5453 /* linux_timerfd_gettime */ 5454 case 287: 5455 break; 5456 /* linux_accept4 */ 5457 case 288: 5458 switch(ndx) { 5459 case 0: 5460 p = "l_int"; 5461 break; 5462 case 1: 5463 p = "l_uintptr_t"; 5464 break; 5465 case 2: 5466 p = "l_uintptr_t"; 5467 break; 5468 case 3: 5469 p = "int"; 5470 break; 5471 default: 5472 break; 5473 }; 5474 break; 5475 /* linux_signalfd4 */ 5476 case 289: 5477 break; 5478 /* linux_eventfd2 */ 5479 case 290: 5480 switch(ndx) { 5481 case 0: 5482 p = "l_uint"; 5483 break; 5484 case 1: 5485 p = "l_int"; 5486 break; 5487 default: 5488 break; 5489 }; 5490 break; 5491 /* linux_epoll_create1 */ 5492 case 291: 5493 switch(ndx) { 5494 case 0: 5495 p = "l_int"; 5496 break; 5497 default: 5498 break; 5499 }; 5500 break; 5501 /* linux_dup3 */ 5502 case 292: 5503 switch(ndx) { 5504 case 0: 5505 p = "l_int"; 5506 break; 5507 case 1: 5508 p = "l_int"; 5509 break; 5510 case 2: 5511 p = "l_int"; 5512 break; 5513 default: 5514 break; 5515 }; 5516 break; 5517 /* linux_pipe2 */ 5518 case 293: 5519 switch(ndx) { 5520 case 0: 5521 p = "l_int *"; 5522 break; 5523 case 1: 5524 p = "l_int"; 5525 break; 5526 default: 5527 break; 5528 }; 5529 break; 5530 /* linux_inotify_init1 */ 5531 case 294: 5532 break; 5533 /* linux_preadv */ 5534 case 295: 5535 break; 5536 /* linux_pwritev */ 5537 case 296: 5538 break; 5539 /* linux_rt_tsigqueueinfo */ 5540 case 297: 5541 break; 5542 /* linux_perf_event_open */ 5543 case 298: 5544 break; 5545 /* linux_recvmmsg */ 5546 case 299: 5547 switch(ndx) { 5548 case 0: 5549 p = "l_int"; 5550 break; 5551 case 1: 5552 p = "struct l_mmsghdr *"; 5553 break; 5554 case 2: 5555 p = "l_uint"; 5556 break; 5557 case 3: 5558 p = "l_uint"; 5559 break; 5560 case 4: 5561 p = "struct l_timespec *"; 5562 break; 5563 default: 5564 break; 5565 }; 5566 break; 5567 /* linux_fanotify_init */ 5568 case 300: 5569 break; 5570 /* linux_fanotify_mark */ 5571 case 301: 5572 break; 5573 /* linux_prlimit64 */ 5574 case 302: 5575 switch(ndx) { 5576 case 0: 5577 p = "l_pid_t"; 5578 break; 5579 case 1: 5580 p = "l_uint"; 5581 break; 5582 case 2: 5583 p = "struct rlimit *"; 5584 break; 5585 case 3: 5586 p = "struct rlimit *"; 5587 break; 5588 default: 5589 break; 5590 }; 5591 break; 5592 /* linux_name_to_handle_at */ 5593 case 303: 5594 break; 5595 /* linux_open_by_handle_at */ 5596 case 304: 5597 break; 5598 /* linux_clock_adjtime */ 5599 case 305: 5600 break; 5601 /* linux_syncfs */ 5602 case 306: 5603 switch(ndx) { 5604 case 0: 5605 p = "l_int"; 5606 break; 5607 default: 5608 break; 5609 }; 5610 break; 5611 /* linux_sendmmsg */ 5612 case 307: 5613 switch(ndx) { 5614 case 0: 5615 p = "l_int"; 5616 break; 5617 case 1: 5618 p = "struct l_mmsghdr *"; 5619 break; 5620 case 2: 5621 p = "l_uint"; 5622 break; 5623 case 3: 5624 p = "l_uint"; 5625 break; 5626 default: 5627 break; 5628 }; 5629 break; 5630 /* linux_setns */ 5631 case 308: 5632 break; 5633 /* linux_process_vm_readv */ 5634 case 309: 5635 break; 5636 /* linux_process_vm_writev */ 5637 case 310: 5638 break; 5639 /* linux_kcmp */ 5640 case 311: 5641 break; 5642 /* linux_finit_module */ 5643 case 312: 5644 break; 5645 default: 5646 break; 5647 }; 5648 if (p != NULL) 5649 strlcpy(desc, p, descsz); 5650 } 5651 static void 5652 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5653 { 5654 const char *p = NULL; 5655 switch (sysnum) { 5656 #define nosys linux_nosys 5657 /* read */ 5658 case 0: 5659 if (ndx == 0 || ndx == 1) 5660 p = "int"; 5661 break; 5662 /* write */ 5663 case 1: 5664 if (ndx == 0 || ndx == 1) 5665 p = "int"; 5666 break; 5667 /* linux_open */ 5668 case 2: 5669 if (ndx == 0 || ndx == 1) 5670 p = "int"; 5671 break; 5672 /* close */ 5673 case 3: 5674 if (ndx == 0 || ndx == 1) 5675 p = "int"; 5676 break; 5677 /* linux_newstat */ 5678 case 4: 5679 if (ndx == 0 || ndx == 1) 5680 p = "int"; 5681 break; 5682 /* linux_newfstat */ 5683 case 5: 5684 if (ndx == 0 || ndx == 1) 5685 p = "int"; 5686 break; 5687 /* linux_newlstat */ 5688 case 6: 5689 if (ndx == 0 || ndx == 1) 5690 p = "int"; 5691 break; 5692 /* poll */ 5693 case 7: 5694 if (ndx == 0 || ndx == 1) 5695 p = "int"; 5696 break; 5697 /* linux_lseek */ 5698 case 8: 5699 if (ndx == 0 || ndx == 1) 5700 p = "int"; 5701 break; 5702 /* linux_mmap2 */ 5703 case 9: 5704 if (ndx == 0 || ndx == 1) 5705 p = "int"; 5706 break; 5707 /* linux_mprotect */ 5708 case 10: 5709 if (ndx == 0 || ndx == 1) 5710 p = "int"; 5711 break; 5712 /* munmap */ 5713 case 11: 5714 if (ndx == 0 || ndx == 1) 5715 p = "int"; 5716 break; 5717 /* linux_brk */ 5718 case 12: 5719 if (ndx == 0 || ndx == 1) 5720 p = "int"; 5721 break; 5722 /* linux_rt_sigaction */ 5723 case 13: 5724 if (ndx == 0 || ndx == 1) 5725 p = "int"; 5726 break; 5727 /* linux_rt_sigprocmask */ 5728 case 14: 5729 if (ndx == 0 || ndx == 1) 5730 p = "int"; 5731 break; 5732 /* linux_rt_sigreturn */ 5733 case 15: 5734 if (ndx == 0 || ndx == 1) 5735 p = "int"; 5736 break; 5737 /* linux_ioctl */ 5738 case 16: 5739 if (ndx == 0 || ndx == 1) 5740 p = "int"; 5741 break; 5742 /* linux_pread */ 5743 case 17: 5744 if (ndx == 0 || ndx == 1) 5745 p = "int"; 5746 break; 5747 /* linux_pwrite */ 5748 case 18: 5749 if (ndx == 0 || ndx == 1) 5750 p = "int"; 5751 break; 5752 /* readv */ 5753 case 19: 5754 if (ndx == 0 || ndx == 1) 5755 p = "int"; 5756 break; 5757 /* writev */ 5758 case 20: 5759 if (ndx == 0 || ndx == 1) 5760 p = "int"; 5761 break; 5762 /* linux_access */ 5763 case 21: 5764 if (ndx == 0 || ndx == 1) 5765 p = "int"; 5766 break; 5767 /* linux_pipe */ 5768 case 22: 5769 if (ndx == 0 || ndx == 1) 5770 p = "int"; 5771 break; 5772 /* linux_select */ 5773 case 23: 5774 if (ndx == 0 || ndx == 1) 5775 p = "int"; 5776 break; 5777 /* sched_yield */ 5778 case 24: 5779 /* linux_mremap */ 5780 case 25: 5781 if (ndx == 0 || ndx == 1) 5782 p = "int"; 5783 break; 5784 /* linux_msync */ 5785 case 26: 5786 if (ndx == 0 || ndx == 1) 5787 p = "int"; 5788 break; 5789 /* linux_mincore */ 5790 case 27: 5791 if (ndx == 0 || ndx == 1) 5792 p = "int"; 5793 break; 5794 /* madvise */ 5795 case 28: 5796 if (ndx == 0 || ndx == 1) 5797 p = "int"; 5798 break; 5799 /* linux_shmget */ 5800 case 29: 5801 if (ndx == 0 || ndx == 1) 5802 p = "int"; 5803 break; 5804 /* linux_shmat */ 5805 case 30: 5806 if (ndx == 0 || ndx == 1) 5807 p = "int"; 5808 break; 5809 /* linux_shmctl */ 5810 case 31: 5811 if (ndx == 0 || ndx == 1) 5812 p = "int"; 5813 break; 5814 /* dup */ 5815 case 32: 5816 if (ndx == 0 || ndx == 1) 5817 p = "int"; 5818 break; 5819 /* dup2 */ 5820 case 33: 5821 if (ndx == 0 || ndx == 1) 5822 p = "int"; 5823 break; 5824 /* linux_pause */ 5825 case 34: 5826 /* linux_nanosleep */ 5827 case 35: 5828 if (ndx == 0 || ndx == 1) 5829 p = "int"; 5830 break; 5831 /* linux_getitimer */ 5832 case 36: 5833 if (ndx == 0 || ndx == 1) 5834 p = "int"; 5835 break; 5836 /* linux_alarm */ 5837 case 37: 5838 if (ndx == 0 || ndx == 1) 5839 p = "int"; 5840 break; 5841 /* linux_setitimer */ 5842 case 38: 5843 if (ndx == 0 || ndx == 1) 5844 p = "int"; 5845 break; 5846 /* linux_getpid */ 5847 case 39: 5848 /* linux_sendfile */ 5849 case 40: 5850 if (ndx == 0 || ndx == 1) 5851 p = "int"; 5852 break; 5853 /* linux_socket */ 5854 case 41: 5855 if (ndx == 0 || ndx == 1) 5856 p = "int"; 5857 break; 5858 /* linux_connect */ 5859 case 42: 5860 if (ndx == 0 || ndx == 1) 5861 p = "int"; 5862 break; 5863 /* linux_accept */ 5864 case 43: 5865 if (ndx == 0 || ndx == 1) 5866 p = "int"; 5867 break; 5868 /* linux_sendto */ 5869 case 44: 5870 if (ndx == 0 || ndx == 1) 5871 p = "int"; 5872 break; 5873 /* linux_recvfrom */ 5874 case 45: 5875 if (ndx == 0 || ndx == 1) 5876 p = "int"; 5877 break; 5878 /* linux_sendmsg */ 5879 case 46: 5880 if (ndx == 0 || ndx == 1) 5881 p = "int"; 5882 break; 5883 /* linux_recvmsg */ 5884 case 47: 5885 if (ndx == 0 || ndx == 1) 5886 p = "int"; 5887 break; 5888 /* linux_shutdown */ 5889 case 48: 5890 if (ndx == 0 || ndx == 1) 5891 p = "int"; 5892 break; 5893 /* linux_bind */ 5894 case 49: 5895 if (ndx == 0 || ndx == 1) 5896 p = "int"; 5897 break; 5898 /* linux_listen */ 5899 case 50: 5900 if (ndx == 0 || ndx == 1) 5901 p = "int"; 5902 break; 5903 /* linux_getsockname */ 5904 case 51: 5905 if (ndx == 0 || ndx == 1) 5906 p = "int"; 5907 break; 5908 /* linux_getpeername */ 5909 case 52: 5910 if (ndx == 0 || ndx == 1) 5911 p = "int"; 5912 break; 5913 /* linux_socketpair */ 5914 case 53: 5915 if (ndx == 0 || ndx == 1) 5916 p = "int"; 5917 break; 5918 /* linux_setsockopt */ 5919 case 54: 5920 if (ndx == 0 || ndx == 1) 5921 p = "int"; 5922 break; 5923 /* linux_getsockopt */ 5924 case 55: 5925 if (ndx == 0 || ndx == 1) 5926 p = "int"; 5927 break; 5928 /* linux_clone */ 5929 case 56: 5930 if (ndx == 0 || ndx == 1) 5931 p = "int"; 5932 break; 5933 /* linux_fork */ 5934 case 57: 5935 /* linux_vfork */ 5936 case 58: 5937 /* linux_execve */ 5938 case 59: 5939 if (ndx == 0 || ndx == 1) 5940 p = "int"; 5941 break; 5942 /* linux_exit */ 5943 case 60: 5944 if (ndx == 0 || ndx == 1) 5945 p = "void"; 5946 break; 5947 /* linux_wait4 */ 5948 case 61: 5949 if (ndx == 0 || ndx == 1) 5950 p = "int"; 5951 break; 5952 /* linux_kill */ 5953 case 62: 5954 if (ndx == 0 || ndx == 1) 5955 p = "int"; 5956 break; 5957 /* linux_newuname */ 5958 case 63: 5959 if (ndx == 0 || ndx == 1) 5960 p = "int"; 5961 break; 5962 /* linux_semget */ 5963 case 64: 5964 if (ndx == 0 || ndx == 1) 5965 p = "int"; 5966 break; 5967 /* linux_semop */ 5968 case 65: 5969 if (ndx == 0 || ndx == 1) 5970 p = "int"; 5971 break; 5972 /* linux_semctl */ 5973 case 66: 5974 if (ndx == 0 || ndx == 1) 5975 p = "int"; 5976 break; 5977 /* linux_shmdt */ 5978 case 67: 5979 if (ndx == 0 || ndx == 1) 5980 p = "int"; 5981 break; 5982 /* linux_msgget */ 5983 case 68: 5984 if (ndx == 0 || ndx == 1) 5985 p = "int"; 5986 break; 5987 /* linux_msgsnd */ 5988 case 69: 5989 if (ndx == 0 || ndx == 1) 5990 p = "int"; 5991 break; 5992 /* linux_msgrcv */ 5993 case 70: 5994 if (ndx == 0 || ndx == 1) 5995 p = "int"; 5996 break; 5997 /* linux_msgctl */ 5998 case 71: 5999 if (ndx == 0 || ndx == 1) 6000 p = "int"; 6001 break; 6002 /* linux_fcntl */ 6003 case 72: 6004 if (ndx == 0 || ndx == 1) 6005 p = "int"; 6006 break; 6007 /* flock */ 6008 case 73: 6009 if (ndx == 0 || ndx == 1) 6010 p = "int"; 6011 break; 6012 /* fsync */ 6013 case 74: 6014 if (ndx == 0 || ndx == 1) 6015 p = "int"; 6016 break; 6017 /* linux_fdatasync */ 6018 case 75: 6019 if (ndx == 0 || ndx == 1) 6020 p = "int"; 6021 break; 6022 /* linux_truncate */ 6023 case 76: 6024 if (ndx == 0 || ndx == 1) 6025 p = "int"; 6026 break; 6027 /* linux_ftruncate */ 6028 case 77: 6029 if (ndx == 0 || ndx == 1) 6030 p = "int"; 6031 break; 6032 /* linux_getdents */ 6033 case 78: 6034 if (ndx == 0 || ndx == 1) 6035 p = "int"; 6036 break; 6037 /* linux_getcwd */ 6038 case 79: 6039 if (ndx == 0 || ndx == 1) 6040 p = "int"; 6041 break; 6042 /* linux_chdir */ 6043 case 80: 6044 if (ndx == 0 || ndx == 1) 6045 p = "int"; 6046 break; 6047 /* fchdir */ 6048 case 81: 6049 if (ndx == 0 || ndx == 1) 6050 p = "int"; 6051 break; 6052 /* linux_rename */ 6053 case 82: 6054 if (ndx == 0 || ndx == 1) 6055 p = "int"; 6056 break; 6057 /* linux_mkdir */ 6058 case 83: 6059 if (ndx == 0 || ndx == 1) 6060 p = "int"; 6061 break; 6062 /* linux_rmdir */ 6063 case 84: 6064 if (ndx == 0 || ndx == 1) 6065 p = "int"; 6066 break; 6067 /* linux_creat */ 6068 case 85: 6069 if (ndx == 0 || ndx == 1) 6070 p = "int"; 6071 break; 6072 /* linux_link */ 6073 case 86: 6074 if (ndx == 0 || ndx == 1) 6075 p = "int"; 6076 break; 6077 /* linux_unlink */ 6078 case 87: 6079 if (ndx == 0 || ndx == 1) 6080 p = "int"; 6081 break; 6082 /* linux_symlink */ 6083 case 88: 6084 if (ndx == 0 || ndx == 1) 6085 p = "int"; 6086 break; 6087 /* linux_readlink */ 6088 case 89: 6089 if (ndx == 0 || ndx == 1) 6090 p = "int"; 6091 break; 6092 /* linux_chmod */ 6093 case 90: 6094 if (ndx == 0 || ndx == 1) 6095 p = "int"; 6096 break; 6097 /* fchmod */ 6098 case 91: 6099 if (ndx == 0 || ndx == 1) 6100 p = "int"; 6101 break; 6102 /* linux_chown */ 6103 case 92: 6104 if (ndx == 0 || ndx == 1) 6105 p = "int"; 6106 break; 6107 /* fchown */ 6108 case 93: 6109 if (ndx == 0 || ndx == 1) 6110 p = "int"; 6111 break; 6112 /* linux_lchown */ 6113 case 94: 6114 if (ndx == 0 || ndx == 1) 6115 p = "int"; 6116 break; 6117 /* umask */ 6118 case 95: 6119 if (ndx == 0 || ndx == 1) 6120 p = "int"; 6121 break; 6122 /* gettimeofday */ 6123 case 96: 6124 if (ndx == 0 || ndx == 1) 6125 p = "int"; 6126 break; 6127 /* linux_getrlimit */ 6128 case 97: 6129 if (ndx == 0 || ndx == 1) 6130 p = "int"; 6131 break; 6132 /* getrusage */ 6133 case 98: 6134 if (ndx == 0 || ndx == 1) 6135 p = "int"; 6136 break; 6137 /* linux_sysinfo */ 6138 case 99: 6139 if (ndx == 0 || ndx == 1) 6140 p = "int"; 6141 break; 6142 /* linux_times */ 6143 case 100: 6144 if (ndx == 0 || ndx == 1) 6145 p = "int"; 6146 break; 6147 /* linux_ptrace */ 6148 case 101: 6149 if (ndx == 0 || ndx == 1) 6150 p = "int"; 6151 break; 6152 /* linux_getuid */ 6153 case 102: 6154 /* linux_syslog */ 6155 case 103: 6156 if (ndx == 0 || ndx == 1) 6157 p = "int"; 6158 break; 6159 /* linux_getgid */ 6160 case 104: 6161 /* setuid */ 6162 case 105: 6163 if (ndx == 0 || ndx == 1) 6164 p = "int"; 6165 break; 6166 /* setgid */ 6167 case 106: 6168 if (ndx == 0 || ndx == 1) 6169 p = "int"; 6170 break; 6171 /* geteuid */ 6172 case 107: 6173 /* getegid */ 6174 case 108: 6175 /* setpgid */ 6176 case 109: 6177 if (ndx == 0 || ndx == 1) 6178 p = "int"; 6179 break; 6180 /* linux_getppid */ 6181 case 110: 6182 /* getpgrp */ 6183 case 111: 6184 /* setsid */ 6185 case 112: 6186 /* setreuid */ 6187 case 113: 6188 if (ndx == 0 || ndx == 1) 6189 p = "int"; 6190 break; 6191 /* setregid */ 6192 case 114: 6193 if (ndx == 0 || ndx == 1) 6194 p = "int"; 6195 break; 6196 /* linux_getgroups */ 6197 case 115: 6198 if (ndx == 0 || ndx == 1) 6199 p = "int"; 6200 break; 6201 /* linux_setgroups */ 6202 case 116: 6203 if (ndx == 0 || ndx == 1) 6204 p = "int"; 6205 break; 6206 /* setresuid */ 6207 case 117: 6208 if (ndx == 0 || ndx == 1) 6209 p = "int"; 6210 break; 6211 /* getresuid */ 6212 case 118: 6213 if (ndx == 0 || ndx == 1) 6214 p = "int"; 6215 break; 6216 /* setresgid */ 6217 case 119: 6218 if (ndx == 0 || ndx == 1) 6219 p = "int"; 6220 break; 6221 /* getresgid */ 6222 case 120: 6223 if (ndx == 0 || ndx == 1) 6224 p = "int"; 6225 break; 6226 /* getpgid */ 6227 case 121: 6228 if (ndx == 0 || ndx == 1) 6229 p = "int"; 6230 break; 6231 /* linux_setfsuid */ 6232 case 122: 6233 if (ndx == 0 || ndx == 1) 6234 p = "int"; 6235 break; 6236 /* linux_setfsgid */ 6237 case 123: 6238 if (ndx == 0 || ndx == 1) 6239 p = "int"; 6240 break; 6241 /* linux_getsid */ 6242 case 124: 6243 if (ndx == 0 || ndx == 1) 6244 p = "int"; 6245 break; 6246 /* linux_capget */ 6247 case 125: 6248 if (ndx == 0 || ndx == 1) 6249 p = "int"; 6250 break; 6251 /* linux_capset */ 6252 case 126: 6253 if (ndx == 0 || ndx == 1) 6254 p = "int"; 6255 break; 6256 /* linux_rt_sigpending */ 6257 case 127: 6258 if (ndx == 0 || ndx == 1) 6259 p = "int"; 6260 break; 6261 /* linux_rt_sigtimedwait */ 6262 case 128: 6263 if (ndx == 0 || ndx == 1) 6264 p = "int"; 6265 break; 6266 /* linux_rt_sigqueueinfo */ 6267 case 129: 6268 if (ndx == 0 || ndx == 1) 6269 p = "int"; 6270 break; 6271 /* linux_rt_sigsuspend */ 6272 case 130: 6273 if (ndx == 0 || ndx == 1) 6274 p = "int"; 6275 break; 6276 /* linux_sigaltstack */ 6277 case 131: 6278 if (ndx == 0 || ndx == 1) 6279 p = "int"; 6280 break; 6281 /* linux_utime */ 6282 case 132: 6283 if (ndx == 0 || ndx == 1) 6284 p = "int"; 6285 break; 6286 /* linux_mknod */ 6287 case 133: 6288 if (ndx == 0 || ndx == 1) 6289 p = "int"; 6290 break; 6291 /* linux_personality */ 6292 case 135: 6293 if (ndx == 0 || ndx == 1) 6294 p = "int"; 6295 break; 6296 /* linux_ustat */ 6297 case 136: 6298 if (ndx == 0 || ndx == 1) 6299 p = "int"; 6300 break; 6301 /* linux_statfs */ 6302 case 137: 6303 if (ndx == 0 || ndx == 1) 6304 p = "int"; 6305 break; 6306 /* linux_fstatfs */ 6307 case 138: 6308 if (ndx == 0 || ndx == 1) 6309 p = "int"; 6310 break; 6311 /* linux_sysfs */ 6312 case 139: 6313 if (ndx == 0 || ndx == 1) 6314 p = "int"; 6315 break; 6316 /* linux_getpriority */ 6317 case 140: 6318 if (ndx == 0 || ndx == 1) 6319 p = "int"; 6320 break; 6321 /* setpriority */ 6322 case 141: 6323 if (ndx == 0 || ndx == 1) 6324 p = "int"; 6325 break; 6326 /* linux_sched_setparam */ 6327 case 142: 6328 if (ndx == 0 || ndx == 1) 6329 p = "int"; 6330 break; 6331 /* linux_sched_getparam */ 6332 case 143: 6333 if (ndx == 0 || ndx == 1) 6334 p = "int"; 6335 break; 6336 /* linux_sched_setscheduler */ 6337 case 144: 6338 if (ndx == 0 || ndx == 1) 6339 p = "int"; 6340 break; 6341 /* linux_sched_getscheduler */ 6342 case 145: 6343 if (ndx == 0 || ndx == 1) 6344 p = "int"; 6345 break; 6346 /* linux_sched_get_priority_max */ 6347 case 146: 6348 if (ndx == 0 || ndx == 1) 6349 p = "int"; 6350 break; 6351 /* linux_sched_get_priority_min */ 6352 case 147: 6353 if (ndx == 0 || ndx == 1) 6354 p = "int"; 6355 break; 6356 /* linux_sched_rr_get_interval */ 6357 case 148: 6358 if (ndx == 0 || ndx == 1) 6359 p = "int"; 6360 break; 6361 /* mlock */ 6362 case 149: 6363 if (ndx == 0 || ndx == 1) 6364 p = "int"; 6365 break; 6366 /* munlock */ 6367 case 150: 6368 if (ndx == 0 || ndx == 1) 6369 p = "int"; 6370 break; 6371 /* mlockall */ 6372 case 151: 6373 if (ndx == 0 || ndx == 1) 6374 p = "int"; 6375 break; 6376 /* munlockall */ 6377 case 152: 6378 /* linux_vhangup */ 6379 case 153: 6380 /* linux_pivot_root */ 6381 case 155: 6382 /* linux_sysctl */ 6383 case 156: 6384 if (ndx == 0 || ndx == 1) 6385 p = "int"; 6386 break; 6387 /* linux_prctl */ 6388 case 157: 6389 if (ndx == 0 || ndx == 1) 6390 p = "int"; 6391 break; 6392 /* linux_arch_prctl */ 6393 case 158: 6394 if (ndx == 0 || ndx == 1) 6395 p = "int"; 6396 break; 6397 /* linux_adjtimex */ 6398 case 159: 6399 /* linux_setrlimit */ 6400 case 160: 6401 if (ndx == 0 || ndx == 1) 6402 p = "int"; 6403 break; 6404 /* chroot */ 6405 case 161: 6406 if (ndx == 0 || ndx == 1) 6407 p = "int"; 6408 break; 6409 /* sync */ 6410 case 162: 6411 /* acct */ 6412 case 163: 6413 if (ndx == 0 || ndx == 1) 6414 p = "int"; 6415 break; 6416 /* settimeofday */ 6417 case 164: 6418 if (ndx == 0 || ndx == 1) 6419 p = "int"; 6420 break; 6421 /* linux_mount */ 6422 case 165: 6423 if (ndx == 0 || ndx == 1) 6424 p = "int"; 6425 break; 6426 /* linux_umount */ 6427 case 166: 6428 if (ndx == 0 || ndx == 1) 6429 p = "int"; 6430 break; 6431 /* swapon */ 6432 case 167: 6433 if (ndx == 0 || ndx == 1) 6434 p = "int"; 6435 break; 6436 /* linux_swapoff */ 6437 case 168: 6438 /* linux_reboot */ 6439 case 169: 6440 if (ndx == 0 || ndx == 1) 6441 p = "int"; 6442 break; 6443 /* linux_sethostname */ 6444 case 170: 6445 if (ndx == 0 || ndx == 1) 6446 p = "int"; 6447 break; 6448 /* linux_setdomainname */ 6449 case 171: 6450 if (ndx == 0 || ndx == 1) 6451 p = "int"; 6452 break; 6453 /* linux_iopl */ 6454 case 172: 6455 if (ndx == 0 || ndx == 1) 6456 p = "int"; 6457 break; 6458 /* linux_create_module */ 6459 case 174: 6460 /* linux_init_module */ 6461 case 175: 6462 /* linux_delete_module */ 6463 case 176: 6464 /* linux_get_kernel_syms */ 6465 case 177: 6466 /* linux_query_module */ 6467 case 178: 6468 /* linux_quotactl */ 6469 case 179: 6470 /* linux_nfsservctl */ 6471 case 180: 6472 /* linux_getpmsg */ 6473 case 181: 6474 /* linux_putpmsg */ 6475 case 182: 6476 /* linux_afs_syscall */ 6477 case 183: 6478 /* linux_tuxcall */ 6479 case 184: 6480 /* linux_security */ 6481 case 185: 6482 /* linux_gettid */ 6483 case 186: 6484 /* linux_setxattr */ 6485 case 188: 6486 /* linux_lsetxattr */ 6487 case 189: 6488 /* linux_fsetxattr */ 6489 case 190: 6490 /* linux_getxattr */ 6491 case 191: 6492 /* linux_lgetxattr */ 6493 case 192: 6494 /* linux_fgetxattr */ 6495 case 193: 6496 /* linux_listxattr */ 6497 case 194: 6498 /* linux_llistxattr */ 6499 case 195: 6500 /* linux_flistxattr */ 6501 case 196: 6502 /* linux_removexattr */ 6503 case 197: 6504 /* linux_lremovexattr */ 6505 case 198: 6506 /* linux_fremovexattr */ 6507 case 199: 6508 /* linux_tkill */ 6509 case 200: 6510 if (ndx == 0 || ndx == 1) 6511 p = "int"; 6512 break; 6513 /* linux_time */ 6514 case 201: 6515 if (ndx == 0 || ndx == 1) 6516 p = "int"; 6517 break; 6518 /* linux_sys_futex */ 6519 case 202: 6520 if (ndx == 0 || ndx == 1) 6521 p = "int"; 6522 break; 6523 /* linux_sched_setaffinity */ 6524 case 203: 6525 if (ndx == 0 || ndx == 1) 6526 p = "int"; 6527 break; 6528 /* linux_sched_getaffinity */ 6529 case 204: 6530 if (ndx == 0 || ndx == 1) 6531 p = "int"; 6532 break; 6533 /* linux_set_thread_area */ 6534 case 205: 6535 /* linux_lookup_dcookie */ 6536 case 212: 6537 /* linux_epoll_create */ 6538 case 213: 6539 if (ndx == 0 || ndx == 1) 6540 p = "int"; 6541 break; 6542 /* linux_epoll_ctl_old */ 6543 case 214: 6544 /* linux_epoll_wait_old */ 6545 case 215: 6546 /* linux_remap_file_pages */ 6547 case 216: 6548 /* linux_getdents64 */ 6549 case 217: 6550 if (ndx == 0 || ndx == 1) 6551 p = "int"; 6552 break; 6553 /* linux_set_tid_address */ 6554 case 218: 6555 if (ndx == 0 || ndx == 1) 6556 p = "int"; 6557 break; 6558 /* linux_semtimedop */ 6559 case 220: 6560 /* linux_fadvise64 */ 6561 case 221: 6562 if (ndx == 0 || ndx == 1) 6563 p = "int"; 6564 break; 6565 /* linux_timer_create */ 6566 case 222: 6567 if (ndx == 0 || ndx == 1) 6568 p = "int"; 6569 break; 6570 /* linux_timer_settime */ 6571 case 223: 6572 if (ndx == 0 || ndx == 1) 6573 p = "int"; 6574 break; 6575 /* linux_timer_gettime */ 6576 case 224: 6577 if (ndx == 0 || ndx == 1) 6578 p = "int"; 6579 break; 6580 /* linux_timer_getoverrun */ 6581 case 225: 6582 if (ndx == 0 || ndx == 1) 6583 p = "int"; 6584 break; 6585 /* linux_timer_delete */ 6586 case 226: 6587 if (ndx == 0 || ndx == 1) 6588 p = "int"; 6589 break; 6590 /* linux_clock_settime */ 6591 case 227: 6592 if (ndx == 0 || ndx == 1) 6593 p = "int"; 6594 break; 6595 /* linux_clock_gettime */ 6596 case 228: 6597 if (ndx == 0 || ndx == 1) 6598 p = "int"; 6599 break; 6600 /* linux_clock_getres */ 6601 case 229: 6602 if (ndx == 0 || ndx == 1) 6603 p = "int"; 6604 break; 6605 /* linux_clock_nanosleep */ 6606 case 230: 6607 if (ndx == 0 || ndx == 1) 6608 p = "int"; 6609 break; 6610 /* linux_exit_group */ 6611 case 231: 6612 if (ndx == 0 || ndx == 1) 6613 p = "int"; 6614 break; 6615 /* linux_epoll_wait */ 6616 case 232: 6617 if (ndx == 0 || ndx == 1) 6618 p = "int"; 6619 break; 6620 /* linux_epoll_ctl */ 6621 case 233: 6622 if (ndx == 0 || ndx == 1) 6623 p = "int"; 6624 break; 6625 /* linux_tgkill */ 6626 case 234: 6627 if (ndx == 0 || ndx == 1) 6628 p = "int"; 6629 break; 6630 /* linux_utimes */ 6631 case 235: 6632 if (ndx == 0 || ndx == 1) 6633 p = "int"; 6634 break; 6635 /* linux_mbind */ 6636 case 237: 6637 /* linux_set_mempolicy */ 6638 case 238: 6639 /* linux_get_mempolicy */ 6640 case 239: 6641 /* linux_mq_open */ 6642 case 240: 6643 /* linux_mq_unlink */ 6644 case 241: 6645 /* linux_mq_timedsend */ 6646 case 242: 6647 /* linux_mq_timedreceive */ 6648 case 243: 6649 /* linux_mq_notify */ 6650 case 244: 6651 /* linux_mq_getsetattr */ 6652 case 245: 6653 /* linux_kexec_load */ 6654 case 246: 6655 /* linux_waitid */ 6656 case 247: 6657 if (ndx == 0 || ndx == 1) 6658 p = "int"; 6659 break; 6660 /* linux_add_key */ 6661 case 248: 6662 /* linux_request_key */ 6663 case 249: 6664 /* linux_keyctl */ 6665 case 250: 6666 /* linux_ioprio_set */ 6667 case 251: 6668 /* linux_ioprio_get */ 6669 case 252: 6670 /* linux_inotify_init */ 6671 case 253: 6672 /* linux_inotify_add_watch */ 6673 case 254: 6674 /* linux_inotify_rm_watch */ 6675 case 255: 6676 /* linux_migrate_pages */ 6677 case 256: 6678 /* linux_openat */ 6679 case 257: 6680 if (ndx == 0 || ndx == 1) 6681 p = "int"; 6682 break; 6683 /* linux_mkdirat */ 6684 case 258: 6685 if (ndx == 0 || ndx == 1) 6686 p = "int"; 6687 break; 6688 /* linux_mknodat */ 6689 case 259: 6690 if (ndx == 0 || ndx == 1) 6691 p = "int"; 6692 break; 6693 /* linux_fchownat */ 6694 case 260: 6695 if (ndx == 0 || ndx == 1) 6696 p = "int"; 6697 break; 6698 /* linux_futimesat */ 6699 case 261: 6700 if (ndx == 0 || ndx == 1) 6701 p = "int"; 6702 break; 6703 /* linux_newfstatat */ 6704 case 262: 6705 if (ndx == 0 || ndx == 1) 6706 p = "int"; 6707 break; 6708 /* linux_unlinkat */ 6709 case 263: 6710 if (ndx == 0 || ndx == 1) 6711 p = "int"; 6712 break; 6713 /* linux_renameat */ 6714 case 264: 6715 if (ndx == 0 || ndx == 1) 6716 p = "int"; 6717 break; 6718 /* linux_linkat */ 6719 case 265: 6720 if (ndx == 0 || ndx == 1) 6721 p = "int"; 6722 break; 6723 /* linux_symlinkat */ 6724 case 266: 6725 if (ndx == 0 || ndx == 1) 6726 p = "int"; 6727 break; 6728 /* linux_readlinkat */ 6729 case 267: 6730 if (ndx == 0 || ndx == 1) 6731 p = "int"; 6732 break; 6733 /* linux_fchmodat */ 6734 case 268: 6735 if (ndx == 0 || ndx == 1) 6736 p = "int"; 6737 break; 6738 /* linux_faccessat */ 6739 case 269: 6740 if (ndx == 0 || ndx == 1) 6741 p = "int"; 6742 break; 6743 /* linux_pselect6 */ 6744 case 270: 6745 if (ndx == 0 || ndx == 1) 6746 p = "int"; 6747 break; 6748 /* linux_ppoll */ 6749 case 271: 6750 if (ndx == 0 || ndx == 1) 6751 p = "int"; 6752 break; 6753 /* linux_unshare */ 6754 case 272: 6755 /* linux_set_robust_list */ 6756 case 273: 6757 if (ndx == 0 || ndx == 1) 6758 p = "int"; 6759 break; 6760 /* linux_get_robust_list */ 6761 case 274: 6762 if (ndx == 0 || ndx == 1) 6763 p = "int"; 6764 break; 6765 /* linux_splice */ 6766 case 275: 6767 /* linux_tee */ 6768 case 276: 6769 /* linux_sync_file_range */ 6770 case 277: 6771 /* linux_vmsplice */ 6772 case 278: 6773 /* linux_move_pages */ 6774 case 279: 6775 /* linux_utimensat */ 6776 case 280: 6777 if (ndx == 0 || ndx == 1) 6778 p = "int"; 6779 break; 6780 /* linux_epoll_pwait */ 6781 case 281: 6782 if (ndx == 0 || ndx == 1) 6783 p = "int"; 6784 break; 6785 /* linux_signalfd */ 6786 case 282: 6787 /* linux_timerfd */ 6788 case 283: 6789 /* linux_eventfd */ 6790 case 284: 6791 if (ndx == 0 || ndx == 1) 6792 p = "int"; 6793 break; 6794 /* linux_fallocate */ 6795 case 285: 6796 if (ndx == 0 || ndx == 1) 6797 p = "int"; 6798 break; 6799 /* linux_timerfd_settime */ 6800 case 286: 6801 /* linux_timerfd_gettime */ 6802 case 287: 6803 /* linux_accept4 */ 6804 case 288: 6805 if (ndx == 0 || ndx == 1) 6806 p = "int"; 6807 break; 6808 /* linux_signalfd4 */ 6809 case 289: 6810 /* linux_eventfd2 */ 6811 case 290: 6812 if (ndx == 0 || ndx == 1) 6813 p = "int"; 6814 break; 6815 /* linux_epoll_create1 */ 6816 case 291: 6817 if (ndx == 0 || ndx == 1) 6818 p = "int"; 6819 break; 6820 /* linux_dup3 */ 6821 case 292: 6822 if (ndx == 0 || ndx == 1) 6823 p = "int"; 6824 break; 6825 /* linux_pipe2 */ 6826 case 293: 6827 if (ndx == 0 || ndx == 1) 6828 p = "int"; 6829 break; 6830 /* linux_inotify_init1 */ 6831 case 294: 6832 /* linux_preadv */ 6833 case 295: 6834 /* linux_pwritev */ 6835 case 296: 6836 /* linux_rt_tsigqueueinfo */ 6837 case 297: 6838 /* linux_perf_event_open */ 6839 case 298: 6840 /* linux_recvmmsg */ 6841 case 299: 6842 if (ndx == 0 || ndx == 1) 6843 p = "int"; 6844 break; 6845 /* linux_fanotify_init */ 6846 case 300: 6847 /* linux_fanotify_mark */ 6848 case 301: 6849 /* linux_prlimit64 */ 6850 case 302: 6851 if (ndx == 0 || ndx == 1) 6852 p = "int"; 6853 break; 6854 /* linux_name_to_handle_at */ 6855 case 303: 6856 /* linux_open_by_handle_at */ 6857 case 304: 6858 /* linux_clock_adjtime */ 6859 case 305: 6860 /* linux_syncfs */ 6861 case 306: 6862 if (ndx == 0 || ndx == 1) 6863 p = "int"; 6864 break; 6865 /* linux_sendmmsg */ 6866 case 307: 6867 if (ndx == 0 || ndx == 1) 6868 p = "int"; 6869 break; 6870 /* linux_setns */ 6871 case 308: 6872 /* linux_process_vm_readv */ 6873 case 309: 6874 /* linux_process_vm_writev */ 6875 case 310: 6876 /* linux_kcmp */ 6877 case 311: 6878 /* linux_finit_module */ 6879 case 312: 6880 default: 6881 break; 6882 }; 6883 if (p != NULL) 6884 strlcpy(desc, p, descsz); 6885 } 6886