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