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 /* sys_exit */ 16 case 1: { 17 struct sys_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; /* u_int32_t * */ 98 uarg[2] = (intptr_t) p->envp; /* u_int32_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_ulong * */ 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_ulong */ 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_uint * */ 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_ulong */ 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 /* sched_setparam */ 1047 case 154: { 1048 struct sched_setparam_args *p = params; 1049 iarg[0] = p->pid; /* pid_t */ 1050 uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ 1051 *n_args = 2; 1052 break; 1053 } 1054 /* sched_getparam */ 1055 case 155: { 1056 struct sched_getparam_args *p = params; 1057 iarg[0] = p->pid; /* 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 l_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 *n_args = 0; 1238 break; 1239 } 1240 /* linux_rt_sigsuspend */ 1241 case 179: { 1242 struct linux_rt_sigsuspend_args *p = params; 1243 uarg[0] = (intptr_t) p->newset; /* l_sigset_t * */ 1244 iarg[1] = p->sigsetsize; /* l_size_t */ 1245 *n_args = 2; 1246 break; 1247 } 1248 /* linux_pread */ 1249 case 180: { 1250 struct linux_pread_args *p = params; 1251 iarg[0] = p->fd; /* l_uint */ 1252 uarg[1] = (intptr_t) p->buf; /* char * */ 1253 iarg[2] = p->nbyte; /* l_size_t */ 1254 iarg[3] = p->offset; /* l_loff_t */ 1255 *n_args = 4; 1256 break; 1257 } 1258 /* linux_pwrite */ 1259 case 181: { 1260 struct linux_pwrite_args *p = params; 1261 iarg[0] = p->fd; /* l_uint */ 1262 uarg[1] = (intptr_t) p->buf; /* char * */ 1263 iarg[2] = p->nbyte; /* l_size_t */ 1264 iarg[3] = p->offset; /* l_loff_t */ 1265 *n_args = 4; 1266 break; 1267 } 1268 /* linux_chown16 */ 1269 case 182: { 1270 struct linux_chown16_args *p = params; 1271 uarg[0] = (intptr_t) p->path; /* char * */ 1272 iarg[1] = p->uid; /* l_uid16_t */ 1273 iarg[2] = p->gid; /* l_gid16_t */ 1274 *n_args = 3; 1275 break; 1276 } 1277 /* linux_getcwd */ 1278 case 183: { 1279 struct linux_getcwd_args *p = params; 1280 uarg[0] = (intptr_t) p->buf; /* char * */ 1281 iarg[1] = p->bufsize; /* l_ulong */ 1282 *n_args = 2; 1283 break; 1284 } 1285 /* linux_capget */ 1286 case 184: { 1287 struct linux_capget_args *p = params; 1288 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1289 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1290 *n_args = 2; 1291 break; 1292 } 1293 /* linux_capset */ 1294 case 185: { 1295 struct linux_capset_args *p = params; 1296 uarg[0] = (intptr_t) p->hdrp; /* struct l_user_cap_header * */ 1297 uarg[1] = (intptr_t) p->datap; /* struct l_user_cap_data * */ 1298 *n_args = 2; 1299 break; 1300 } 1301 /* linux_sigaltstack */ 1302 case 186: { 1303 struct linux_sigaltstack_args *p = params; 1304 uarg[0] = (intptr_t) p->uss; /* l_stack_t * */ 1305 uarg[1] = (intptr_t) p->uoss; /* l_stack_t * */ 1306 *n_args = 2; 1307 break; 1308 } 1309 /* linux_sendfile */ 1310 case 187: { 1311 *n_args = 0; 1312 break; 1313 } 1314 /* linux_vfork */ 1315 case 190: { 1316 *n_args = 0; 1317 break; 1318 } 1319 /* linux_getrlimit */ 1320 case 191: { 1321 struct linux_getrlimit_args *p = params; 1322 iarg[0] = p->resource; /* l_uint */ 1323 uarg[1] = (intptr_t) p->rlim; /* struct l_rlimit * */ 1324 *n_args = 2; 1325 break; 1326 } 1327 /* linux_mmap2 */ 1328 case 192: { 1329 struct linux_mmap2_args *p = params; 1330 iarg[0] = p->addr; /* l_ulong */ 1331 iarg[1] = p->len; /* l_ulong */ 1332 iarg[2] = p->prot; /* l_ulong */ 1333 iarg[3] = p->flags; /* l_ulong */ 1334 iarg[4] = p->fd; /* l_ulong */ 1335 iarg[5] = p->pgoff; /* l_ulong */ 1336 *n_args = 6; 1337 break; 1338 } 1339 /* linux_truncate64 */ 1340 case 193: { 1341 struct linux_truncate64_args *p = params; 1342 uarg[0] = (intptr_t) p->path; /* char * */ 1343 iarg[1] = p->length; /* l_loff_t */ 1344 *n_args = 2; 1345 break; 1346 } 1347 /* linux_ftruncate64 */ 1348 case 194: { 1349 struct linux_ftruncate64_args *p = params; 1350 iarg[0] = p->fd; /* l_uint */ 1351 iarg[1] = p->length; /* l_loff_t */ 1352 *n_args = 2; 1353 break; 1354 } 1355 /* linux_stat64 */ 1356 case 195: { 1357 struct linux_stat64_args *p = params; 1358 uarg[0] = (intptr_t) p->filename; /* char * */ 1359 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1360 iarg[2] = p->flags; /* l_long */ 1361 *n_args = 3; 1362 break; 1363 } 1364 /* linux_lstat64 */ 1365 case 196: { 1366 struct linux_lstat64_args *p = params; 1367 uarg[0] = (intptr_t) p->filename; /* char * */ 1368 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1369 iarg[2] = p->flags; /* l_long */ 1370 *n_args = 3; 1371 break; 1372 } 1373 /* linux_fstat64 */ 1374 case 197: { 1375 struct linux_fstat64_args *p = params; 1376 iarg[0] = p->fd; /* l_ulong */ 1377 uarg[1] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1378 iarg[2] = p->flags; /* l_long */ 1379 *n_args = 3; 1380 break; 1381 } 1382 /* linux_lchown */ 1383 case 198: { 1384 struct linux_lchown_args *p = params; 1385 uarg[0] = (intptr_t) p->path; /* char * */ 1386 iarg[1] = p->uid; /* l_uid_t */ 1387 iarg[2] = p->gid; /* l_gid_t */ 1388 *n_args = 3; 1389 break; 1390 } 1391 /* linux_getuid */ 1392 case 199: { 1393 *n_args = 0; 1394 break; 1395 } 1396 /* linux_getgid */ 1397 case 200: { 1398 *n_args = 0; 1399 break; 1400 } 1401 /* geteuid */ 1402 case 201: { 1403 *n_args = 0; 1404 break; 1405 } 1406 /* getegid */ 1407 case 202: { 1408 *n_args = 0; 1409 break; 1410 } 1411 /* setreuid */ 1412 case 203: { 1413 struct setreuid_args *p = params; 1414 uarg[0] = p->ruid; /* uid_t */ 1415 uarg[1] = p->euid; /* uid_t */ 1416 *n_args = 2; 1417 break; 1418 } 1419 /* setregid */ 1420 case 204: { 1421 struct setregid_args *p = params; 1422 iarg[0] = p->rgid; /* gid_t */ 1423 iarg[1] = p->egid; /* gid_t */ 1424 *n_args = 2; 1425 break; 1426 } 1427 /* linux_getgroups */ 1428 case 205: { 1429 struct linux_getgroups_args *p = params; 1430 iarg[0] = p->gidsetsize; /* l_int */ 1431 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1432 *n_args = 2; 1433 break; 1434 } 1435 /* linux_setgroups */ 1436 case 206: { 1437 struct linux_setgroups_args *p = params; 1438 iarg[0] = p->gidsetsize; /* l_int */ 1439 uarg[1] = (intptr_t) p->grouplist; /* l_gid_t * */ 1440 *n_args = 2; 1441 break; 1442 } 1443 /* fchown */ 1444 case 207: { 1445 *n_args = 0; 1446 break; 1447 } 1448 /* setresuid */ 1449 case 208: { 1450 struct setresuid_args *p = params; 1451 uarg[0] = p->ruid; /* uid_t */ 1452 uarg[1] = p->euid; /* uid_t */ 1453 uarg[2] = p->suid; /* uid_t */ 1454 *n_args = 3; 1455 break; 1456 } 1457 /* getresuid */ 1458 case 209: { 1459 struct getresuid_args *p = params; 1460 uarg[0] = (intptr_t) p->ruid; /* uid_t * */ 1461 uarg[1] = (intptr_t) p->euid; /* uid_t * */ 1462 uarg[2] = (intptr_t) p->suid; /* uid_t * */ 1463 *n_args = 3; 1464 break; 1465 } 1466 /* setresgid */ 1467 case 210: { 1468 struct setresgid_args *p = params; 1469 iarg[0] = p->rgid; /* gid_t */ 1470 iarg[1] = p->egid; /* gid_t */ 1471 iarg[2] = p->sgid; /* gid_t */ 1472 *n_args = 3; 1473 break; 1474 } 1475 /* getresgid */ 1476 case 211: { 1477 struct getresgid_args *p = params; 1478 uarg[0] = (intptr_t) p->rgid; /* gid_t * */ 1479 uarg[1] = (intptr_t) p->egid; /* gid_t * */ 1480 uarg[2] = (intptr_t) p->sgid; /* gid_t * */ 1481 *n_args = 3; 1482 break; 1483 } 1484 /* linux_chown */ 1485 case 212: { 1486 struct linux_chown_args *p = params; 1487 uarg[0] = (intptr_t) p->path; /* char * */ 1488 iarg[1] = p->uid; /* l_uid_t */ 1489 iarg[2] = p->gid; /* l_gid_t */ 1490 *n_args = 3; 1491 break; 1492 } 1493 /* setuid */ 1494 case 213: { 1495 struct setuid_args *p = params; 1496 uarg[0] = p->uid; /* uid_t */ 1497 *n_args = 1; 1498 break; 1499 } 1500 /* setgid */ 1501 case 214: { 1502 struct setgid_args *p = params; 1503 iarg[0] = p->gid; /* gid_t */ 1504 *n_args = 1; 1505 break; 1506 } 1507 /* linux_setfsuid */ 1508 case 215: { 1509 struct linux_setfsuid_args *p = params; 1510 iarg[0] = p->uid; /* l_uid_t */ 1511 *n_args = 1; 1512 break; 1513 } 1514 /* linux_setfsgid */ 1515 case 216: { 1516 struct linux_setfsgid_args *p = params; 1517 iarg[0] = p->gid; /* l_gid_t */ 1518 *n_args = 1; 1519 break; 1520 } 1521 /* linux_pivot_root */ 1522 case 217: { 1523 struct linux_pivot_root_args *p = params; 1524 uarg[0] = (intptr_t) p->new_root; /* char * */ 1525 uarg[1] = (intptr_t) p->put_old; /* char * */ 1526 *n_args = 2; 1527 break; 1528 } 1529 /* linux_mincore */ 1530 case 218: { 1531 struct linux_mincore_args *p = params; 1532 iarg[0] = p->start; /* l_ulong */ 1533 iarg[1] = p->len; /* l_size_t */ 1534 uarg[2] = (intptr_t) p->vec; /* u_char * */ 1535 *n_args = 3; 1536 break; 1537 } 1538 /* madvise */ 1539 case 219: { 1540 struct madvise_args *p = params; 1541 uarg[0] = (intptr_t) p->addr; /* void * */ 1542 uarg[1] = p->len; /* size_t */ 1543 iarg[2] = p->behav; /* int */ 1544 *n_args = 3; 1545 break; 1546 } 1547 /* linux_getdents64 */ 1548 case 220: { 1549 struct linux_getdents64_args *p = params; 1550 iarg[0] = p->fd; /* l_uint */ 1551 uarg[1] = (intptr_t) p->dirent; /* void * */ 1552 iarg[2] = p->count; /* l_uint */ 1553 *n_args = 3; 1554 break; 1555 } 1556 /* linux_fcntl64 */ 1557 case 221: { 1558 struct linux_fcntl64_args *p = params; 1559 iarg[0] = p->fd; /* l_uint */ 1560 iarg[1] = p->cmd; /* l_uint */ 1561 uarg[2] = p->arg; /* uintptr_t */ 1562 *n_args = 3; 1563 break; 1564 } 1565 /* linux_gettid */ 1566 case 224: { 1567 *n_args = 0; 1568 break; 1569 } 1570 /* linux_setxattr */ 1571 case 226: { 1572 *n_args = 0; 1573 break; 1574 } 1575 /* linux_lsetxattr */ 1576 case 227: { 1577 *n_args = 0; 1578 break; 1579 } 1580 /* linux_fsetxattr */ 1581 case 228: { 1582 *n_args = 0; 1583 break; 1584 } 1585 /* linux_getxattr */ 1586 case 229: { 1587 *n_args = 0; 1588 break; 1589 } 1590 /* linux_lgetxattr */ 1591 case 230: { 1592 *n_args = 0; 1593 break; 1594 } 1595 /* linux_fgetxattr */ 1596 case 231: { 1597 *n_args = 0; 1598 break; 1599 } 1600 /* linux_listxattr */ 1601 case 232: { 1602 *n_args = 0; 1603 break; 1604 } 1605 /* linux_llistxattr */ 1606 case 233: { 1607 *n_args = 0; 1608 break; 1609 } 1610 /* linux_flistxattr */ 1611 case 234: { 1612 *n_args = 0; 1613 break; 1614 } 1615 /* linux_removexattr */ 1616 case 235: { 1617 *n_args = 0; 1618 break; 1619 } 1620 /* linux_lremovexattr */ 1621 case 236: { 1622 *n_args = 0; 1623 break; 1624 } 1625 /* linux_fremovexattr */ 1626 case 237: { 1627 *n_args = 0; 1628 break; 1629 } 1630 /* linux_tkill */ 1631 case 238: { 1632 struct linux_tkill_args *p = params; 1633 iarg[0] = p->tid; /* int */ 1634 iarg[1] = p->sig; /* int */ 1635 *n_args = 2; 1636 break; 1637 } 1638 /* linux_sys_futex */ 1639 case 240: { 1640 struct linux_sys_futex_args *p = params; 1641 uarg[0] = (intptr_t) p->uaddr; /* void * */ 1642 iarg[1] = p->op; /* int */ 1643 uarg[2] = p->val; /* uint32_t */ 1644 uarg[3] = (intptr_t) p->timeout; /* struct l_timespec * */ 1645 uarg[4] = (intptr_t) p->uaddr2; /* uint32_t * */ 1646 uarg[5] = p->val3; /* uint32_t */ 1647 *n_args = 6; 1648 break; 1649 } 1650 /* linux_sched_setaffinity */ 1651 case 241: { 1652 struct linux_sched_setaffinity_args *p = params; 1653 iarg[0] = p->pid; /* l_pid_t */ 1654 iarg[1] = p->len; /* l_uint */ 1655 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1656 *n_args = 3; 1657 break; 1658 } 1659 /* linux_sched_getaffinity */ 1660 case 242: { 1661 struct linux_sched_getaffinity_args *p = params; 1662 iarg[0] = p->pid; /* l_pid_t */ 1663 iarg[1] = p->len; /* l_uint */ 1664 uarg[2] = (intptr_t) p->user_mask_ptr; /* l_ulong * */ 1665 *n_args = 3; 1666 break; 1667 } 1668 /* linux_set_thread_area */ 1669 case 243: { 1670 struct linux_set_thread_area_args *p = params; 1671 uarg[0] = (intptr_t) p->desc; /* struct l_user_desc * */ 1672 *n_args = 1; 1673 break; 1674 } 1675 /* linux_fadvise64 */ 1676 case 250: { 1677 struct linux_fadvise64_args *p = params; 1678 iarg[0] = p->fd; /* int */ 1679 iarg[1] = p->offset; /* l_loff_t */ 1680 iarg[2] = p->len; /* l_size_t */ 1681 iarg[3] = p->advice; /* int */ 1682 *n_args = 4; 1683 break; 1684 } 1685 /* linux_exit_group */ 1686 case 252: { 1687 struct linux_exit_group_args *p = params; 1688 iarg[0] = p->error_code; /* int */ 1689 *n_args = 1; 1690 break; 1691 } 1692 /* linux_lookup_dcookie */ 1693 case 253: { 1694 *n_args = 0; 1695 break; 1696 } 1697 /* linux_epoll_create */ 1698 case 254: { 1699 *n_args = 0; 1700 break; 1701 } 1702 /* linux_epoll_ctl */ 1703 case 255: { 1704 *n_args = 0; 1705 break; 1706 } 1707 /* linux_epoll_wait */ 1708 case 256: { 1709 *n_args = 0; 1710 break; 1711 } 1712 /* linux_remap_file_pages */ 1713 case 257: { 1714 *n_args = 0; 1715 break; 1716 } 1717 /* linux_set_tid_address */ 1718 case 258: { 1719 struct linux_set_tid_address_args *p = params; 1720 uarg[0] = (intptr_t) p->tidptr; /* int * */ 1721 *n_args = 1; 1722 break; 1723 } 1724 /* linux_timer_create */ 1725 case 259: { 1726 *n_args = 0; 1727 break; 1728 } 1729 /* linux_timer_settime */ 1730 case 260: { 1731 *n_args = 0; 1732 break; 1733 } 1734 /* linux_timer_gettime */ 1735 case 261: { 1736 *n_args = 0; 1737 break; 1738 } 1739 /* linux_timer_getoverrun */ 1740 case 262: { 1741 *n_args = 0; 1742 break; 1743 } 1744 /* linux_timer_delete */ 1745 case 263: { 1746 *n_args = 0; 1747 break; 1748 } 1749 /* linux_clock_settime */ 1750 case 264: { 1751 struct linux_clock_settime_args *p = params; 1752 iarg[0] = p->which; /* clockid_t */ 1753 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1754 *n_args = 2; 1755 break; 1756 } 1757 /* linux_clock_gettime */ 1758 case 265: { 1759 struct linux_clock_gettime_args *p = params; 1760 iarg[0] = p->which; /* clockid_t */ 1761 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1762 *n_args = 2; 1763 break; 1764 } 1765 /* linux_clock_getres */ 1766 case 266: { 1767 struct linux_clock_getres_args *p = params; 1768 iarg[0] = p->which; /* clockid_t */ 1769 uarg[1] = (intptr_t) p->tp; /* struct l_timespec * */ 1770 *n_args = 2; 1771 break; 1772 } 1773 /* linux_clock_nanosleep */ 1774 case 267: { 1775 struct linux_clock_nanosleep_args *p = params; 1776 iarg[0] = p->which; /* clockid_t */ 1777 iarg[1] = p->flags; /* int */ 1778 uarg[2] = (intptr_t) p->rqtp; /* struct l_timespec * */ 1779 uarg[3] = (intptr_t) p->rmtp; /* struct l_timespec * */ 1780 *n_args = 4; 1781 break; 1782 } 1783 /* linux_statfs64 */ 1784 case 268: { 1785 struct linux_statfs64_args *p = params; 1786 uarg[0] = (intptr_t) p->path; /* char * */ 1787 uarg[1] = p->bufsize; /* size_t */ 1788 uarg[2] = (intptr_t) p->buf; /* struct l_statfs64_buf * */ 1789 *n_args = 3; 1790 break; 1791 } 1792 /* linux_fstatfs64 */ 1793 case 269: { 1794 *n_args = 0; 1795 break; 1796 } 1797 /* linux_tgkill */ 1798 case 270: { 1799 struct linux_tgkill_args *p = params; 1800 iarg[0] = p->tgid; /* int */ 1801 iarg[1] = p->pid; /* int */ 1802 iarg[2] = p->sig; /* int */ 1803 *n_args = 3; 1804 break; 1805 } 1806 /* linux_utimes */ 1807 case 271: { 1808 struct linux_utimes_args *p = params; 1809 uarg[0] = (intptr_t) p->fname; /* char * */ 1810 uarg[1] = (intptr_t) p->tptr; /* struct l_timeval * */ 1811 *n_args = 2; 1812 break; 1813 } 1814 /* linux_fadvise64_64 */ 1815 case 272: { 1816 struct linux_fadvise64_64_args *p = params; 1817 iarg[0] = p->fd; /* int */ 1818 iarg[1] = p->offset; /* l_loff_t */ 1819 iarg[2] = p->len; /* l_loff_t */ 1820 iarg[3] = p->advice; /* int */ 1821 *n_args = 4; 1822 break; 1823 } 1824 /* linux_mbind */ 1825 case 274: { 1826 *n_args = 0; 1827 break; 1828 } 1829 /* linux_get_mempolicy */ 1830 case 275: { 1831 *n_args = 0; 1832 break; 1833 } 1834 /* linux_set_mempolicy */ 1835 case 276: { 1836 *n_args = 0; 1837 break; 1838 } 1839 /* linux_mq_open */ 1840 case 277: { 1841 *n_args = 0; 1842 break; 1843 } 1844 /* linux_mq_unlink */ 1845 case 278: { 1846 *n_args = 0; 1847 break; 1848 } 1849 /* linux_mq_timedsend */ 1850 case 279: { 1851 *n_args = 0; 1852 break; 1853 } 1854 /* linux_mq_timedreceive */ 1855 case 280: { 1856 *n_args = 0; 1857 break; 1858 } 1859 /* linux_mq_notify */ 1860 case 281: { 1861 *n_args = 0; 1862 break; 1863 } 1864 /* linux_mq_getsetattr */ 1865 case 282: { 1866 *n_args = 0; 1867 break; 1868 } 1869 /* linux_kexec_load */ 1870 case 283: { 1871 *n_args = 0; 1872 break; 1873 } 1874 /* linux_waitid */ 1875 case 284: { 1876 *n_args = 0; 1877 break; 1878 } 1879 /* linux_add_key */ 1880 case 286: { 1881 *n_args = 0; 1882 break; 1883 } 1884 /* linux_request_key */ 1885 case 287: { 1886 *n_args = 0; 1887 break; 1888 } 1889 /* linux_keyctl */ 1890 case 288: { 1891 *n_args = 0; 1892 break; 1893 } 1894 /* linux_ioprio_set */ 1895 case 289: { 1896 *n_args = 0; 1897 break; 1898 } 1899 /* linux_ioprio_get */ 1900 case 290: { 1901 *n_args = 0; 1902 break; 1903 } 1904 /* linux_inotify_init */ 1905 case 291: { 1906 *n_args = 0; 1907 break; 1908 } 1909 /* linux_inotify_add_watch */ 1910 case 292: { 1911 *n_args = 0; 1912 break; 1913 } 1914 /* linux_inotify_rm_watch */ 1915 case 293: { 1916 *n_args = 0; 1917 break; 1918 } 1919 /* linux_migrate_pages */ 1920 case 294: { 1921 *n_args = 0; 1922 break; 1923 } 1924 /* linux_openat */ 1925 case 295: { 1926 struct linux_openat_args *p = params; 1927 iarg[0] = p->dfd; /* l_int */ 1928 uarg[1] = (intptr_t) p->filename; /* const char * */ 1929 iarg[2] = p->flags; /* l_int */ 1930 iarg[3] = p->mode; /* l_int */ 1931 *n_args = 4; 1932 break; 1933 } 1934 /* linux_mkdirat */ 1935 case 296: { 1936 struct linux_mkdirat_args *p = params; 1937 iarg[0] = p->dfd; /* l_int */ 1938 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1939 iarg[2] = p->mode; /* l_int */ 1940 *n_args = 3; 1941 break; 1942 } 1943 /* linux_mknodat */ 1944 case 297: { 1945 struct linux_mknodat_args *p = params; 1946 iarg[0] = p->dfd; /* l_int */ 1947 uarg[1] = (intptr_t) p->filename; /* const char * */ 1948 iarg[2] = p->mode; /* l_int */ 1949 iarg[3] = p->dev; /* l_uint */ 1950 *n_args = 4; 1951 break; 1952 } 1953 /* linux_fchownat */ 1954 case 298: { 1955 struct linux_fchownat_args *p = params; 1956 iarg[0] = p->dfd; /* l_int */ 1957 uarg[1] = (intptr_t) p->filename; /* const char * */ 1958 iarg[2] = p->uid; /* l_uid16_t */ 1959 iarg[3] = p->gid; /* l_gid16_t */ 1960 iarg[4] = p->flag; /* l_int */ 1961 *n_args = 5; 1962 break; 1963 } 1964 /* linux_futimesat */ 1965 case 299: { 1966 struct linux_futimesat_args *p = params; 1967 iarg[0] = p->dfd; /* l_int */ 1968 uarg[1] = (intptr_t) p->filename; /* char * */ 1969 uarg[2] = (intptr_t) p->utimes; /* struct l_timeval * */ 1970 *n_args = 3; 1971 break; 1972 } 1973 /* linux_fstatat64 */ 1974 case 300: { 1975 struct linux_fstatat64_args *p = params; 1976 iarg[0] = p->dfd; /* l_int */ 1977 uarg[1] = (intptr_t) p->pathname; /* char * */ 1978 uarg[2] = (intptr_t) p->statbuf; /* struct l_stat64 * */ 1979 iarg[3] = p->flag; /* l_int */ 1980 *n_args = 4; 1981 break; 1982 } 1983 /* linux_unlinkat */ 1984 case 301: { 1985 struct linux_unlinkat_args *p = params; 1986 iarg[0] = p->dfd; /* l_int */ 1987 uarg[1] = (intptr_t) p->pathname; /* const char * */ 1988 iarg[2] = p->flag; /* l_int */ 1989 *n_args = 3; 1990 break; 1991 } 1992 /* linux_renameat */ 1993 case 302: { 1994 struct linux_renameat_args *p = params; 1995 iarg[0] = p->olddfd; /* l_int */ 1996 uarg[1] = (intptr_t) p->oldname; /* const char * */ 1997 iarg[2] = p->newdfd; /* l_int */ 1998 uarg[3] = (intptr_t) p->newname; /* const char * */ 1999 *n_args = 4; 2000 break; 2001 } 2002 /* linux_linkat */ 2003 case 303: { 2004 struct linux_linkat_args *p = params; 2005 iarg[0] = p->olddfd; /* l_int */ 2006 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2007 iarg[2] = p->newdfd; /* l_int */ 2008 uarg[3] = (intptr_t) p->newname; /* const char * */ 2009 iarg[4] = p->flag; /* l_int */ 2010 *n_args = 5; 2011 break; 2012 } 2013 /* linux_symlinkat */ 2014 case 304: { 2015 struct linux_symlinkat_args *p = params; 2016 uarg[0] = (intptr_t) p->oldname; /* const char * */ 2017 iarg[1] = p->newdfd; /* l_int */ 2018 uarg[2] = (intptr_t) p->newname; /* const char * */ 2019 *n_args = 3; 2020 break; 2021 } 2022 /* linux_readlinkat */ 2023 case 305: { 2024 struct linux_readlinkat_args *p = params; 2025 iarg[0] = p->dfd; /* l_int */ 2026 uarg[1] = (intptr_t) p->path; /* const char * */ 2027 uarg[2] = (intptr_t) p->buf; /* char * */ 2028 iarg[3] = p->bufsiz; /* l_int */ 2029 *n_args = 4; 2030 break; 2031 } 2032 /* linux_fchmodat */ 2033 case 306: { 2034 struct linux_fchmodat_args *p = params; 2035 iarg[0] = p->dfd; /* l_int */ 2036 uarg[1] = (intptr_t) p->filename; /* const char * */ 2037 iarg[2] = p->mode; /* l_mode_t */ 2038 *n_args = 3; 2039 break; 2040 } 2041 /* linux_faccessat */ 2042 case 307: { 2043 struct linux_faccessat_args *p = params; 2044 iarg[0] = p->dfd; /* l_int */ 2045 uarg[1] = (intptr_t) p->filename; /* const char * */ 2046 iarg[2] = p->amode; /* l_int */ 2047 iarg[3] = p->flag; /* int */ 2048 *n_args = 4; 2049 break; 2050 } 2051 /* linux_pselect6 */ 2052 case 308: { 2053 *n_args = 0; 2054 break; 2055 } 2056 /* linux_ppoll */ 2057 case 309: { 2058 *n_args = 0; 2059 break; 2060 } 2061 /* linux_unshare */ 2062 case 310: { 2063 *n_args = 0; 2064 break; 2065 } 2066 /* linux_set_robust_list */ 2067 case 311: { 2068 struct linux_set_robust_list_args *p = params; 2069 uarg[0] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2070 iarg[1] = p->len; /* l_size_t */ 2071 *n_args = 2; 2072 break; 2073 } 2074 /* linux_get_robust_list */ 2075 case 312: { 2076 struct linux_get_robust_list_args *p = params; 2077 iarg[0] = p->pid; /* l_int */ 2078 uarg[1] = (intptr_t) p->head; /* struct linux_robust_list_head * */ 2079 uarg[2] = (intptr_t) p->len; /* l_size_t * */ 2080 *n_args = 3; 2081 break; 2082 } 2083 /* linux_splice */ 2084 case 313: { 2085 *n_args = 0; 2086 break; 2087 } 2088 /* linux_sync_file_range */ 2089 case 314: { 2090 *n_args = 0; 2091 break; 2092 } 2093 /* linux_tee */ 2094 case 315: { 2095 *n_args = 0; 2096 break; 2097 } 2098 /* linux_vmsplice */ 2099 case 316: { 2100 *n_args = 0; 2101 break; 2102 } 2103 default: 2104 *n_args = 0; 2105 break; 2106 }; 2107 } 2108 static void 2109 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2110 { 2111 const char *p = NULL; 2112 switch (sysnum) { 2113 #define nosys linux_nosys 2114 /* sys_exit */ 2115 case 1: 2116 switch(ndx) { 2117 case 0: 2118 p = "int"; 2119 break; 2120 default: 2121 break; 2122 }; 2123 break; 2124 /* linux_fork */ 2125 case 2: 2126 break; 2127 /* read */ 2128 case 3: 2129 switch(ndx) { 2130 case 0: 2131 p = "int"; 2132 break; 2133 case 1: 2134 p = "char *"; 2135 break; 2136 case 2: 2137 p = "u_int"; 2138 break; 2139 default: 2140 break; 2141 }; 2142 break; 2143 /* write */ 2144 case 4: 2145 switch(ndx) { 2146 case 0: 2147 p = "int"; 2148 break; 2149 case 1: 2150 p = "char *"; 2151 break; 2152 case 2: 2153 p = "u_int"; 2154 break; 2155 default: 2156 break; 2157 }; 2158 break; 2159 /* linux_open */ 2160 case 5: 2161 switch(ndx) { 2162 case 0: 2163 p = "char *"; 2164 break; 2165 case 1: 2166 p = "l_int"; 2167 break; 2168 case 2: 2169 p = "l_int"; 2170 break; 2171 default: 2172 break; 2173 }; 2174 break; 2175 /* close */ 2176 case 6: 2177 switch(ndx) { 2178 case 0: 2179 p = "int"; 2180 break; 2181 default: 2182 break; 2183 }; 2184 break; 2185 /* linux_waitpid */ 2186 case 7: 2187 switch(ndx) { 2188 case 0: 2189 p = "l_pid_t"; 2190 break; 2191 case 1: 2192 p = "l_int *"; 2193 break; 2194 case 2: 2195 p = "l_int"; 2196 break; 2197 default: 2198 break; 2199 }; 2200 break; 2201 /* linux_creat */ 2202 case 8: 2203 switch(ndx) { 2204 case 0: 2205 p = "char *"; 2206 break; 2207 case 1: 2208 p = "l_int"; 2209 break; 2210 default: 2211 break; 2212 }; 2213 break; 2214 /* linux_link */ 2215 case 9: 2216 switch(ndx) { 2217 case 0: 2218 p = "char *"; 2219 break; 2220 case 1: 2221 p = "char *"; 2222 break; 2223 default: 2224 break; 2225 }; 2226 break; 2227 /* linux_unlink */ 2228 case 10: 2229 switch(ndx) { 2230 case 0: 2231 p = "char *"; 2232 break; 2233 default: 2234 break; 2235 }; 2236 break; 2237 /* linux_execve */ 2238 case 11: 2239 switch(ndx) { 2240 case 0: 2241 p = "char *"; 2242 break; 2243 case 1: 2244 p = "u_int32_t *"; 2245 break; 2246 case 2: 2247 p = "u_int32_t *"; 2248 break; 2249 default: 2250 break; 2251 }; 2252 break; 2253 /* linux_chdir */ 2254 case 12: 2255 switch(ndx) { 2256 case 0: 2257 p = "char *"; 2258 break; 2259 default: 2260 break; 2261 }; 2262 break; 2263 /* linux_time */ 2264 case 13: 2265 switch(ndx) { 2266 case 0: 2267 p = "l_time_t *"; 2268 break; 2269 default: 2270 break; 2271 }; 2272 break; 2273 /* linux_mknod */ 2274 case 14: 2275 switch(ndx) { 2276 case 0: 2277 p = "char *"; 2278 break; 2279 case 1: 2280 p = "l_int"; 2281 break; 2282 case 2: 2283 p = "l_dev_t"; 2284 break; 2285 default: 2286 break; 2287 }; 2288 break; 2289 /* linux_chmod */ 2290 case 15: 2291 switch(ndx) { 2292 case 0: 2293 p = "char *"; 2294 break; 2295 case 1: 2296 p = "l_mode_t"; 2297 break; 2298 default: 2299 break; 2300 }; 2301 break; 2302 /* linux_lchown16 */ 2303 case 16: 2304 switch(ndx) { 2305 case 0: 2306 p = "char *"; 2307 break; 2308 case 1: 2309 p = "l_uid16_t"; 2310 break; 2311 case 2: 2312 p = "l_gid16_t"; 2313 break; 2314 default: 2315 break; 2316 }; 2317 break; 2318 /* linux_stat */ 2319 case 18: 2320 switch(ndx) { 2321 case 0: 2322 p = "char *"; 2323 break; 2324 case 1: 2325 p = "struct linux_stat *"; 2326 break; 2327 default: 2328 break; 2329 }; 2330 break; 2331 /* linux_lseek */ 2332 case 19: 2333 switch(ndx) { 2334 case 0: 2335 p = "l_uint"; 2336 break; 2337 case 1: 2338 p = "l_off_t"; 2339 break; 2340 case 2: 2341 p = "l_int"; 2342 break; 2343 default: 2344 break; 2345 }; 2346 break; 2347 /* linux_getpid */ 2348 case 20: 2349 break; 2350 /* linux_mount */ 2351 case 21: 2352 switch(ndx) { 2353 case 0: 2354 p = "char *"; 2355 break; 2356 case 1: 2357 p = "char *"; 2358 break; 2359 case 2: 2360 p = "char *"; 2361 break; 2362 case 3: 2363 p = "l_ulong"; 2364 break; 2365 case 4: 2366 p = "void *"; 2367 break; 2368 default: 2369 break; 2370 }; 2371 break; 2372 /* linux_oldumount */ 2373 case 22: 2374 switch(ndx) { 2375 case 0: 2376 p = "char *"; 2377 break; 2378 default: 2379 break; 2380 }; 2381 break; 2382 /* linux_setuid16 */ 2383 case 23: 2384 switch(ndx) { 2385 case 0: 2386 p = "l_uid16_t"; 2387 break; 2388 default: 2389 break; 2390 }; 2391 break; 2392 /* linux_getuid16 */ 2393 case 24: 2394 break; 2395 /* linux_stime */ 2396 case 25: 2397 break; 2398 /* linux_ptrace */ 2399 case 26: 2400 switch(ndx) { 2401 case 0: 2402 p = "l_long"; 2403 break; 2404 case 1: 2405 p = "l_long"; 2406 break; 2407 case 2: 2408 p = "l_long"; 2409 break; 2410 case 3: 2411 p = "l_long"; 2412 break; 2413 default: 2414 break; 2415 }; 2416 break; 2417 /* linux_alarm */ 2418 case 27: 2419 switch(ndx) { 2420 case 0: 2421 p = "l_uint"; 2422 break; 2423 default: 2424 break; 2425 }; 2426 break; 2427 /* linux_pause */ 2428 case 29: 2429 break; 2430 /* linux_utime */ 2431 case 30: 2432 switch(ndx) { 2433 case 0: 2434 p = "char *"; 2435 break; 2436 case 1: 2437 p = "struct l_utimbuf *"; 2438 break; 2439 default: 2440 break; 2441 }; 2442 break; 2443 /* linux_access */ 2444 case 33: 2445 switch(ndx) { 2446 case 0: 2447 p = "char *"; 2448 break; 2449 case 1: 2450 p = "l_int"; 2451 break; 2452 default: 2453 break; 2454 }; 2455 break; 2456 /* linux_nice */ 2457 case 34: 2458 switch(ndx) { 2459 case 0: 2460 p = "l_int"; 2461 break; 2462 default: 2463 break; 2464 }; 2465 break; 2466 /* sync */ 2467 case 36: 2468 break; 2469 /* linux_kill */ 2470 case 37: 2471 switch(ndx) { 2472 case 0: 2473 p = "l_int"; 2474 break; 2475 case 1: 2476 p = "l_int"; 2477 break; 2478 default: 2479 break; 2480 }; 2481 break; 2482 /* linux_rename */ 2483 case 38: 2484 switch(ndx) { 2485 case 0: 2486 p = "char *"; 2487 break; 2488 case 1: 2489 p = "char *"; 2490 break; 2491 default: 2492 break; 2493 }; 2494 break; 2495 /* linux_mkdir */ 2496 case 39: 2497 switch(ndx) { 2498 case 0: 2499 p = "char *"; 2500 break; 2501 case 1: 2502 p = "l_int"; 2503 break; 2504 default: 2505 break; 2506 }; 2507 break; 2508 /* linux_rmdir */ 2509 case 40: 2510 switch(ndx) { 2511 case 0: 2512 p = "char *"; 2513 break; 2514 default: 2515 break; 2516 }; 2517 break; 2518 /* dup */ 2519 case 41: 2520 switch(ndx) { 2521 case 0: 2522 p = "u_int"; 2523 break; 2524 default: 2525 break; 2526 }; 2527 break; 2528 /* linux_pipe */ 2529 case 42: 2530 switch(ndx) { 2531 case 0: 2532 p = "l_ulong *"; 2533 break; 2534 default: 2535 break; 2536 }; 2537 break; 2538 /* linux_times */ 2539 case 43: 2540 switch(ndx) { 2541 case 0: 2542 p = "struct l_times_argv *"; 2543 break; 2544 default: 2545 break; 2546 }; 2547 break; 2548 /* linux_brk */ 2549 case 45: 2550 switch(ndx) { 2551 case 0: 2552 p = "l_ulong"; 2553 break; 2554 default: 2555 break; 2556 }; 2557 break; 2558 /* linux_setgid16 */ 2559 case 46: 2560 switch(ndx) { 2561 case 0: 2562 p = "l_gid16_t"; 2563 break; 2564 default: 2565 break; 2566 }; 2567 break; 2568 /* linux_getgid16 */ 2569 case 47: 2570 break; 2571 /* linux_signal */ 2572 case 48: 2573 switch(ndx) { 2574 case 0: 2575 p = "l_int"; 2576 break; 2577 case 1: 2578 p = "l_handler_t"; 2579 break; 2580 default: 2581 break; 2582 }; 2583 break; 2584 /* linux_geteuid16 */ 2585 case 49: 2586 break; 2587 /* linux_getegid16 */ 2588 case 50: 2589 break; 2590 /* acct */ 2591 case 51: 2592 switch(ndx) { 2593 case 0: 2594 p = "char *"; 2595 break; 2596 default: 2597 break; 2598 }; 2599 break; 2600 /* linux_umount */ 2601 case 52: 2602 switch(ndx) { 2603 case 0: 2604 p = "char *"; 2605 break; 2606 case 1: 2607 p = "l_int"; 2608 break; 2609 default: 2610 break; 2611 }; 2612 break; 2613 /* linux_ioctl */ 2614 case 54: 2615 switch(ndx) { 2616 case 0: 2617 p = "l_uint"; 2618 break; 2619 case 1: 2620 p = "l_uint"; 2621 break; 2622 case 2: 2623 p = "uintptr_t"; 2624 break; 2625 default: 2626 break; 2627 }; 2628 break; 2629 /* linux_fcntl */ 2630 case 55: 2631 switch(ndx) { 2632 case 0: 2633 p = "l_uint"; 2634 break; 2635 case 1: 2636 p = "l_uint"; 2637 break; 2638 case 2: 2639 p = "uintptr_t"; 2640 break; 2641 default: 2642 break; 2643 }; 2644 break; 2645 /* setpgid */ 2646 case 57: 2647 switch(ndx) { 2648 case 0: 2649 p = "int"; 2650 break; 2651 case 1: 2652 p = "int"; 2653 break; 2654 default: 2655 break; 2656 }; 2657 break; 2658 /* linux_olduname */ 2659 case 59: 2660 break; 2661 /* umask */ 2662 case 60: 2663 switch(ndx) { 2664 case 0: 2665 p = "int"; 2666 break; 2667 default: 2668 break; 2669 }; 2670 break; 2671 /* chroot */ 2672 case 61: 2673 switch(ndx) { 2674 case 0: 2675 p = "char *"; 2676 break; 2677 default: 2678 break; 2679 }; 2680 break; 2681 /* linux_ustat */ 2682 case 62: 2683 switch(ndx) { 2684 case 0: 2685 p = "l_dev_t"; 2686 break; 2687 case 1: 2688 p = "struct l_ustat *"; 2689 break; 2690 default: 2691 break; 2692 }; 2693 break; 2694 /* dup2 */ 2695 case 63: 2696 switch(ndx) { 2697 case 0: 2698 p = "u_int"; 2699 break; 2700 case 1: 2701 p = "u_int"; 2702 break; 2703 default: 2704 break; 2705 }; 2706 break; 2707 /* linux_getppid */ 2708 case 64: 2709 break; 2710 /* getpgrp */ 2711 case 65: 2712 break; 2713 /* setsid */ 2714 case 66: 2715 break; 2716 /* linux_sigaction */ 2717 case 67: 2718 switch(ndx) { 2719 case 0: 2720 p = "l_int"; 2721 break; 2722 case 1: 2723 p = "l_osigaction_t *"; 2724 break; 2725 case 2: 2726 p = "l_osigaction_t *"; 2727 break; 2728 default: 2729 break; 2730 }; 2731 break; 2732 /* linux_sgetmask */ 2733 case 68: 2734 break; 2735 /* linux_ssetmask */ 2736 case 69: 2737 switch(ndx) { 2738 case 0: 2739 p = "l_osigset_t"; 2740 break; 2741 default: 2742 break; 2743 }; 2744 break; 2745 /* linux_setreuid16 */ 2746 case 70: 2747 switch(ndx) { 2748 case 0: 2749 p = "l_uid16_t"; 2750 break; 2751 case 1: 2752 p = "l_uid16_t"; 2753 break; 2754 default: 2755 break; 2756 }; 2757 break; 2758 /* linux_setregid16 */ 2759 case 71: 2760 switch(ndx) { 2761 case 0: 2762 p = "l_gid16_t"; 2763 break; 2764 case 1: 2765 p = "l_gid16_t"; 2766 break; 2767 default: 2768 break; 2769 }; 2770 break; 2771 /* linux_sigsuspend */ 2772 case 72: 2773 switch(ndx) { 2774 case 0: 2775 p = "l_int"; 2776 break; 2777 case 1: 2778 p = "l_int"; 2779 break; 2780 case 2: 2781 p = "l_osigset_t"; 2782 break; 2783 default: 2784 break; 2785 }; 2786 break; 2787 /* linux_sigpending */ 2788 case 73: 2789 switch(ndx) { 2790 case 0: 2791 p = "l_osigset_t *"; 2792 break; 2793 default: 2794 break; 2795 }; 2796 break; 2797 /* linux_sethostname */ 2798 case 74: 2799 switch(ndx) { 2800 case 0: 2801 p = "char *"; 2802 break; 2803 case 1: 2804 p = "u_int"; 2805 break; 2806 default: 2807 break; 2808 }; 2809 break; 2810 /* linux_setrlimit */ 2811 case 75: 2812 switch(ndx) { 2813 case 0: 2814 p = "l_uint"; 2815 break; 2816 case 1: 2817 p = "struct l_rlimit *"; 2818 break; 2819 default: 2820 break; 2821 }; 2822 break; 2823 /* linux_old_getrlimit */ 2824 case 76: 2825 switch(ndx) { 2826 case 0: 2827 p = "l_uint"; 2828 break; 2829 case 1: 2830 p = "struct l_rlimit *"; 2831 break; 2832 default: 2833 break; 2834 }; 2835 break; 2836 /* linux_getrusage */ 2837 case 77: 2838 switch(ndx) { 2839 case 0: 2840 p = "int"; 2841 break; 2842 case 1: 2843 p = "struct l_rusage *"; 2844 break; 2845 default: 2846 break; 2847 }; 2848 break; 2849 /* linux_gettimeofday */ 2850 case 78: 2851 switch(ndx) { 2852 case 0: 2853 p = "struct l_timeval *"; 2854 break; 2855 case 1: 2856 p = "struct timezone *"; 2857 break; 2858 default: 2859 break; 2860 }; 2861 break; 2862 /* linux_settimeofday */ 2863 case 79: 2864 switch(ndx) { 2865 case 0: 2866 p = "struct l_timeval *"; 2867 break; 2868 case 1: 2869 p = "struct timezone *"; 2870 break; 2871 default: 2872 break; 2873 }; 2874 break; 2875 /* linux_getgroups16 */ 2876 case 80: 2877 switch(ndx) { 2878 case 0: 2879 p = "l_uint"; 2880 break; 2881 case 1: 2882 p = "l_gid16_t *"; 2883 break; 2884 default: 2885 break; 2886 }; 2887 break; 2888 /* linux_setgroups16 */ 2889 case 81: 2890 switch(ndx) { 2891 case 0: 2892 p = "l_uint"; 2893 break; 2894 case 1: 2895 p = "l_gid16_t *"; 2896 break; 2897 default: 2898 break; 2899 }; 2900 break; 2901 /* linux_old_select */ 2902 case 82: 2903 switch(ndx) { 2904 case 0: 2905 p = "struct l_old_select_argv *"; 2906 break; 2907 default: 2908 break; 2909 }; 2910 break; 2911 /* linux_symlink */ 2912 case 83: 2913 switch(ndx) { 2914 case 0: 2915 p = "char *"; 2916 break; 2917 case 1: 2918 p = "char *"; 2919 break; 2920 default: 2921 break; 2922 }; 2923 break; 2924 /* linux_lstat */ 2925 case 84: 2926 switch(ndx) { 2927 case 0: 2928 p = "char *"; 2929 break; 2930 case 1: 2931 p = "struct linux_lstat *"; 2932 break; 2933 default: 2934 break; 2935 }; 2936 break; 2937 /* linux_readlink */ 2938 case 85: 2939 switch(ndx) { 2940 case 0: 2941 p = "char *"; 2942 break; 2943 case 1: 2944 p = "char *"; 2945 break; 2946 case 2: 2947 p = "l_int"; 2948 break; 2949 default: 2950 break; 2951 }; 2952 break; 2953 /* swapon */ 2954 case 87: 2955 switch(ndx) { 2956 case 0: 2957 p = "char *"; 2958 break; 2959 default: 2960 break; 2961 }; 2962 break; 2963 /* linux_reboot */ 2964 case 88: 2965 switch(ndx) { 2966 case 0: 2967 p = "l_int"; 2968 break; 2969 case 1: 2970 p = "l_int"; 2971 break; 2972 case 2: 2973 p = "l_uint"; 2974 break; 2975 case 3: 2976 p = "void *"; 2977 break; 2978 default: 2979 break; 2980 }; 2981 break; 2982 /* linux_readdir */ 2983 case 89: 2984 switch(ndx) { 2985 case 0: 2986 p = "l_uint"; 2987 break; 2988 case 1: 2989 p = "struct l_dirent *"; 2990 break; 2991 case 2: 2992 p = "l_uint"; 2993 break; 2994 default: 2995 break; 2996 }; 2997 break; 2998 /* linux_mmap */ 2999 case 90: 3000 switch(ndx) { 3001 case 0: 3002 p = "struct l_mmap_argv *"; 3003 break; 3004 default: 3005 break; 3006 }; 3007 break; 3008 /* munmap */ 3009 case 91: 3010 switch(ndx) { 3011 case 0: 3012 p = "caddr_t"; 3013 break; 3014 case 1: 3015 p = "int"; 3016 break; 3017 default: 3018 break; 3019 }; 3020 break; 3021 /* linux_truncate */ 3022 case 92: 3023 switch(ndx) { 3024 case 0: 3025 p = "char *"; 3026 break; 3027 case 1: 3028 p = "l_ulong"; 3029 break; 3030 default: 3031 break; 3032 }; 3033 break; 3034 /* linux_ftruncate */ 3035 case 93: 3036 switch(ndx) { 3037 case 0: 3038 p = "int"; 3039 break; 3040 case 1: 3041 p = "long"; 3042 break; 3043 default: 3044 break; 3045 }; 3046 break; 3047 /* fchmod */ 3048 case 94: 3049 switch(ndx) { 3050 case 0: 3051 p = "int"; 3052 break; 3053 case 1: 3054 p = "int"; 3055 break; 3056 default: 3057 break; 3058 }; 3059 break; 3060 /* fchown */ 3061 case 95: 3062 switch(ndx) { 3063 case 0: 3064 p = "int"; 3065 break; 3066 case 1: 3067 p = "int"; 3068 break; 3069 case 2: 3070 p = "int"; 3071 break; 3072 default: 3073 break; 3074 }; 3075 break; 3076 /* linux_getpriority */ 3077 case 96: 3078 switch(ndx) { 3079 case 0: 3080 p = "int"; 3081 break; 3082 case 1: 3083 p = "int"; 3084 break; 3085 default: 3086 break; 3087 }; 3088 break; 3089 /* setpriority */ 3090 case 97: 3091 switch(ndx) { 3092 case 0: 3093 p = "int"; 3094 break; 3095 case 1: 3096 p = "int"; 3097 break; 3098 case 2: 3099 p = "int"; 3100 break; 3101 default: 3102 break; 3103 }; 3104 break; 3105 /* linux_statfs */ 3106 case 99: 3107 switch(ndx) { 3108 case 0: 3109 p = "char *"; 3110 break; 3111 case 1: 3112 p = "struct l_statfs_buf *"; 3113 break; 3114 default: 3115 break; 3116 }; 3117 break; 3118 /* linux_fstatfs */ 3119 case 100: 3120 switch(ndx) { 3121 case 0: 3122 p = "l_uint"; 3123 break; 3124 case 1: 3125 p = "struct l_statfs_buf *"; 3126 break; 3127 default: 3128 break; 3129 }; 3130 break; 3131 /* linux_socketcall */ 3132 case 102: 3133 switch(ndx) { 3134 case 0: 3135 p = "l_int"; 3136 break; 3137 case 1: 3138 p = "l_ulong"; 3139 break; 3140 default: 3141 break; 3142 }; 3143 break; 3144 /* linux_syslog */ 3145 case 103: 3146 switch(ndx) { 3147 case 0: 3148 p = "l_int"; 3149 break; 3150 case 1: 3151 p = "char *"; 3152 break; 3153 case 2: 3154 p = "l_int"; 3155 break; 3156 default: 3157 break; 3158 }; 3159 break; 3160 /* linux_setitimer */ 3161 case 104: 3162 switch(ndx) { 3163 case 0: 3164 p = "l_int"; 3165 break; 3166 case 1: 3167 p = "struct l_itimerval *"; 3168 break; 3169 case 2: 3170 p = "struct l_itimerval *"; 3171 break; 3172 default: 3173 break; 3174 }; 3175 break; 3176 /* linux_getitimer */ 3177 case 105: 3178 switch(ndx) { 3179 case 0: 3180 p = "l_int"; 3181 break; 3182 case 1: 3183 p = "struct l_itimerval *"; 3184 break; 3185 default: 3186 break; 3187 }; 3188 break; 3189 /* linux_newstat */ 3190 case 106: 3191 switch(ndx) { 3192 case 0: 3193 p = "char *"; 3194 break; 3195 case 1: 3196 p = "struct l_newstat *"; 3197 break; 3198 default: 3199 break; 3200 }; 3201 break; 3202 /* linux_newlstat */ 3203 case 107: 3204 switch(ndx) { 3205 case 0: 3206 p = "char *"; 3207 break; 3208 case 1: 3209 p = "struct l_newstat *"; 3210 break; 3211 default: 3212 break; 3213 }; 3214 break; 3215 /* linux_newfstat */ 3216 case 108: 3217 switch(ndx) { 3218 case 0: 3219 p = "l_uint"; 3220 break; 3221 case 1: 3222 p = "struct l_newstat *"; 3223 break; 3224 default: 3225 break; 3226 }; 3227 break; 3228 /* linux_uname */ 3229 case 109: 3230 break; 3231 /* linux_iopl */ 3232 case 110: 3233 switch(ndx) { 3234 case 0: 3235 p = "l_ulong"; 3236 break; 3237 default: 3238 break; 3239 }; 3240 break; 3241 /* linux_vhangup */ 3242 case 111: 3243 break; 3244 /* linux_wait4 */ 3245 case 114: 3246 switch(ndx) { 3247 case 0: 3248 p = "l_pid_t"; 3249 break; 3250 case 1: 3251 p = "l_uint *"; 3252 break; 3253 case 2: 3254 p = "l_int"; 3255 break; 3256 case 3: 3257 p = "struct l_rusage *"; 3258 break; 3259 default: 3260 break; 3261 }; 3262 break; 3263 /* linux_swapoff */ 3264 case 115: 3265 break; 3266 /* linux_sysinfo */ 3267 case 116: 3268 switch(ndx) { 3269 case 0: 3270 p = "struct l_sysinfo *"; 3271 break; 3272 default: 3273 break; 3274 }; 3275 break; 3276 /* linux_ipc */ 3277 case 117: 3278 switch(ndx) { 3279 case 0: 3280 p = "l_uint"; 3281 break; 3282 case 1: 3283 p = "l_int"; 3284 break; 3285 case 2: 3286 p = "l_int"; 3287 break; 3288 case 3: 3289 p = "l_int"; 3290 break; 3291 case 4: 3292 p = "void *"; 3293 break; 3294 case 5: 3295 p = "l_long"; 3296 break; 3297 default: 3298 break; 3299 }; 3300 break; 3301 /* fsync */ 3302 case 118: 3303 switch(ndx) { 3304 case 0: 3305 p = "int"; 3306 break; 3307 default: 3308 break; 3309 }; 3310 break; 3311 /* linux_sigreturn */ 3312 case 119: 3313 switch(ndx) { 3314 case 0: 3315 p = "struct l_sigframe *"; 3316 break; 3317 default: 3318 break; 3319 }; 3320 break; 3321 /* linux_clone */ 3322 case 120: 3323 switch(ndx) { 3324 case 0: 3325 p = "l_int"; 3326 break; 3327 case 1: 3328 p = "void *"; 3329 break; 3330 case 2: 3331 p = "void *"; 3332 break; 3333 case 3: 3334 p = "void *"; 3335 break; 3336 case 4: 3337 p = "void *"; 3338 break; 3339 default: 3340 break; 3341 }; 3342 break; 3343 /* linux_setdomainname */ 3344 case 121: 3345 switch(ndx) { 3346 case 0: 3347 p = "char *"; 3348 break; 3349 case 1: 3350 p = "int"; 3351 break; 3352 default: 3353 break; 3354 }; 3355 break; 3356 /* linux_newuname */ 3357 case 122: 3358 switch(ndx) { 3359 case 0: 3360 p = "struct l_new_utsname *"; 3361 break; 3362 default: 3363 break; 3364 }; 3365 break; 3366 /* linux_adjtimex */ 3367 case 124: 3368 break; 3369 /* linux_mprotect */ 3370 case 125: 3371 switch(ndx) { 3372 case 0: 3373 p = "caddr_t"; 3374 break; 3375 case 1: 3376 p = "int"; 3377 break; 3378 case 2: 3379 p = "int"; 3380 break; 3381 default: 3382 break; 3383 }; 3384 break; 3385 /* linux_sigprocmask */ 3386 case 126: 3387 switch(ndx) { 3388 case 0: 3389 p = "l_int"; 3390 break; 3391 case 1: 3392 p = "l_osigset_t *"; 3393 break; 3394 case 2: 3395 p = "l_osigset_t *"; 3396 break; 3397 default: 3398 break; 3399 }; 3400 break; 3401 /* linux_create_module */ 3402 case 127: 3403 break; 3404 /* linux_init_module */ 3405 case 128: 3406 break; 3407 /* linux_delete_module */ 3408 case 129: 3409 break; 3410 /* linux_get_kernel_syms */ 3411 case 130: 3412 break; 3413 /* linux_quotactl */ 3414 case 131: 3415 break; 3416 /* getpgid */ 3417 case 132: 3418 switch(ndx) { 3419 case 0: 3420 p = "int"; 3421 break; 3422 default: 3423 break; 3424 }; 3425 break; 3426 /* fchdir */ 3427 case 133: 3428 switch(ndx) { 3429 case 0: 3430 p = "int"; 3431 break; 3432 default: 3433 break; 3434 }; 3435 break; 3436 /* linux_bdflush */ 3437 case 134: 3438 break; 3439 /* linux_sysfs */ 3440 case 135: 3441 switch(ndx) { 3442 case 0: 3443 p = "l_int"; 3444 break; 3445 case 1: 3446 p = "l_ulong"; 3447 break; 3448 case 2: 3449 p = "l_ulong"; 3450 break; 3451 default: 3452 break; 3453 }; 3454 break; 3455 /* linux_personality */ 3456 case 136: 3457 switch(ndx) { 3458 case 0: 3459 p = "l_ulong"; 3460 break; 3461 default: 3462 break; 3463 }; 3464 break; 3465 /* linux_setfsuid16 */ 3466 case 138: 3467 switch(ndx) { 3468 case 0: 3469 p = "l_uid16_t"; 3470 break; 3471 default: 3472 break; 3473 }; 3474 break; 3475 /* linux_setfsgid16 */ 3476 case 139: 3477 switch(ndx) { 3478 case 0: 3479 p = "l_gid16_t"; 3480 break; 3481 default: 3482 break; 3483 }; 3484 break; 3485 /* linux_llseek */ 3486 case 140: 3487 switch(ndx) { 3488 case 0: 3489 p = "l_int"; 3490 break; 3491 case 1: 3492 p = "l_ulong"; 3493 break; 3494 case 2: 3495 p = "l_ulong"; 3496 break; 3497 case 3: 3498 p = "l_loff_t *"; 3499 break; 3500 case 4: 3501 p = "l_uint"; 3502 break; 3503 default: 3504 break; 3505 }; 3506 break; 3507 /* linux_getdents */ 3508 case 141: 3509 switch(ndx) { 3510 case 0: 3511 p = "l_uint"; 3512 break; 3513 case 1: 3514 p = "void *"; 3515 break; 3516 case 2: 3517 p = "l_uint"; 3518 break; 3519 default: 3520 break; 3521 }; 3522 break; 3523 /* linux_select */ 3524 case 142: 3525 switch(ndx) { 3526 case 0: 3527 p = "l_int"; 3528 break; 3529 case 1: 3530 p = "l_fd_set *"; 3531 break; 3532 case 2: 3533 p = "l_fd_set *"; 3534 break; 3535 case 3: 3536 p = "l_fd_set *"; 3537 break; 3538 case 4: 3539 p = "struct l_timeval *"; 3540 break; 3541 default: 3542 break; 3543 }; 3544 break; 3545 /* flock */ 3546 case 143: 3547 switch(ndx) { 3548 case 0: 3549 p = "int"; 3550 break; 3551 case 1: 3552 p = "int"; 3553 break; 3554 default: 3555 break; 3556 }; 3557 break; 3558 /* linux_msync */ 3559 case 144: 3560 switch(ndx) { 3561 case 0: 3562 p = "l_ulong"; 3563 break; 3564 case 1: 3565 p = "l_size_t"; 3566 break; 3567 case 2: 3568 p = "l_int"; 3569 break; 3570 default: 3571 break; 3572 }; 3573 break; 3574 /* linux_readv */ 3575 case 145: 3576 switch(ndx) { 3577 case 0: 3578 p = "l_ulong"; 3579 break; 3580 case 1: 3581 p = "struct l_iovec32 *"; 3582 break; 3583 case 2: 3584 p = "l_ulong"; 3585 break; 3586 default: 3587 break; 3588 }; 3589 break; 3590 /* linux_writev */ 3591 case 146: 3592 switch(ndx) { 3593 case 0: 3594 p = "l_ulong"; 3595 break; 3596 case 1: 3597 p = "struct l_iovec32 *"; 3598 break; 3599 case 2: 3600 p = "l_ulong"; 3601 break; 3602 default: 3603 break; 3604 }; 3605 break; 3606 /* linux_getsid */ 3607 case 147: 3608 switch(ndx) { 3609 case 0: 3610 p = "l_pid_t"; 3611 break; 3612 default: 3613 break; 3614 }; 3615 break; 3616 /* linux_fdatasync */ 3617 case 148: 3618 switch(ndx) { 3619 case 0: 3620 p = "l_uint"; 3621 break; 3622 default: 3623 break; 3624 }; 3625 break; 3626 /* linux_sysctl */ 3627 case 149: 3628 switch(ndx) { 3629 case 0: 3630 p = "struct l___sysctl_args *"; 3631 break; 3632 default: 3633 break; 3634 }; 3635 break; 3636 /* mlock */ 3637 case 150: 3638 switch(ndx) { 3639 case 0: 3640 p = "const void *"; 3641 break; 3642 case 1: 3643 p = "size_t"; 3644 break; 3645 default: 3646 break; 3647 }; 3648 break; 3649 /* munlock */ 3650 case 151: 3651 switch(ndx) { 3652 case 0: 3653 p = "const void *"; 3654 break; 3655 case 1: 3656 p = "size_t"; 3657 break; 3658 default: 3659 break; 3660 }; 3661 break; 3662 /* mlockall */ 3663 case 152: 3664 switch(ndx) { 3665 case 0: 3666 p = "int"; 3667 break; 3668 default: 3669 break; 3670 }; 3671 break; 3672 /* munlockall */ 3673 case 153: 3674 break; 3675 /* sched_setparam */ 3676 case 154: 3677 switch(ndx) { 3678 case 0: 3679 p = "pid_t"; 3680 break; 3681 case 1: 3682 p = "const struct sched_param *"; 3683 break; 3684 default: 3685 break; 3686 }; 3687 break; 3688 /* sched_getparam */ 3689 case 155: 3690 switch(ndx) { 3691 case 0: 3692 p = "pid_t"; 3693 break; 3694 case 1: 3695 p = "struct sched_param *"; 3696 break; 3697 default: 3698 break; 3699 }; 3700 break; 3701 /* linux_sched_setscheduler */ 3702 case 156: 3703 switch(ndx) { 3704 case 0: 3705 p = "l_pid_t"; 3706 break; 3707 case 1: 3708 p = "l_int"; 3709 break; 3710 case 2: 3711 p = "struct l_sched_param *"; 3712 break; 3713 default: 3714 break; 3715 }; 3716 break; 3717 /* linux_sched_getscheduler */ 3718 case 157: 3719 switch(ndx) { 3720 case 0: 3721 p = "l_pid_t"; 3722 break; 3723 default: 3724 break; 3725 }; 3726 break; 3727 /* sched_yield */ 3728 case 158: 3729 break; 3730 /* linux_sched_get_priority_max */ 3731 case 159: 3732 switch(ndx) { 3733 case 0: 3734 p = "l_int"; 3735 break; 3736 default: 3737 break; 3738 }; 3739 break; 3740 /* linux_sched_get_priority_min */ 3741 case 160: 3742 switch(ndx) { 3743 case 0: 3744 p = "l_int"; 3745 break; 3746 default: 3747 break; 3748 }; 3749 break; 3750 /* linux_sched_rr_get_interval */ 3751 case 161: 3752 switch(ndx) { 3753 case 0: 3754 p = "l_pid_t"; 3755 break; 3756 case 1: 3757 p = "struct l_timespec *"; 3758 break; 3759 default: 3760 break; 3761 }; 3762 break; 3763 /* linux_nanosleep */ 3764 case 162: 3765 switch(ndx) { 3766 case 0: 3767 p = "const struct l_timespec *"; 3768 break; 3769 case 1: 3770 p = "struct l_timespec *"; 3771 break; 3772 default: 3773 break; 3774 }; 3775 break; 3776 /* linux_mremap */ 3777 case 163: 3778 switch(ndx) { 3779 case 0: 3780 p = "l_ulong"; 3781 break; 3782 case 1: 3783 p = "l_ulong"; 3784 break; 3785 case 2: 3786 p = "l_ulong"; 3787 break; 3788 case 3: 3789 p = "l_ulong"; 3790 break; 3791 case 4: 3792 p = "l_ulong"; 3793 break; 3794 default: 3795 break; 3796 }; 3797 break; 3798 /* linux_setresuid16 */ 3799 case 164: 3800 switch(ndx) { 3801 case 0: 3802 p = "l_uid16_t"; 3803 break; 3804 case 1: 3805 p = "l_uid16_t"; 3806 break; 3807 case 2: 3808 p = "l_uid16_t"; 3809 break; 3810 default: 3811 break; 3812 }; 3813 break; 3814 /* linux_getresuid16 */ 3815 case 165: 3816 switch(ndx) { 3817 case 0: 3818 p = "l_uid16_t *"; 3819 break; 3820 case 1: 3821 p = "l_uid16_t *"; 3822 break; 3823 case 2: 3824 p = "l_uid16_t *"; 3825 break; 3826 default: 3827 break; 3828 }; 3829 break; 3830 /* linux_query_module */ 3831 case 167: 3832 break; 3833 /* poll */ 3834 case 168: 3835 switch(ndx) { 3836 case 0: 3837 p = "struct pollfd *"; 3838 break; 3839 case 1: 3840 p = "unsigned int"; 3841 break; 3842 case 2: 3843 p = "int"; 3844 break; 3845 default: 3846 break; 3847 }; 3848 break; 3849 /* linux_nfsservctl */ 3850 case 169: 3851 break; 3852 /* linux_setresgid16 */ 3853 case 170: 3854 switch(ndx) { 3855 case 0: 3856 p = "l_gid16_t"; 3857 break; 3858 case 1: 3859 p = "l_gid16_t"; 3860 break; 3861 case 2: 3862 p = "l_gid16_t"; 3863 break; 3864 default: 3865 break; 3866 }; 3867 break; 3868 /* linux_getresgid16 */ 3869 case 171: 3870 switch(ndx) { 3871 case 0: 3872 p = "l_gid16_t *"; 3873 break; 3874 case 1: 3875 p = "l_gid16_t *"; 3876 break; 3877 case 2: 3878 p = "l_gid16_t *"; 3879 break; 3880 default: 3881 break; 3882 }; 3883 break; 3884 /* linux_prctl */ 3885 case 172: 3886 switch(ndx) { 3887 case 0: 3888 p = "l_int"; 3889 break; 3890 case 1: 3891 p = "l_int"; 3892 break; 3893 case 2: 3894 p = "l_int"; 3895 break; 3896 case 3: 3897 p = "l_int"; 3898 break; 3899 case 4: 3900 p = "l_int"; 3901 break; 3902 default: 3903 break; 3904 }; 3905 break; 3906 /* linux_rt_sigreturn */ 3907 case 173: 3908 switch(ndx) { 3909 case 0: 3910 p = "struct l_ucontext *"; 3911 break; 3912 default: 3913 break; 3914 }; 3915 break; 3916 /* linux_rt_sigaction */ 3917 case 174: 3918 switch(ndx) { 3919 case 0: 3920 p = "l_int"; 3921 break; 3922 case 1: 3923 p = "l_sigaction_t *"; 3924 break; 3925 case 2: 3926 p = "l_sigaction_t *"; 3927 break; 3928 case 3: 3929 p = "l_size_t"; 3930 break; 3931 default: 3932 break; 3933 }; 3934 break; 3935 /* linux_rt_sigprocmask */ 3936 case 175: 3937 switch(ndx) { 3938 case 0: 3939 p = "l_int"; 3940 break; 3941 case 1: 3942 p = "l_sigset_t *"; 3943 break; 3944 case 2: 3945 p = "l_sigset_t *"; 3946 break; 3947 case 3: 3948 p = "l_size_t"; 3949 break; 3950 default: 3951 break; 3952 }; 3953 break; 3954 /* linux_rt_sigpending */ 3955 case 176: 3956 switch(ndx) { 3957 case 0: 3958 p = "l_sigset_t *"; 3959 break; 3960 case 1: 3961 p = "l_size_t"; 3962 break; 3963 default: 3964 break; 3965 }; 3966 break; 3967 /* linux_rt_sigtimedwait */ 3968 case 177: 3969 switch(ndx) { 3970 case 0: 3971 p = "l_sigset_t *"; 3972 break; 3973 case 1: 3974 p = "l_siginfo_t *"; 3975 break; 3976 case 2: 3977 p = "struct l_timeval *"; 3978 break; 3979 case 3: 3980 p = "l_size_t"; 3981 break; 3982 default: 3983 break; 3984 }; 3985 break; 3986 /* linux_rt_sigqueueinfo */ 3987 case 178: 3988 break; 3989 /* linux_rt_sigsuspend */ 3990 case 179: 3991 switch(ndx) { 3992 case 0: 3993 p = "l_sigset_t *"; 3994 break; 3995 case 1: 3996 p = "l_size_t"; 3997 break; 3998 default: 3999 break; 4000 }; 4001 break; 4002 /* linux_pread */ 4003 case 180: 4004 switch(ndx) { 4005 case 0: 4006 p = "l_uint"; 4007 break; 4008 case 1: 4009 p = "char *"; 4010 break; 4011 case 2: 4012 p = "l_size_t"; 4013 break; 4014 case 3: 4015 p = "l_loff_t"; 4016 break; 4017 default: 4018 break; 4019 }; 4020 break; 4021 /* linux_pwrite */ 4022 case 181: 4023 switch(ndx) { 4024 case 0: 4025 p = "l_uint"; 4026 break; 4027 case 1: 4028 p = "char *"; 4029 break; 4030 case 2: 4031 p = "l_size_t"; 4032 break; 4033 case 3: 4034 p = "l_loff_t"; 4035 break; 4036 default: 4037 break; 4038 }; 4039 break; 4040 /* linux_chown16 */ 4041 case 182: 4042 switch(ndx) { 4043 case 0: 4044 p = "char *"; 4045 break; 4046 case 1: 4047 p = "l_uid16_t"; 4048 break; 4049 case 2: 4050 p = "l_gid16_t"; 4051 break; 4052 default: 4053 break; 4054 }; 4055 break; 4056 /* linux_getcwd */ 4057 case 183: 4058 switch(ndx) { 4059 case 0: 4060 p = "char *"; 4061 break; 4062 case 1: 4063 p = "l_ulong"; 4064 break; 4065 default: 4066 break; 4067 }; 4068 break; 4069 /* linux_capget */ 4070 case 184: 4071 switch(ndx) { 4072 case 0: 4073 p = "struct l_user_cap_header *"; 4074 break; 4075 case 1: 4076 p = "struct l_user_cap_data *"; 4077 break; 4078 default: 4079 break; 4080 }; 4081 break; 4082 /* linux_capset */ 4083 case 185: 4084 switch(ndx) { 4085 case 0: 4086 p = "struct l_user_cap_header *"; 4087 break; 4088 case 1: 4089 p = "struct l_user_cap_data *"; 4090 break; 4091 default: 4092 break; 4093 }; 4094 break; 4095 /* linux_sigaltstack */ 4096 case 186: 4097 switch(ndx) { 4098 case 0: 4099 p = "l_stack_t *"; 4100 break; 4101 case 1: 4102 p = "l_stack_t *"; 4103 break; 4104 default: 4105 break; 4106 }; 4107 break; 4108 /* linux_sendfile */ 4109 case 187: 4110 break; 4111 /* linux_vfork */ 4112 case 190: 4113 break; 4114 /* linux_getrlimit */ 4115 case 191: 4116 switch(ndx) { 4117 case 0: 4118 p = "l_uint"; 4119 break; 4120 case 1: 4121 p = "struct l_rlimit *"; 4122 break; 4123 default: 4124 break; 4125 }; 4126 break; 4127 /* linux_mmap2 */ 4128 case 192: 4129 switch(ndx) { 4130 case 0: 4131 p = "l_ulong"; 4132 break; 4133 case 1: 4134 p = "l_ulong"; 4135 break; 4136 case 2: 4137 p = "l_ulong"; 4138 break; 4139 case 3: 4140 p = "l_ulong"; 4141 break; 4142 case 4: 4143 p = "l_ulong"; 4144 break; 4145 case 5: 4146 p = "l_ulong"; 4147 break; 4148 default: 4149 break; 4150 }; 4151 break; 4152 /* linux_truncate64 */ 4153 case 193: 4154 switch(ndx) { 4155 case 0: 4156 p = "char *"; 4157 break; 4158 case 1: 4159 p = "l_loff_t"; 4160 break; 4161 default: 4162 break; 4163 }; 4164 break; 4165 /* linux_ftruncate64 */ 4166 case 194: 4167 switch(ndx) { 4168 case 0: 4169 p = "l_uint"; 4170 break; 4171 case 1: 4172 p = "l_loff_t"; 4173 break; 4174 default: 4175 break; 4176 }; 4177 break; 4178 /* linux_stat64 */ 4179 case 195: 4180 switch(ndx) { 4181 case 0: 4182 p = "char *"; 4183 break; 4184 case 1: 4185 p = "struct l_stat64 *"; 4186 break; 4187 case 2: 4188 p = "l_long"; 4189 break; 4190 default: 4191 break; 4192 }; 4193 break; 4194 /* linux_lstat64 */ 4195 case 196: 4196 switch(ndx) { 4197 case 0: 4198 p = "char *"; 4199 break; 4200 case 1: 4201 p = "struct l_stat64 *"; 4202 break; 4203 case 2: 4204 p = "l_long"; 4205 break; 4206 default: 4207 break; 4208 }; 4209 break; 4210 /* linux_fstat64 */ 4211 case 197: 4212 switch(ndx) { 4213 case 0: 4214 p = "l_ulong"; 4215 break; 4216 case 1: 4217 p = "struct l_stat64 *"; 4218 break; 4219 case 2: 4220 p = "l_long"; 4221 break; 4222 default: 4223 break; 4224 }; 4225 break; 4226 /* linux_lchown */ 4227 case 198: 4228 switch(ndx) { 4229 case 0: 4230 p = "char *"; 4231 break; 4232 case 1: 4233 p = "l_uid_t"; 4234 break; 4235 case 2: 4236 p = "l_gid_t"; 4237 break; 4238 default: 4239 break; 4240 }; 4241 break; 4242 /* linux_getuid */ 4243 case 199: 4244 break; 4245 /* linux_getgid */ 4246 case 200: 4247 break; 4248 /* geteuid */ 4249 case 201: 4250 break; 4251 /* getegid */ 4252 case 202: 4253 break; 4254 /* setreuid */ 4255 case 203: 4256 switch(ndx) { 4257 case 0: 4258 p = "uid_t"; 4259 break; 4260 case 1: 4261 p = "uid_t"; 4262 break; 4263 default: 4264 break; 4265 }; 4266 break; 4267 /* setregid */ 4268 case 204: 4269 switch(ndx) { 4270 case 0: 4271 p = "gid_t"; 4272 break; 4273 case 1: 4274 p = "gid_t"; 4275 break; 4276 default: 4277 break; 4278 }; 4279 break; 4280 /* linux_getgroups */ 4281 case 205: 4282 switch(ndx) { 4283 case 0: 4284 p = "l_int"; 4285 break; 4286 case 1: 4287 p = "l_gid_t *"; 4288 break; 4289 default: 4290 break; 4291 }; 4292 break; 4293 /* linux_setgroups */ 4294 case 206: 4295 switch(ndx) { 4296 case 0: 4297 p = "l_int"; 4298 break; 4299 case 1: 4300 p = "l_gid_t *"; 4301 break; 4302 default: 4303 break; 4304 }; 4305 break; 4306 /* fchown */ 4307 case 207: 4308 break; 4309 /* setresuid */ 4310 case 208: 4311 switch(ndx) { 4312 case 0: 4313 p = "uid_t"; 4314 break; 4315 case 1: 4316 p = "uid_t"; 4317 break; 4318 case 2: 4319 p = "uid_t"; 4320 break; 4321 default: 4322 break; 4323 }; 4324 break; 4325 /* getresuid */ 4326 case 209: 4327 switch(ndx) { 4328 case 0: 4329 p = "uid_t *"; 4330 break; 4331 case 1: 4332 p = "uid_t *"; 4333 break; 4334 case 2: 4335 p = "uid_t *"; 4336 break; 4337 default: 4338 break; 4339 }; 4340 break; 4341 /* setresgid */ 4342 case 210: 4343 switch(ndx) { 4344 case 0: 4345 p = "gid_t"; 4346 break; 4347 case 1: 4348 p = "gid_t"; 4349 break; 4350 case 2: 4351 p = "gid_t"; 4352 break; 4353 default: 4354 break; 4355 }; 4356 break; 4357 /* getresgid */ 4358 case 211: 4359 switch(ndx) { 4360 case 0: 4361 p = "gid_t *"; 4362 break; 4363 case 1: 4364 p = "gid_t *"; 4365 break; 4366 case 2: 4367 p = "gid_t *"; 4368 break; 4369 default: 4370 break; 4371 }; 4372 break; 4373 /* linux_chown */ 4374 case 212: 4375 switch(ndx) { 4376 case 0: 4377 p = "char *"; 4378 break; 4379 case 1: 4380 p = "l_uid_t"; 4381 break; 4382 case 2: 4383 p = "l_gid_t"; 4384 break; 4385 default: 4386 break; 4387 }; 4388 break; 4389 /* setuid */ 4390 case 213: 4391 switch(ndx) { 4392 case 0: 4393 p = "uid_t"; 4394 break; 4395 default: 4396 break; 4397 }; 4398 break; 4399 /* setgid */ 4400 case 214: 4401 switch(ndx) { 4402 case 0: 4403 p = "gid_t"; 4404 break; 4405 default: 4406 break; 4407 }; 4408 break; 4409 /* linux_setfsuid */ 4410 case 215: 4411 switch(ndx) { 4412 case 0: 4413 p = "l_uid_t"; 4414 break; 4415 default: 4416 break; 4417 }; 4418 break; 4419 /* linux_setfsgid */ 4420 case 216: 4421 switch(ndx) { 4422 case 0: 4423 p = "l_gid_t"; 4424 break; 4425 default: 4426 break; 4427 }; 4428 break; 4429 /* linux_pivot_root */ 4430 case 217: 4431 switch(ndx) { 4432 case 0: 4433 p = "char *"; 4434 break; 4435 case 1: 4436 p = "char *"; 4437 break; 4438 default: 4439 break; 4440 }; 4441 break; 4442 /* linux_mincore */ 4443 case 218: 4444 switch(ndx) { 4445 case 0: 4446 p = "l_ulong"; 4447 break; 4448 case 1: 4449 p = "l_size_t"; 4450 break; 4451 case 2: 4452 p = "u_char *"; 4453 break; 4454 default: 4455 break; 4456 }; 4457 break; 4458 /* madvise */ 4459 case 219: 4460 switch(ndx) { 4461 case 0: 4462 p = "void *"; 4463 break; 4464 case 1: 4465 p = "size_t"; 4466 break; 4467 case 2: 4468 p = "int"; 4469 break; 4470 default: 4471 break; 4472 }; 4473 break; 4474 /* linux_getdents64 */ 4475 case 220: 4476 switch(ndx) { 4477 case 0: 4478 p = "l_uint"; 4479 break; 4480 case 1: 4481 p = "void *"; 4482 break; 4483 case 2: 4484 p = "l_uint"; 4485 break; 4486 default: 4487 break; 4488 }; 4489 break; 4490 /* linux_fcntl64 */ 4491 case 221: 4492 switch(ndx) { 4493 case 0: 4494 p = "l_uint"; 4495 break; 4496 case 1: 4497 p = "l_uint"; 4498 break; 4499 case 2: 4500 p = "uintptr_t"; 4501 break; 4502 default: 4503 break; 4504 }; 4505 break; 4506 /* linux_gettid */ 4507 case 224: 4508 break; 4509 /* linux_setxattr */ 4510 case 226: 4511 break; 4512 /* linux_lsetxattr */ 4513 case 227: 4514 break; 4515 /* linux_fsetxattr */ 4516 case 228: 4517 break; 4518 /* linux_getxattr */ 4519 case 229: 4520 break; 4521 /* linux_lgetxattr */ 4522 case 230: 4523 break; 4524 /* linux_fgetxattr */ 4525 case 231: 4526 break; 4527 /* linux_listxattr */ 4528 case 232: 4529 break; 4530 /* linux_llistxattr */ 4531 case 233: 4532 break; 4533 /* linux_flistxattr */ 4534 case 234: 4535 break; 4536 /* linux_removexattr */ 4537 case 235: 4538 break; 4539 /* linux_lremovexattr */ 4540 case 236: 4541 break; 4542 /* linux_fremovexattr */ 4543 case 237: 4544 break; 4545 /* linux_tkill */ 4546 case 238: 4547 switch(ndx) { 4548 case 0: 4549 p = "int"; 4550 break; 4551 case 1: 4552 p = "int"; 4553 break; 4554 default: 4555 break; 4556 }; 4557 break; 4558 /* linux_sys_futex */ 4559 case 240: 4560 switch(ndx) { 4561 case 0: 4562 p = "void *"; 4563 break; 4564 case 1: 4565 p = "int"; 4566 break; 4567 case 2: 4568 p = "uint32_t"; 4569 break; 4570 case 3: 4571 p = "struct l_timespec *"; 4572 break; 4573 case 4: 4574 p = "uint32_t *"; 4575 break; 4576 case 5: 4577 p = "uint32_t"; 4578 break; 4579 default: 4580 break; 4581 }; 4582 break; 4583 /* linux_sched_setaffinity */ 4584 case 241: 4585 switch(ndx) { 4586 case 0: 4587 p = "l_pid_t"; 4588 break; 4589 case 1: 4590 p = "l_uint"; 4591 break; 4592 case 2: 4593 p = "l_ulong *"; 4594 break; 4595 default: 4596 break; 4597 }; 4598 break; 4599 /* linux_sched_getaffinity */ 4600 case 242: 4601 switch(ndx) { 4602 case 0: 4603 p = "l_pid_t"; 4604 break; 4605 case 1: 4606 p = "l_uint"; 4607 break; 4608 case 2: 4609 p = "l_ulong *"; 4610 break; 4611 default: 4612 break; 4613 }; 4614 break; 4615 /* linux_set_thread_area */ 4616 case 243: 4617 switch(ndx) { 4618 case 0: 4619 p = "struct l_user_desc *"; 4620 break; 4621 default: 4622 break; 4623 }; 4624 break; 4625 /* linux_fadvise64 */ 4626 case 250: 4627 switch(ndx) { 4628 case 0: 4629 p = "int"; 4630 break; 4631 case 1: 4632 p = "l_loff_t"; 4633 break; 4634 case 2: 4635 p = "l_size_t"; 4636 break; 4637 case 3: 4638 p = "int"; 4639 break; 4640 default: 4641 break; 4642 }; 4643 break; 4644 /* linux_exit_group */ 4645 case 252: 4646 switch(ndx) { 4647 case 0: 4648 p = "int"; 4649 break; 4650 default: 4651 break; 4652 }; 4653 break; 4654 /* linux_lookup_dcookie */ 4655 case 253: 4656 break; 4657 /* linux_epoll_create */ 4658 case 254: 4659 break; 4660 /* linux_epoll_ctl */ 4661 case 255: 4662 break; 4663 /* linux_epoll_wait */ 4664 case 256: 4665 break; 4666 /* linux_remap_file_pages */ 4667 case 257: 4668 break; 4669 /* linux_set_tid_address */ 4670 case 258: 4671 switch(ndx) { 4672 case 0: 4673 p = "int *"; 4674 break; 4675 default: 4676 break; 4677 }; 4678 break; 4679 /* linux_timer_create */ 4680 case 259: 4681 break; 4682 /* linux_timer_settime */ 4683 case 260: 4684 break; 4685 /* linux_timer_gettime */ 4686 case 261: 4687 break; 4688 /* linux_timer_getoverrun */ 4689 case 262: 4690 break; 4691 /* linux_timer_delete */ 4692 case 263: 4693 break; 4694 /* linux_clock_settime */ 4695 case 264: 4696 switch(ndx) { 4697 case 0: 4698 p = "clockid_t"; 4699 break; 4700 case 1: 4701 p = "struct l_timespec *"; 4702 break; 4703 default: 4704 break; 4705 }; 4706 break; 4707 /* linux_clock_gettime */ 4708 case 265: 4709 switch(ndx) { 4710 case 0: 4711 p = "clockid_t"; 4712 break; 4713 case 1: 4714 p = "struct l_timespec *"; 4715 break; 4716 default: 4717 break; 4718 }; 4719 break; 4720 /* linux_clock_getres */ 4721 case 266: 4722 switch(ndx) { 4723 case 0: 4724 p = "clockid_t"; 4725 break; 4726 case 1: 4727 p = "struct l_timespec *"; 4728 break; 4729 default: 4730 break; 4731 }; 4732 break; 4733 /* linux_clock_nanosleep */ 4734 case 267: 4735 switch(ndx) { 4736 case 0: 4737 p = "clockid_t"; 4738 break; 4739 case 1: 4740 p = "int"; 4741 break; 4742 case 2: 4743 p = "struct l_timespec *"; 4744 break; 4745 case 3: 4746 p = "struct l_timespec *"; 4747 break; 4748 default: 4749 break; 4750 }; 4751 break; 4752 /* linux_statfs64 */ 4753 case 268: 4754 switch(ndx) { 4755 case 0: 4756 p = "char *"; 4757 break; 4758 case 1: 4759 p = "size_t"; 4760 break; 4761 case 2: 4762 p = "struct l_statfs64_buf *"; 4763 break; 4764 default: 4765 break; 4766 }; 4767 break; 4768 /* linux_fstatfs64 */ 4769 case 269: 4770 break; 4771 /* linux_tgkill */ 4772 case 270: 4773 switch(ndx) { 4774 case 0: 4775 p = "int"; 4776 break; 4777 case 1: 4778 p = "int"; 4779 break; 4780 case 2: 4781 p = "int"; 4782 break; 4783 default: 4784 break; 4785 }; 4786 break; 4787 /* linux_utimes */ 4788 case 271: 4789 switch(ndx) { 4790 case 0: 4791 p = "char *"; 4792 break; 4793 case 1: 4794 p = "struct l_timeval *"; 4795 break; 4796 default: 4797 break; 4798 }; 4799 break; 4800 /* linux_fadvise64_64 */ 4801 case 272: 4802 switch(ndx) { 4803 case 0: 4804 p = "int"; 4805 break; 4806 case 1: 4807 p = "l_loff_t"; 4808 break; 4809 case 2: 4810 p = "l_loff_t"; 4811 break; 4812 case 3: 4813 p = "int"; 4814 break; 4815 default: 4816 break; 4817 }; 4818 break; 4819 /* linux_mbind */ 4820 case 274: 4821 break; 4822 /* linux_get_mempolicy */ 4823 case 275: 4824 break; 4825 /* linux_set_mempolicy */ 4826 case 276: 4827 break; 4828 /* linux_mq_open */ 4829 case 277: 4830 break; 4831 /* linux_mq_unlink */ 4832 case 278: 4833 break; 4834 /* linux_mq_timedsend */ 4835 case 279: 4836 break; 4837 /* linux_mq_timedreceive */ 4838 case 280: 4839 break; 4840 /* linux_mq_notify */ 4841 case 281: 4842 break; 4843 /* linux_mq_getsetattr */ 4844 case 282: 4845 break; 4846 /* linux_kexec_load */ 4847 case 283: 4848 break; 4849 /* linux_waitid */ 4850 case 284: 4851 break; 4852 /* linux_add_key */ 4853 case 286: 4854 break; 4855 /* linux_request_key */ 4856 case 287: 4857 break; 4858 /* linux_keyctl */ 4859 case 288: 4860 break; 4861 /* linux_ioprio_set */ 4862 case 289: 4863 break; 4864 /* linux_ioprio_get */ 4865 case 290: 4866 break; 4867 /* linux_inotify_init */ 4868 case 291: 4869 break; 4870 /* linux_inotify_add_watch */ 4871 case 292: 4872 break; 4873 /* linux_inotify_rm_watch */ 4874 case 293: 4875 break; 4876 /* linux_migrate_pages */ 4877 case 294: 4878 break; 4879 /* linux_openat */ 4880 case 295: 4881 switch(ndx) { 4882 case 0: 4883 p = "l_int"; 4884 break; 4885 case 1: 4886 p = "const char *"; 4887 break; 4888 case 2: 4889 p = "l_int"; 4890 break; 4891 case 3: 4892 p = "l_int"; 4893 break; 4894 default: 4895 break; 4896 }; 4897 break; 4898 /* linux_mkdirat */ 4899 case 296: 4900 switch(ndx) { 4901 case 0: 4902 p = "l_int"; 4903 break; 4904 case 1: 4905 p = "const char *"; 4906 break; 4907 case 2: 4908 p = "l_int"; 4909 break; 4910 default: 4911 break; 4912 }; 4913 break; 4914 /* linux_mknodat */ 4915 case 297: 4916 switch(ndx) { 4917 case 0: 4918 p = "l_int"; 4919 break; 4920 case 1: 4921 p = "const char *"; 4922 break; 4923 case 2: 4924 p = "l_int"; 4925 break; 4926 case 3: 4927 p = "l_uint"; 4928 break; 4929 default: 4930 break; 4931 }; 4932 break; 4933 /* linux_fchownat */ 4934 case 298: 4935 switch(ndx) { 4936 case 0: 4937 p = "l_int"; 4938 break; 4939 case 1: 4940 p = "const char *"; 4941 break; 4942 case 2: 4943 p = "l_uid16_t"; 4944 break; 4945 case 3: 4946 p = "l_gid16_t"; 4947 break; 4948 case 4: 4949 p = "l_int"; 4950 break; 4951 default: 4952 break; 4953 }; 4954 break; 4955 /* linux_futimesat */ 4956 case 299: 4957 switch(ndx) { 4958 case 0: 4959 p = "l_int"; 4960 break; 4961 case 1: 4962 p = "char *"; 4963 break; 4964 case 2: 4965 p = "struct l_timeval *"; 4966 break; 4967 default: 4968 break; 4969 }; 4970 break; 4971 /* linux_fstatat64 */ 4972 case 300: 4973 switch(ndx) { 4974 case 0: 4975 p = "l_int"; 4976 break; 4977 case 1: 4978 p = "char *"; 4979 break; 4980 case 2: 4981 p = "struct l_stat64 *"; 4982 break; 4983 case 3: 4984 p = "l_int"; 4985 break; 4986 default: 4987 break; 4988 }; 4989 break; 4990 /* linux_unlinkat */ 4991 case 301: 4992 switch(ndx) { 4993 case 0: 4994 p = "l_int"; 4995 break; 4996 case 1: 4997 p = "const char *"; 4998 break; 4999 case 2: 5000 p = "l_int"; 5001 break; 5002 default: 5003 break; 5004 }; 5005 break; 5006 /* linux_renameat */ 5007 case 302: 5008 switch(ndx) { 5009 case 0: 5010 p = "l_int"; 5011 break; 5012 case 1: 5013 p = "const char *"; 5014 break; 5015 case 2: 5016 p = "l_int"; 5017 break; 5018 case 3: 5019 p = "const char *"; 5020 break; 5021 default: 5022 break; 5023 }; 5024 break; 5025 /* linux_linkat */ 5026 case 303: 5027 switch(ndx) { 5028 case 0: 5029 p = "l_int"; 5030 break; 5031 case 1: 5032 p = "const char *"; 5033 break; 5034 case 2: 5035 p = "l_int"; 5036 break; 5037 case 3: 5038 p = "const char *"; 5039 break; 5040 case 4: 5041 p = "l_int"; 5042 break; 5043 default: 5044 break; 5045 }; 5046 break; 5047 /* linux_symlinkat */ 5048 case 304: 5049 switch(ndx) { 5050 case 0: 5051 p = "const char *"; 5052 break; 5053 case 1: 5054 p = "l_int"; 5055 break; 5056 case 2: 5057 p = "const char *"; 5058 break; 5059 default: 5060 break; 5061 }; 5062 break; 5063 /* linux_readlinkat */ 5064 case 305: 5065 switch(ndx) { 5066 case 0: 5067 p = "l_int"; 5068 break; 5069 case 1: 5070 p = "const char *"; 5071 break; 5072 case 2: 5073 p = "char *"; 5074 break; 5075 case 3: 5076 p = "l_int"; 5077 break; 5078 default: 5079 break; 5080 }; 5081 break; 5082 /* linux_fchmodat */ 5083 case 306: 5084 switch(ndx) { 5085 case 0: 5086 p = "l_int"; 5087 break; 5088 case 1: 5089 p = "const char *"; 5090 break; 5091 case 2: 5092 p = "l_mode_t"; 5093 break; 5094 default: 5095 break; 5096 }; 5097 break; 5098 /* linux_faccessat */ 5099 case 307: 5100 switch(ndx) { 5101 case 0: 5102 p = "l_int"; 5103 break; 5104 case 1: 5105 p = "const char *"; 5106 break; 5107 case 2: 5108 p = "l_int"; 5109 break; 5110 case 3: 5111 p = "int"; 5112 break; 5113 default: 5114 break; 5115 }; 5116 break; 5117 /* linux_pselect6 */ 5118 case 308: 5119 break; 5120 /* linux_ppoll */ 5121 case 309: 5122 break; 5123 /* linux_unshare */ 5124 case 310: 5125 break; 5126 /* linux_set_robust_list */ 5127 case 311: 5128 switch(ndx) { 5129 case 0: 5130 p = "struct linux_robust_list_head *"; 5131 break; 5132 case 1: 5133 p = "l_size_t"; 5134 break; 5135 default: 5136 break; 5137 }; 5138 break; 5139 /* linux_get_robust_list */ 5140 case 312: 5141 switch(ndx) { 5142 case 0: 5143 p = "l_int"; 5144 break; 5145 case 1: 5146 p = "struct linux_robust_list_head *"; 5147 break; 5148 case 2: 5149 p = "l_size_t *"; 5150 break; 5151 default: 5152 break; 5153 }; 5154 break; 5155 /* linux_splice */ 5156 case 313: 5157 break; 5158 /* linux_sync_file_range */ 5159 case 314: 5160 break; 5161 /* linux_tee */ 5162 case 315: 5163 break; 5164 /* linux_vmsplice */ 5165 case 316: 5166 break; 5167 default: 5168 break; 5169 }; 5170 if (p != NULL) 5171 strlcpy(desc, p, descsz); 5172 } 5173 static void 5174 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5175 { 5176 const char *p = NULL; 5177 switch (sysnum) { 5178 #define nosys linux_nosys 5179 /* sys_exit */ 5180 case 1: 5181 if (ndx == 0 || ndx == 1) 5182 p = "void"; 5183 break; 5184 /* linux_fork */ 5185 case 2: 5186 /* read */ 5187 case 3: 5188 if (ndx == 0 || ndx == 1) 5189 p = "int"; 5190 break; 5191 /* write */ 5192 case 4: 5193 if (ndx == 0 || ndx == 1) 5194 p = "int"; 5195 break; 5196 /* linux_open */ 5197 case 5: 5198 if (ndx == 0 || ndx == 1) 5199 p = "int"; 5200 break; 5201 /* close */ 5202 case 6: 5203 if (ndx == 0 || ndx == 1) 5204 p = "int"; 5205 break; 5206 /* linux_waitpid */ 5207 case 7: 5208 if (ndx == 0 || ndx == 1) 5209 p = "int"; 5210 break; 5211 /* linux_creat */ 5212 case 8: 5213 if (ndx == 0 || ndx == 1) 5214 p = "int"; 5215 break; 5216 /* linux_link */ 5217 case 9: 5218 if (ndx == 0 || ndx == 1) 5219 p = "int"; 5220 break; 5221 /* linux_unlink */ 5222 case 10: 5223 if (ndx == 0 || ndx == 1) 5224 p = "int"; 5225 break; 5226 /* linux_execve */ 5227 case 11: 5228 if (ndx == 0 || ndx == 1) 5229 p = "int"; 5230 break; 5231 /* linux_chdir */ 5232 case 12: 5233 if (ndx == 0 || ndx == 1) 5234 p = "int"; 5235 break; 5236 /* linux_time */ 5237 case 13: 5238 if (ndx == 0 || ndx == 1) 5239 p = "int"; 5240 break; 5241 /* linux_mknod */ 5242 case 14: 5243 if (ndx == 0 || ndx == 1) 5244 p = "int"; 5245 break; 5246 /* linux_chmod */ 5247 case 15: 5248 if (ndx == 0 || ndx == 1) 5249 p = "int"; 5250 break; 5251 /* linux_lchown16 */ 5252 case 16: 5253 if (ndx == 0 || ndx == 1) 5254 p = "int"; 5255 break; 5256 /* linux_stat */ 5257 case 18: 5258 if (ndx == 0 || ndx == 1) 5259 p = "int"; 5260 break; 5261 /* linux_lseek */ 5262 case 19: 5263 if (ndx == 0 || ndx == 1) 5264 p = "int"; 5265 break; 5266 /* linux_getpid */ 5267 case 20: 5268 /* linux_mount */ 5269 case 21: 5270 if (ndx == 0 || ndx == 1) 5271 p = "int"; 5272 break; 5273 /* linux_oldumount */ 5274 case 22: 5275 if (ndx == 0 || ndx == 1) 5276 p = "int"; 5277 break; 5278 /* linux_setuid16 */ 5279 case 23: 5280 if (ndx == 0 || ndx == 1) 5281 p = "int"; 5282 break; 5283 /* linux_getuid16 */ 5284 case 24: 5285 /* linux_stime */ 5286 case 25: 5287 /* linux_ptrace */ 5288 case 26: 5289 if (ndx == 0 || ndx == 1) 5290 p = "int"; 5291 break; 5292 /* linux_alarm */ 5293 case 27: 5294 if (ndx == 0 || ndx == 1) 5295 p = "int"; 5296 break; 5297 /* linux_pause */ 5298 case 29: 5299 /* linux_utime */ 5300 case 30: 5301 if (ndx == 0 || ndx == 1) 5302 p = "int"; 5303 break; 5304 /* linux_access */ 5305 case 33: 5306 if (ndx == 0 || ndx == 1) 5307 p = "int"; 5308 break; 5309 /* linux_nice */ 5310 case 34: 5311 if (ndx == 0 || ndx == 1) 5312 p = "int"; 5313 break; 5314 /* sync */ 5315 case 36: 5316 /* linux_kill */ 5317 case 37: 5318 if (ndx == 0 || ndx == 1) 5319 p = "int"; 5320 break; 5321 /* linux_rename */ 5322 case 38: 5323 if (ndx == 0 || ndx == 1) 5324 p = "int"; 5325 break; 5326 /* linux_mkdir */ 5327 case 39: 5328 if (ndx == 0 || ndx == 1) 5329 p = "int"; 5330 break; 5331 /* linux_rmdir */ 5332 case 40: 5333 if (ndx == 0 || ndx == 1) 5334 p = "int"; 5335 break; 5336 /* dup */ 5337 case 41: 5338 if (ndx == 0 || ndx == 1) 5339 p = "int"; 5340 break; 5341 /* linux_pipe */ 5342 case 42: 5343 if (ndx == 0 || ndx == 1) 5344 p = "int"; 5345 break; 5346 /* linux_times */ 5347 case 43: 5348 if (ndx == 0 || ndx == 1) 5349 p = "int"; 5350 break; 5351 /* linux_brk */ 5352 case 45: 5353 if (ndx == 0 || ndx == 1) 5354 p = "int"; 5355 break; 5356 /* linux_setgid16 */ 5357 case 46: 5358 if (ndx == 0 || ndx == 1) 5359 p = "int"; 5360 break; 5361 /* linux_getgid16 */ 5362 case 47: 5363 /* linux_signal */ 5364 case 48: 5365 if (ndx == 0 || ndx == 1) 5366 p = "int"; 5367 break; 5368 /* linux_geteuid16 */ 5369 case 49: 5370 /* linux_getegid16 */ 5371 case 50: 5372 /* acct */ 5373 case 51: 5374 if (ndx == 0 || ndx == 1) 5375 p = "int"; 5376 break; 5377 /* linux_umount */ 5378 case 52: 5379 if (ndx == 0 || ndx == 1) 5380 p = "int"; 5381 break; 5382 /* linux_ioctl */ 5383 case 54: 5384 if (ndx == 0 || ndx == 1) 5385 p = "int"; 5386 break; 5387 /* linux_fcntl */ 5388 case 55: 5389 if (ndx == 0 || ndx == 1) 5390 p = "int"; 5391 break; 5392 /* setpgid */ 5393 case 57: 5394 if (ndx == 0 || ndx == 1) 5395 p = "int"; 5396 break; 5397 /* linux_olduname */ 5398 case 59: 5399 /* umask */ 5400 case 60: 5401 if (ndx == 0 || ndx == 1) 5402 p = "int"; 5403 break; 5404 /* chroot */ 5405 case 61: 5406 if (ndx == 0 || ndx == 1) 5407 p = "int"; 5408 break; 5409 /* linux_ustat */ 5410 case 62: 5411 if (ndx == 0 || ndx == 1) 5412 p = "int"; 5413 break; 5414 /* dup2 */ 5415 case 63: 5416 if (ndx == 0 || ndx == 1) 5417 p = "int"; 5418 break; 5419 /* linux_getppid */ 5420 case 64: 5421 /* getpgrp */ 5422 case 65: 5423 /* setsid */ 5424 case 66: 5425 /* linux_sigaction */ 5426 case 67: 5427 if (ndx == 0 || ndx == 1) 5428 p = "int"; 5429 break; 5430 /* linux_sgetmask */ 5431 case 68: 5432 /* linux_ssetmask */ 5433 case 69: 5434 if (ndx == 0 || ndx == 1) 5435 p = "int"; 5436 break; 5437 /* linux_setreuid16 */ 5438 case 70: 5439 if (ndx == 0 || ndx == 1) 5440 p = "int"; 5441 break; 5442 /* linux_setregid16 */ 5443 case 71: 5444 if (ndx == 0 || ndx == 1) 5445 p = "int"; 5446 break; 5447 /* linux_sigsuspend */ 5448 case 72: 5449 if (ndx == 0 || ndx == 1) 5450 p = "int"; 5451 break; 5452 /* linux_sigpending */ 5453 case 73: 5454 if (ndx == 0 || ndx == 1) 5455 p = "int"; 5456 break; 5457 /* linux_sethostname */ 5458 case 74: 5459 if (ndx == 0 || ndx == 1) 5460 p = "int"; 5461 break; 5462 /* linux_setrlimit */ 5463 case 75: 5464 if (ndx == 0 || ndx == 1) 5465 p = "int"; 5466 break; 5467 /* linux_old_getrlimit */ 5468 case 76: 5469 if (ndx == 0 || ndx == 1) 5470 p = "int"; 5471 break; 5472 /* linux_getrusage */ 5473 case 77: 5474 if (ndx == 0 || ndx == 1) 5475 p = "int"; 5476 break; 5477 /* linux_gettimeofday */ 5478 case 78: 5479 if (ndx == 0 || ndx == 1) 5480 p = "int"; 5481 break; 5482 /* linux_settimeofday */ 5483 case 79: 5484 if (ndx == 0 || ndx == 1) 5485 p = "int"; 5486 break; 5487 /* linux_getgroups16 */ 5488 case 80: 5489 if (ndx == 0 || ndx == 1) 5490 p = "int"; 5491 break; 5492 /* linux_setgroups16 */ 5493 case 81: 5494 if (ndx == 0 || ndx == 1) 5495 p = "int"; 5496 break; 5497 /* linux_old_select */ 5498 case 82: 5499 if (ndx == 0 || ndx == 1) 5500 p = "int"; 5501 break; 5502 /* linux_symlink */ 5503 case 83: 5504 if (ndx == 0 || ndx == 1) 5505 p = "int"; 5506 break; 5507 /* linux_lstat */ 5508 case 84: 5509 if (ndx == 0 || ndx == 1) 5510 p = "int"; 5511 break; 5512 /* linux_readlink */ 5513 case 85: 5514 if (ndx == 0 || ndx == 1) 5515 p = "int"; 5516 break; 5517 /* swapon */ 5518 case 87: 5519 if (ndx == 0 || ndx == 1) 5520 p = "int"; 5521 break; 5522 /* linux_reboot */ 5523 case 88: 5524 if (ndx == 0 || ndx == 1) 5525 p = "int"; 5526 break; 5527 /* linux_readdir */ 5528 case 89: 5529 if (ndx == 0 || ndx == 1) 5530 p = "int"; 5531 break; 5532 /* linux_mmap */ 5533 case 90: 5534 if (ndx == 0 || ndx == 1) 5535 p = "int"; 5536 break; 5537 /* munmap */ 5538 case 91: 5539 if (ndx == 0 || ndx == 1) 5540 p = "int"; 5541 break; 5542 /* linux_truncate */ 5543 case 92: 5544 if (ndx == 0 || ndx == 1) 5545 p = "int"; 5546 break; 5547 /* linux_ftruncate */ 5548 case 93: 5549 if (ndx == 0 || ndx == 1) 5550 p = "int"; 5551 break; 5552 /* fchmod */ 5553 case 94: 5554 if (ndx == 0 || ndx == 1) 5555 p = "int"; 5556 break; 5557 /* fchown */ 5558 case 95: 5559 if (ndx == 0 || ndx == 1) 5560 p = "int"; 5561 break; 5562 /* linux_getpriority */ 5563 case 96: 5564 if (ndx == 0 || ndx == 1) 5565 p = "int"; 5566 break; 5567 /* setpriority */ 5568 case 97: 5569 if (ndx == 0 || ndx == 1) 5570 p = "int"; 5571 break; 5572 /* linux_statfs */ 5573 case 99: 5574 if (ndx == 0 || ndx == 1) 5575 p = "int"; 5576 break; 5577 /* linux_fstatfs */ 5578 case 100: 5579 if (ndx == 0 || ndx == 1) 5580 p = "int"; 5581 break; 5582 /* linux_socketcall */ 5583 case 102: 5584 if (ndx == 0 || ndx == 1) 5585 p = "int"; 5586 break; 5587 /* linux_syslog */ 5588 case 103: 5589 if (ndx == 0 || ndx == 1) 5590 p = "int"; 5591 break; 5592 /* linux_setitimer */ 5593 case 104: 5594 if (ndx == 0 || ndx == 1) 5595 p = "int"; 5596 break; 5597 /* linux_getitimer */ 5598 case 105: 5599 if (ndx == 0 || ndx == 1) 5600 p = "int"; 5601 break; 5602 /* linux_newstat */ 5603 case 106: 5604 if (ndx == 0 || ndx == 1) 5605 p = "int"; 5606 break; 5607 /* linux_newlstat */ 5608 case 107: 5609 if (ndx == 0 || ndx == 1) 5610 p = "int"; 5611 break; 5612 /* linux_newfstat */ 5613 case 108: 5614 if (ndx == 0 || ndx == 1) 5615 p = "int"; 5616 break; 5617 /* linux_uname */ 5618 case 109: 5619 /* linux_iopl */ 5620 case 110: 5621 if (ndx == 0 || ndx == 1) 5622 p = "int"; 5623 break; 5624 /* linux_vhangup */ 5625 case 111: 5626 /* linux_wait4 */ 5627 case 114: 5628 if (ndx == 0 || ndx == 1) 5629 p = "int"; 5630 break; 5631 /* linux_swapoff */ 5632 case 115: 5633 /* linux_sysinfo */ 5634 case 116: 5635 if (ndx == 0 || ndx == 1) 5636 p = "int"; 5637 break; 5638 /* linux_ipc */ 5639 case 117: 5640 if (ndx == 0 || ndx == 1) 5641 p = "int"; 5642 break; 5643 /* fsync */ 5644 case 118: 5645 if (ndx == 0 || ndx == 1) 5646 p = "int"; 5647 break; 5648 /* linux_sigreturn */ 5649 case 119: 5650 if (ndx == 0 || ndx == 1) 5651 p = "int"; 5652 break; 5653 /* linux_clone */ 5654 case 120: 5655 if (ndx == 0 || ndx == 1) 5656 p = "int"; 5657 break; 5658 /* linux_setdomainname */ 5659 case 121: 5660 if (ndx == 0 || ndx == 1) 5661 p = "int"; 5662 break; 5663 /* linux_newuname */ 5664 case 122: 5665 if (ndx == 0 || ndx == 1) 5666 p = "int"; 5667 break; 5668 /* linux_adjtimex */ 5669 case 124: 5670 /* linux_mprotect */ 5671 case 125: 5672 if (ndx == 0 || ndx == 1) 5673 p = "int"; 5674 break; 5675 /* linux_sigprocmask */ 5676 case 126: 5677 if (ndx == 0 || ndx == 1) 5678 p = "int"; 5679 break; 5680 /* linux_create_module */ 5681 case 127: 5682 /* linux_init_module */ 5683 case 128: 5684 /* linux_delete_module */ 5685 case 129: 5686 /* linux_get_kernel_syms */ 5687 case 130: 5688 /* linux_quotactl */ 5689 case 131: 5690 /* getpgid */ 5691 case 132: 5692 if (ndx == 0 || ndx == 1) 5693 p = "int"; 5694 break; 5695 /* fchdir */ 5696 case 133: 5697 if (ndx == 0 || ndx == 1) 5698 p = "int"; 5699 break; 5700 /* linux_bdflush */ 5701 case 134: 5702 /* linux_sysfs */ 5703 case 135: 5704 if (ndx == 0 || ndx == 1) 5705 p = "int"; 5706 break; 5707 /* linux_personality */ 5708 case 136: 5709 if (ndx == 0 || ndx == 1) 5710 p = "int"; 5711 break; 5712 /* linux_setfsuid16 */ 5713 case 138: 5714 if (ndx == 0 || ndx == 1) 5715 p = "int"; 5716 break; 5717 /* linux_setfsgid16 */ 5718 case 139: 5719 if (ndx == 0 || ndx == 1) 5720 p = "int"; 5721 break; 5722 /* linux_llseek */ 5723 case 140: 5724 if (ndx == 0 || ndx == 1) 5725 p = "int"; 5726 break; 5727 /* linux_getdents */ 5728 case 141: 5729 if (ndx == 0 || ndx == 1) 5730 p = "int"; 5731 break; 5732 /* linux_select */ 5733 case 142: 5734 if (ndx == 0 || ndx == 1) 5735 p = "int"; 5736 break; 5737 /* flock */ 5738 case 143: 5739 if (ndx == 0 || ndx == 1) 5740 p = "int"; 5741 break; 5742 /* linux_msync */ 5743 case 144: 5744 if (ndx == 0 || ndx == 1) 5745 p = "int"; 5746 break; 5747 /* linux_readv */ 5748 case 145: 5749 if (ndx == 0 || ndx == 1) 5750 p = "int"; 5751 break; 5752 /* linux_writev */ 5753 case 146: 5754 if (ndx == 0 || ndx == 1) 5755 p = "int"; 5756 break; 5757 /* linux_getsid */ 5758 case 147: 5759 if (ndx == 0 || ndx == 1) 5760 p = "int"; 5761 break; 5762 /* linux_fdatasync */ 5763 case 148: 5764 if (ndx == 0 || ndx == 1) 5765 p = "int"; 5766 break; 5767 /* linux_sysctl */ 5768 case 149: 5769 if (ndx == 0 || ndx == 1) 5770 p = "int"; 5771 break; 5772 /* mlock */ 5773 case 150: 5774 if (ndx == 0 || ndx == 1) 5775 p = "int"; 5776 break; 5777 /* munlock */ 5778 case 151: 5779 if (ndx == 0 || ndx == 1) 5780 p = "int"; 5781 break; 5782 /* mlockall */ 5783 case 152: 5784 if (ndx == 0 || ndx == 1) 5785 p = "int"; 5786 break; 5787 /* munlockall */ 5788 case 153: 5789 /* sched_setparam */ 5790 case 154: 5791 if (ndx == 0 || ndx == 1) 5792 p = "int"; 5793 break; 5794 /* sched_getparam */ 5795 case 155: 5796 if (ndx == 0 || ndx == 1) 5797 p = "int"; 5798 break; 5799 /* linux_sched_setscheduler */ 5800 case 156: 5801 if (ndx == 0 || ndx == 1) 5802 p = "int"; 5803 break; 5804 /* linux_sched_getscheduler */ 5805 case 157: 5806 if (ndx == 0 || ndx == 1) 5807 p = "int"; 5808 break; 5809 /* sched_yield */ 5810 case 158: 5811 /* linux_sched_get_priority_max */ 5812 case 159: 5813 if (ndx == 0 || ndx == 1) 5814 p = "int"; 5815 break; 5816 /* linux_sched_get_priority_min */ 5817 case 160: 5818 if (ndx == 0 || ndx == 1) 5819 p = "int"; 5820 break; 5821 /* linux_sched_rr_get_interval */ 5822 case 161: 5823 if (ndx == 0 || ndx == 1) 5824 p = "int"; 5825 break; 5826 /* linux_nanosleep */ 5827 case 162: 5828 if (ndx == 0 || ndx == 1) 5829 p = "int"; 5830 break; 5831 /* linux_mremap */ 5832 case 163: 5833 if (ndx == 0 || ndx == 1) 5834 p = "int"; 5835 break; 5836 /* linux_setresuid16 */ 5837 case 164: 5838 if (ndx == 0 || ndx == 1) 5839 p = "int"; 5840 break; 5841 /* linux_getresuid16 */ 5842 case 165: 5843 if (ndx == 0 || ndx == 1) 5844 p = "int"; 5845 break; 5846 /* linux_query_module */ 5847 case 167: 5848 /* poll */ 5849 case 168: 5850 if (ndx == 0 || ndx == 1) 5851 p = "int"; 5852 break; 5853 /* linux_nfsservctl */ 5854 case 169: 5855 /* linux_setresgid16 */ 5856 case 170: 5857 if (ndx == 0 || ndx == 1) 5858 p = "int"; 5859 break; 5860 /* linux_getresgid16 */ 5861 case 171: 5862 if (ndx == 0 || ndx == 1) 5863 p = "int"; 5864 break; 5865 /* linux_prctl */ 5866 case 172: 5867 if (ndx == 0 || ndx == 1) 5868 p = "int"; 5869 break; 5870 /* linux_rt_sigreturn */ 5871 case 173: 5872 if (ndx == 0 || ndx == 1) 5873 p = "int"; 5874 break; 5875 /* linux_rt_sigaction */ 5876 case 174: 5877 if (ndx == 0 || ndx == 1) 5878 p = "int"; 5879 break; 5880 /* linux_rt_sigprocmask */ 5881 case 175: 5882 if (ndx == 0 || ndx == 1) 5883 p = "int"; 5884 break; 5885 /* linux_rt_sigpending */ 5886 case 176: 5887 if (ndx == 0 || ndx == 1) 5888 p = "int"; 5889 break; 5890 /* linux_rt_sigtimedwait */ 5891 case 177: 5892 if (ndx == 0 || ndx == 1) 5893 p = "int"; 5894 break; 5895 /* linux_rt_sigqueueinfo */ 5896 case 178: 5897 /* linux_rt_sigsuspend */ 5898 case 179: 5899 if (ndx == 0 || ndx == 1) 5900 p = "int"; 5901 break; 5902 /* linux_pread */ 5903 case 180: 5904 if (ndx == 0 || ndx == 1) 5905 p = "int"; 5906 break; 5907 /* linux_pwrite */ 5908 case 181: 5909 if (ndx == 0 || ndx == 1) 5910 p = "int"; 5911 break; 5912 /* linux_chown16 */ 5913 case 182: 5914 if (ndx == 0 || ndx == 1) 5915 p = "int"; 5916 break; 5917 /* linux_getcwd */ 5918 case 183: 5919 if (ndx == 0 || ndx == 1) 5920 p = "int"; 5921 break; 5922 /* linux_capget */ 5923 case 184: 5924 if (ndx == 0 || ndx == 1) 5925 p = "int"; 5926 break; 5927 /* linux_capset */ 5928 case 185: 5929 if (ndx == 0 || ndx == 1) 5930 p = "int"; 5931 break; 5932 /* linux_sigaltstack */ 5933 case 186: 5934 if (ndx == 0 || ndx == 1) 5935 p = "int"; 5936 break; 5937 /* linux_sendfile */ 5938 case 187: 5939 /* linux_vfork */ 5940 case 190: 5941 /* linux_getrlimit */ 5942 case 191: 5943 if (ndx == 0 || ndx == 1) 5944 p = "int"; 5945 break; 5946 /* linux_mmap2 */ 5947 case 192: 5948 if (ndx == 0 || ndx == 1) 5949 p = "int"; 5950 break; 5951 /* linux_truncate64 */ 5952 case 193: 5953 if (ndx == 0 || ndx == 1) 5954 p = "int"; 5955 break; 5956 /* linux_ftruncate64 */ 5957 case 194: 5958 if (ndx == 0 || ndx == 1) 5959 p = "int"; 5960 break; 5961 /* linux_stat64 */ 5962 case 195: 5963 if (ndx == 0 || ndx == 1) 5964 p = "int"; 5965 break; 5966 /* linux_lstat64 */ 5967 case 196: 5968 if (ndx == 0 || ndx == 1) 5969 p = "int"; 5970 break; 5971 /* linux_fstat64 */ 5972 case 197: 5973 if (ndx == 0 || ndx == 1) 5974 p = "int"; 5975 break; 5976 /* linux_lchown */ 5977 case 198: 5978 if (ndx == 0 || ndx == 1) 5979 p = "int"; 5980 break; 5981 /* linux_getuid */ 5982 case 199: 5983 /* linux_getgid */ 5984 case 200: 5985 /* geteuid */ 5986 case 201: 5987 /* getegid */ 5988 case 202: 5989 /* setreuid */ 5990 case 203: 5991 if (ndx == 0 || ndx == 1) 5992 p = "int"; 5993 break; 5994 /* setregid */ 5995 case 204: 5996 if (ndx == 0 || ndx == 1) 5997 p = "int"; 5998 break; 5999 /* linux_getgroups */ 6000 case 205: 6001 if (ndx == 0 || ndx == 1) 6002 p = "int"; 6003 break; 6004 /* linux_setgroups */ 6005 case 206: 6006 if (ndx == 0 || ndx == 1) 6007 p = "int"; 6008 break; 6009 /* fchown */ 6010 case 207: 6011 /* setresuid */ 6012 case 208: 6013 if (ndx == 0 || ndx == 1) 6014 p = "int"; 6015 break; 6016 /* getresuid */ 6017 case 209: 6018 if (ndx == 0 || ndx == 1) 6019 p = "int"; 6020 break; 6021 /* setresgid */ 6022 case 210: 6023 if (ndx == 0 || ndx == 1) 6024 p = "int"; 6025 break; 6026 /* getresgid */ 6027 case 211: 6028 if (ndx == 0 || ndx == 1) 6029 p = "int"; 6030 break; 6031 /* linux_chown */ 6032 case 212: 6033 if (ndx == 0 || ndx == 1) 6034 p = "int"; 6035 break; 6036 /* setuid */ 6037 case 213: 6038 if (ndx == 0 || ndx == 1) 6039 p = "int"; 6040 break; 6041 /* setgid */ 6042 case 214: 6043 if (ndx == 0 || ndx == 1) 6044 p = "int"; 6045 break; 6046 /* linux_setfsuid */ 6047 case 215: 6048 if (ndx == 0 || ndx == 1) 6049 p = "int"; 6050 break; 6051 /* linux_setfsgid */ 6052 case 216: 6053 if (ndx == 0 || ndx == 1) 6054 p = "int"; 6055 break; 6056 /* linux_pivot_root */ 6057 case 217: 6058 if (ndx == 0 || ndx == 1) 6059 p = "int"; 6060 break; 6061 /* linux_mincore */ 6062 case 218: 6063 if (ndx == 0 || ndx == 1) 6064 p = "int"; 6065 break; 6066 /* madvise */ 6067 case 219: 6068 if (ndx == 0 || ndx == 1) 6069 p = "int"; 6070 break; 6071 /* linux_getdents64 */ 6072 case 220: 6073 if (ndx == 0 || ndx == 1) 6074 p = "int"; 6075 break; 6076 /* linux_fcntl64 */ 6077 case 221: 6078 if (ndx == 0 || ndx == 1) 6079 p = "int"; 6080 break; 6081 /* linux_gettid */ 6082 case 224: 6083 /* linux_setxattr */ 6084 case 226: 6085 /* linux_lsetxattr */ 6086 case 227: 6087 /* linux_fsetxattr */ 6088 case 228: 6089 /* linux_getxattr */ 6090 case 229: 6091 /* linux_lgetxattr */ 6092 case 230: 6093 /* linux_fgetxattr */ 6094 case 231: 6095 /* linux_listxattr */ 6096 case 232: 6097 /* linux_llistxattr */ 6098 case 233: 6099 /* linux_flistxattr */ 6100 case 234: 6101 /* linux_removexattr */ 6102 case 235: 6103 /* linux_lremovexattr */ 6104 case 236: 6105 /* linux_fremovexattr */ 6106 case 237: 6107 /* linux_tkill */ 6108 case 238: 6109 if (ndx == 0 || ndx == 1) 6110 p = "int"; 6111 break; 6112 /* linux_sys_futex */ 6113 case 240: 6114 if (ndx == 0 || ndx == 1) 6115 p = "int"; 6116 break; 6117 /* linux_sched_setaffinity */ 6118 case 241: 6119 if (ndx == 0 || ndx == 1) 6120 p = "int"; 6121 break; 6122 /* linux_sched_getaffinity */ 6123 case 242: 6124 if (ndx == 0 || ndx == 1) 6125 p = "int"; 6126 break; 6127 /* linux_set_thread_area */ 6128 case 243: 6129 if (ndx == 0 || ndx == 1) 6130 p = "int"; 6131 break; 6132 /* linux_fadvise64 */ 6133 case 250: 6134 if (ndx == 0 || ndx == 1) 6135 p = "int"; 6136 break; 6137 /* linux_exit_group */ 6138 case 252: 6139 if (ndx == 0 || ndx == 1) 6140 p = "int"; 6141 break; 6142 /* linux_lookup_dcookie */ 6143 case 253: 6144 /* linux_epoll_create */ 6145 case 254: 6146 /* linux_epoll_ctl */ 6147 case 255: 6148 /* linux_epoll_wait */ 6149 case 256: 6150 /* linux_remap_file_pages */ 6151 case 257: 6152 /* linux_set_tid_address */ 6153 case 258: 6154 if (ndx == 0 || ndx == 1) 6155 p = "int"; 6156 break; 6157 /* linux_timer_create */ 6158 case 259: 6159 /* linux_timer_settime */ 6160 case 260: 6161 /* linux_timer_gettime */ 6162 case 261: 6163 /* linux_timer_getoverrun */ 6164 case 262: 6165 /* linux_timer_delete */ 6166 case 263: 6167 /* linux_clock_settime */ 6168 case 264: 6169 if (ndx == 0 || ndx == 1) 6170 p = "int"; 6171 break; 6172 /* linux_clock_gettime */ 6173 case 265: 6174 if (ndx == 0 || ndx == 1) 6175 p = "int"; 6176 break; 6177 /* linux_clock_getres */ 6178 case 266: 6179 if (ndx == 0 || ndx == 1) 6180 p = "int"; 6181 break; 6182 /* linux_clock_nanosleep */ 6183 case 267: 6184 if (ndx == 0 || ndx == 1) 6185 p = "int"; 6186 break; 6187 /* linux_statfs64 */ 6188 case 268: 6189 if (ndx == 0 || ndx == 1) 6190 p = "int"; 6191 break; 6192 /* linux_fstatfs64 */ 6193 case 269: 6194 /* linux_tgkill */ 6195 case 270: 6196 if (ndx == 0 || ndx == 1) 6197 p = "int"; 6198 break; 6199 /* linux_utimes */ 6200 case 271: 6201 if (ndx == 0 || ndx == 1) 6202 p = "int"; 6203 break; 6204 /* linux_fadvise64_64 */ 6205 case 272: 6206 if (ndx == 0 || ndx == 1) 6207 p = "int"; 6208 break; 6209 /* linux_mbind */ 6210 case 274: 6211 /* linux_get_mempolicy */ 6212 case 275: 6213 /* linux_set_mempolicy */ 6214 case 276: 6215 /* linux_mq_open */ 6216 case 277: 6217 /* linux_mq_unlink */ 6218 case 278: 6219 /* linux_mq_timedsend */ 6220 case 279: 6221 /* linux_mq_timedreceive */ 6222 case 280: 6223 /* linux_mq_notify */ 6224 case 281: 6225 /* linux_mq_getsetattr */ 6226 case 282: 6227 /* linux_kexec_load */ 6228 case 283: 6229 /* linux_waitid */ 6230 case 284: 6231 /* linux_add_key */ 6232 case 286: 6233 /* linux_request_key */ 6234 case 287: 6235 /* linux_keyctl */ 6236 case 288: 6237 /* linux_ioprio_set */ 6238 case 289: 6239 /* linux_ioprio_get */ 6240 case 290: 6241 /* linux_inotify_init */ 6242 case 291: 6243 /* linux_inotify_add_watch */ 6244 case 292: 6245 /* linux_inotify_rm_watch */ 6246 case 293: 6247 /* linux_migrate_pages */ 6248 case 294: 6249 /* linux_openat */ 6250 case 295: 6251 if (ndx == 0 || ndx == 1) 6252 p = "int"; 6253 break; 6254 /* linux_mkdirat */ 6255 case 296: 6256 if (ndx == 0 || ndx == 1) 6257 p = "int"; 6258 break; 6259 /* linux_mknodat */ 6260 case 297: 6261 if (ndx == 0 || ndx == 1) 6262 p = "int"; 6263 break; 6264 /* linux_fchownat */ 6265 case 298: 6266 if (ndx == 0 || ndx == 1) 6267 p = "int"; 6268 break; 6269 /* linux_futimesat */ 6270 case 299: 6271 if (ndx == 0 || ndx == 1) 6272 p = "int"; 6273 break; 6274 /* linux_fstatat64 */ 6275 case 300: 6276 if (ndx == 0 || ndx == 1) 6277 p = "int"; 6278 break; 6279 /* linux_unlinkat */ 6280 case 301: 6281 if (ndx == 0 || ndx == 1) 6282 p = "int"; 6283 break; 6284 /* linux_renameat */ 6285 case 302: 6286 if (ndx == 0 || ndx == 1) 6287 p = "int"; 6288 break; 6289 /* linux_linkat */ 6290 case 303: 6291 if (ndx == 0 || ndx == 1) 6292 p = "int"; 6293 break; 6294 /* linux_symlinkat */ 6295 case 304: 6296 if (ndx == 0 || ndx == 1) 6297 p = "int"; 6298 break; 6299 /* linux_readlinkat */ 6300 case 305: 6301 if (ndx == 0 || ndx == 1) 6302 p = "int"; 6303 break; 6304 /* linux_fchmodat */ 6305 case 306: 6306 if (ndx == 0 || ndx == 1) 6307 p = "int"; 6308 break; 6309 /* linux_faccessat */ 6310 case 307: 6311 if (ndx == 0 || ndx == 1) 6312 p = "int"; 6313 break; 6314 /* linux_pselect6 */ 6315 case 308: 6316 /* linux_ppoll */ 6317 case 309: 6318 /* linux_unshare */ 6319 case 310: 6320 /* linux_set_robust_list */ 6321 case 311: 6322 if (ndx == 0 || ndx == 1) 6323 p = "int"; 6324 break; 6325 /* linux_get_robust_list */ 6326 case 312: 6327 if (ndx == 0 || ndx == 1) 6328 p = "int"; 6329 break; 6330 /* linux_splice */ 6331 case 313: 6332 /* linux_sync_file_range */ 6333 case 314: 6334 /* linux_tee */ 6335 case 315: 6336 /* linux_vmsplice */ 6337 case 316: 6338 default: 6339 break; 6340 }; 6341 if (p != NULL) 6342 strlcpy(desc, p, descsz); 6343 } 6344