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