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