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