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