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