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