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