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 struct linux_name_to_handle_at_args *p = params; 1964 iarg[0] = p->dirfd; /* l_int */ 1965 uarg[1] = (intptr_t) p->name; /* const char * */ 1966 uarg[2] = (intptr_t) p->handle; /* struct l_file_handle * */ 1967 uarg[3] = (intptr_t) p->mnt_id; /* l_int * */ 1968 iarg[4] = p->flags; /* l_int */ 1969 *n_args = 5; 1970 break; 1971 } 1972 /* linux_open_by_handle_at */ 1973 case 265: { 1974 struct linux_open_by_handle_at_args *p = params; 1975 iarg[0] = p->mountdirfd; /* l_int */ 1976 uarg[1] = (intptr_t) p->handle; /* struct l_file_handle * */ 1977 iarg[2] = p->flags; /* l_int */ 1978 *n_args = 3; 1979 break; 1980 } 1981 /* linux_clock_adjtime */ 1982 case 266: { 1983 *n_args = 0; 1984 break; 1985 } 1986 /* linux_syncfs */ 1987 case 267: { 1988 struct linux_syncfs_args *p = params; 1989 iarg[0] = p->fd; /* l_int */ 1990 *n_args = 1; 1991 break; 1992 } 1993 /* linux_setns */ 1994 case 268: { 1995 struct linux_setns_args *p = params; 1996 iarg[0] = p->fd; /* l_int */ 1997 iarg[1] = p->nstype; /* l_int */ 1998 *n_args = 2; 1999 break; 2000 } 2001 /* linux_sendmmsg */ 2002 case 269: { 2003 struct linux_sendmmsg_args *p = params; 2004 iarg[0] = p->s; /* l_int */ 2005 uarg[1] = (intptr_t) p->msg; /* struct l_mmsghdr * */ 2006 iarg[2] = p->vlen; /* l_uint */ 2007 iarg[3] = p->flags; /* l_uint */ 2008 *n_args = 4; 2009 break; 2010 } 2011 /* linux_process_vm_readv */ 2012 case 270: { 2013 struct linux_process_vm_readv_args *p = params; 2014 iarg[0] = p->pid; /* l_pid_t */ 2015 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2016 iarg[2] = p->liovcnt; /* l_ulong */ 2017 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2018 iarg[4] = p->riovcnt; /* l_ulong */ 2019 iarg[5] = p->flags; /* l_ulong */ 2020 *n_args = 6; 2021 break; 2022 } 2023 /* linux_process_vm_writev */ 2024 case 271: { 2025 struct linux_process_vm_writev_args *p = params; 2026 iarg[0] = p->pid; /* l_pid_t */ 2027 uarg[1] = (intptr_t) p->lvec; /* const struct iovec * */ 2028 iarg[2] = p->liovcnt; /* l_ulong */ 2029 uarg[3] = (intptr_t) p->rvec; /* const struct iovec * */ 2030 iarg[4] = p->riovcnt; /* l_ulong */ 2031 iarg[5] = p->flags; /* l_ulong */ 2032 *n_args = 6; 2033 break; 2034 } 2035 /* linux_kcmp */ 2036 case 272: { 2037 struct linux_kcmp_args *p = params; 2038 iarg[0] = p->pid1; /* l_pid_t */ 2039 iarg[1] = p->pid2; /* l_pid_t */ 2040 iarg[2] = p->type; /* l_int */ 2041 iarg[3] = p->idx1; /* l_ulong */ 2042 iarg[4] = p->idx; /* l_ulong */ 2043 *n_args = 5; 2044 break; 2045 } 2046 /* linux_finit_module */ 2047 case 273: { 2048 struct linux_finit_module_args *p = params; 2049 iarg[0] = p->fd; /* l_int */ 2050 uarg[1] = (intptr_t) p->uargs; /* const char * */ 2051 iarg[2] = p->flags; /* l_int */ 2052 *n_args = 3; 2053 break; 2054 } 2055 /* linux_sched_setattr */ 2056 case 274: { 2057 struct linux_sched_setattr_args *p = params; 2058 iarg[0] = p->pid; /* l_pid_t */ 2059 uarg[1] = (intptr_t) p->attr; /* void * */ 2060 iarg[2] = p->flags; /* l_uint */ 2061 *n_args = 3; 2062 break; 2063 } 2064 /* linux_sched_getattr */ 2065 case 275: { 2066 struct linux_sched_getattr_args *p = params; 2067 iarg[0] = p->pid; /* l_pid_t */ 2068 uarg[1] = (intptr_t) p->attr; /* void * */ 2069 iarg[2] = p->size; /* l_uint */ 2070 iarg[3] = p->flags; /* l_uint */ 2071 *n_args = 4; 2072 break; 2073 } 2074 /* linux_renameat2 */ 2075 case 276: { 2076 struct linux_renameat2_args *p = params; 2077 iarg[0] = p->olddfd; /* l_int */ 2078 uarg[1] = (intptr_t) p->oldname; /* const char * */ 2079 iarg[2] = p->newdfd; /* l_int */ 2080 uarg[3] = (intptr_t) p->newname; /* const char * */ 2081 iarg[4] = p->flags; /* l_uint */ 2082 *n_args = 5; 2083 break; 2084 } 2085 /* linux_seccomp */ 2086 case 277: { 2087 struct linux_seccomp_args *p = params; 2088 iarg[0] = p->op; /* l_uint */ 2089 iarg[1] = p->flags; /* l_uint */ 2090 uarg[2] = (intptr_t) p->uargs; /* const char * */ 2091 *n_args = 3; 2092 break; 2093 } 2094 /* linux_getrandom */ 2095 case 278: { 2096 struct linux_getrandom_args *p = params; 2097 uarg[0] = (intptr_t) p->buf; /* char * */ 2098 iarg[1] = p->count; /* l_size_t */ 2099 iarg[2] = p->flags; /* l_uint */ 2100 *n_args = 3; 2101 break; 2102 } 2103 /* linux_memfd_create */ 2104 case 279: { 2105 struct linux_memfd_create_args *p = params; 2106 uarg[0] = (intptr_t) p->uname_ptr; /* const char * */ 2107 iarg[1] = p->flags; /* l_uint */ 2108 *n_args = 2; 2109 break; 2110 } 2111 /* linux_bpf */ 2112 case 280: { 2113 struct linux_bpf_args *p = params; 2114 iarg[0] = p->cmd; /* l_int */ 2115 uarg[1] = (intptr_t) p->attr; /* void * */ 2116 iarg[2] = p->size; /* l_uint */ 2117 *n_args = 3; 2118 break; 2119 } 2120 /* linux_execveat */ 2121 case 281: { 2122 struct linux_execveat_args *p = params; 2123 iarg[0] = p->dfd; /* l_int */ 2124 uarg[1] = (intptr_t) p->filename; /* const char * */ 2125 uarg[2] = (intptr_t) p->argv; /* const char ** */ 2126 uarg[3] = (intptr_t) p->envp; /* const char ** */ 2127 iarg[4] = p->flags; /* l_int */ 2128 *n_args = 5; 2129 break; 2130 } 2131 /* linux_userfaultfd */ 2132 case 282: { 2133 struct linux_userfaultfd_args *p = params; 2134 iarg[0] = p->flags; /* l_int */ 2135 *n_args = 1; 2136 break; 2137 } 2138 /* linux_membarrier */ 2139 case 283: { 2140 struct linux_membarrier_args *p = params; 2141 iarg[0] = p->cmd; /* l_int */ 2142 iarg[1] = p->flags; /* l_int */ 2143 *n_args = 2; 2144 break; 2145 } 2146 /* linux_mlock2 */ 2147 case 284: { 2148 struct linux_mlock2_args *p = params; 2149 iarg[0] = p->start; /* l_ulong */ 2150 iarg[1] = p->len; /* l_size_t */ 2151 iarg[2] = p->flags; /* l_int */ 2152 *n_args = 3; 2153 break; 2154 } 2155 /* linux_copy_file_range */ 2156 case 285: { 2157 struct linux_copy_file_range_args *p = params; 2158 iarg[0] = p->fd_in; /* l_int */ 2159 uarg[1] = (intptr_t) p->off_in; /* l_loff_t * */ 2160 iarg[2] = p->fd_out; /* l_int */ 2161 uarg[3] = (intptr_t) p->off_out; /* l_loff_t * */ 2162 iarg[4] = p->len; /* l_size_t */ 2163 iarg[5] = p->flags; /* l_uint */ 2164 *n_args = 6; 2165 break; 2166 } 2167 /* linux_preadv2 */ 2168 case 286: { 2169 struct linux_preadv2_args *p = params; 2170 iarg[0] = p->fd; /* l_ulong */ 2171 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2172 iarg[2] = p->vlen; /* l_ulong */ 2173 iarg[3] = p->pos_l; /* l_ulong */ 2174 iarg[4] = p->pos_h; /* l_ulong */ 2175 iarg[5] = p->flags; /* l_int */ 2176 *n_args = 6; 2177 break; 2178 } 2179 /* linux_pwritev2 */ 2180 case 287: { 2181 struct linux_pwritev2_args *p = params; 2182 iarg[0] = p->fd; /* l_ulong */ 2183 uarg[1] = (intptr_t) p->vec; /* const struct iovec * */ 2184 iarg[2] = p->vlen; /* l_ulong */ 2185 iarg[3] = p->pos_l; /* l_ulong */ 2186 iarg[4] = p->pos_h; /* l_ulong */ 2187 iarg[5] = p->flags; /* l_int */ 2188 *n_args = 6; 2189 break; 2190 } 2191 /* linux_pkey_mprotect */ 2192 case 288: { 2193 struct linux_pkey_mprotect_args *p = params; 2194 iarg[0] = p->start; /* l_ulong */ 2195 iarg[1] = p->len; /* l_size_t */ 2196 iarg[2] = p->prot; /* l_ulong */ 2197 iarg[3] = p->pkey; /* l_int */ 2198 *n_args = 4; 2199 break; 2200 } 2201 /* linux_pkey_alloc */ 2202 case 289: { 2203 struct linux_pkey_alloc_args *p = params; 2204 iarg[0] = p->flags; /* l_ulong */ 2205 iarg[1] = p->init_val; /* l_ulong */ 2206 *n_args = 2; 2207 break; 2208 } 2209 /* linux_pkey_free */ 2210 case 290: { 2211 struct linux_pkey_free_args *p = params; 2212 iarg[0] = p->pkey; /* l_int */ 2213 *n_args = 1; 2214 break; 2215 } 2216 default: 2217 *n_args = 0; 2218 break; 2219 }; 2220 } 2221 static void 2222 systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 2223 { 2224 const char *p = NULL; 2225 switch (sysnum) { 2226 #define nosys linux_nosys 2227 /* linux_setxattr */ 2228 case 5: 2229 switch(ndx) { 2230 case 0: 2231 p = "userland const char *"; 2232 break; 2233 case 1: 2234 p = "userland const char *"; 2235 break; 2236 case 2: 2237 p = "userland const char *"; 2238 break; 2239 case 3: 2240 p = "l_size_t"; 2241 break; 2242 case 4: 2243 p = "l_int"; 2244 break; 2245 default: 2246 break; 2247 }; 2248 break; 2249 /* linux_lsetxattr */ 2250 case 6: 2251 switch(ndx) { 2252 case 0: 2253 p = "userland const char *"; 2254 break; 2255 case 1: 2256 p = "userland const char *"; 2257 break; 2258 case 2: 2259 p = "userland const char *"; 2260 break; 2261 case 3: 2262 p = "l_size_t"; 2263 break; 2264 case 4: 2265 p = "l_int"; 2266 break; 2267 default: 2268 break; 2269 }; 2270 break; 2271 /* linux_fsetxattr */ 2272 case 7: 2273 switch(ndx) { 2274 case 0: 2275 p = "l_int"; 2276 break; 2277 case 1: 2278 p = "userland const char *"; 2279 break; 2280 case 2: 2281 p = "userland const char *"; 2282 break; 2283 case 3: 2284 p = "l_size_t"; 2285 break; 2286 case 4: 2287 p = "l_int"; 2288 break; 2289 default: 2290 break; 2291 }; 2292 break; 2293 /* linux_getxattr */ 2294 case 8: 2295 switch(ndx) { 2296 case 0: 2297 p = "userland const char *"; 2298 break; 2299 case 1: 2300 p = "userland const char *"; 2301 break; 2302 case 2: 2303 p = "userland char *"; 2304 break; 2305 case 3: 2306 p = "l_size_t"; 2307 break; 2308 default: 2309 break; 2310 }; 2311 break; 2312 /* linux_lgetxattr */ 2313 case 9: 2314 switch(ndx) { 2315 case 0: 2316 p = "userland const char *"; 2317 break; 2318 case 1: 2319 p = "userland const char *"; 2320 break; 2321 case 2: 2322 p = "userland char *"; 2323 break; 2324 case 3: 2325 p = "l_size_t"; 2326 break; 2327 default: 2328 break; 2329 }; 2330 break; 2331 /* linux_fgetxattr */ 2332 case 10: 2333 switch(ndx) { 2334 case 0: 2335 p = "l_int"; 2336 break; 2337 case 1: 2338 p = "userland const char *"; 2339 break; 2340 case 2: 2341 p = "userland char *"; 2342 break; 2343 case 3: 2344 p = "l_size_t"; 2345 break; 2346 default: 2347 break; 2348 }; 2349 break; 2350 /* linux_listxattr */ 2351 case 11: 2352 switch(ndx) { 2353 case 0: 2354 p = "userland const char *"; 2355 break; 2356 case 1: 2357 p = "userland const char *"; 2358 break; 2359 case 2: 2360 p = "l_size_t"; 2361 break; 2362 default: 2363 break; 2364 }; 2365 break; 2366 /* linux_llistxattr */ 2367 case 12: 2368 switch(ndx) { 2369 case 0: 2370 p = "userland const char *"; 2371 break; 2372 case 1: 2373 p = "userland const char *"; 2374 break; 2375 case 2: 2376 p = "l_size_t"; 2377 break; 2378 default: 2379 break; 2380 }; 2381 break; 2382 /* linux_flistxattr */ 2383 case 13: 2384 switch(ndx) { 2385 case 0: 2386 p = "l_int"; 2387 break; 2388 case 1: 2389 p = "userland const char *"; 2390 break; 2391 case 2: 2392 p = "l_size_t"; 2393 break; 2394 default: 2395 break; 2396 }; 2397 break; 2398 /* linux_removexattr */ 2399 case 14: 2400 switch(ndx) { 2401 case 0: 2402 p = "userland const char *"; 2403 break; 2404 case 1: 2405 p = "userland const char *"; 2406 break; 2407 default: 2408 break; 2409 }; 2410 break; 2411 /* linux_lremovexattr */ 2412 case 15: 2413 switch(ndx) { 2414 case 0: 2415 p = "userland const char *"; 2416 break; 2417 case 1: 2418 p = "userland const char *"; 2419 break; 2420 default: 2421 break; 2422 }; 2423 break; 2424 /* linux_fremovexattr */ 2425 case 16: 2426 switch(ndx) { 2427 case 0: 2428 p = "l_int"; 2429 break; 2430 case 1: 2431 p = "userland const char *"; 2432 break; 2433 default: 2434 break; 2435 }; 2436 break; 2437 /* linux_getcwd */ 2438 case 17: 2439 switch(ndx) { 2440 case 0: 2441 p = "userland char *"; 2442 break; 2443 case 1: 2444 p = "l_ulong"; 2445 break; 2446 default: 2447 break; 2448 }; 2449 break; 2450 /* linux_lookup_dcookie */ 2451 case 18: 2452 break; 2453 /* linux_eventfd2 */ 2454 case 19: 2455 switch(ndx) { 2456 case 0: 2457 p = "l_uint"; 2458 break; 2459 case 1: 2460 p = "l_int"; 2461 break; 2462 default: 2463 break; 2464 }; 2465 break; 2466 /* linux_epoll_create1 */ 2467 case 20: 2468 switch(ndx) { 2469 case 0: 2470 p = "l_int"; 2471 break; 2472 default: 2473 break; 2474 }; 2475 break; 2476 /* linux_epoll_ctl */ 2477 case 21: 2478 switch(ndx) { 2479 case 0: 2480 p = "l_int"; 2481 break; 2482 case 1: 2483 p = "l_int"; 2484 break; 2485 case 2: 2486 p = "l_int"; 2487 break; 2488 case 3: 2489 p = "userland struct epoll_event *"; 2490 break; 2491 default: 2492 break; 2493 }; 2494 break; 2495 /* linux_epoll_pwait */ 2496 case 22: 2497 switch(ndx) { 2498 case 0: 2499 p = "l_int"; 2500 break; 2501 case 1: 2502 p = "userland struct epoll_event *"; 2503 break; 2504 case 2: 2505 p = "l_int"; 2506 break; 2507 case 3: 2508 p = "l_int"; 2509 break; 2510 case 4: 2511 p = "userland l_sigset_t *"; 2512 break; 2513 case 5: 2514 p = "l_size_t"; 2515 break; 2516 default: 2517 break; 2518 }; 2519 break; 2520 /* dup */ 2521 case 23: 2522 switch(ndx) { 2523 case 0: 2524 p = "u_int"; 2525 break; 2526 default: 2527 break; 2528 }; 2529 break; 2530 /* linux_dup3 */ 2531 case 24: 2532 switch(ndx) { 2533 case 0: 2534 p = "l_int"; 2535 break; 2536 case 1: 2537 p = "l_int"; 2538 break; 2539 case 2: 2540 p = "l_int"; 2541 break; 2542 default: 2543 break; 2544 }; 2545 break; 2546 /* linux_fcntl */ 2547 case 25: 2548 switch(ndx) { 2549 case 0: 2550 p = "l_uint"; 2551 break; 2552 case 1: 2553 p = "l_uint"; 2554 break; 2555 case 2: 2556 p = "l_ulong"; 2557 break; 2558 default: 2559 break; 2560 }; 2561 break; 2562 /* linux_inotify_init1 */ 2563 case 26: 2564 switch(ndx) { 2565 case 0: 2566 p = "l_int"; 2567 break; 2568 default: 2569 break; 2570 }; 2571 break; 2572 /* linux_inotify_add_watch */ 2573 case 27: 2574 break; 2575 /* linux_inotify_rm_watch */ 2576 case 28: 2577 break; 2578 /* linux_ioctl */ 2579 case 29: 2580 switch(ndx) { 2581 case 0: 2582 p = "l_uint"; 2583 break; 2584 case 1: 2585 p = "l_uint"; 2586 break; 2587 case 2: 2588 p = "l_ulong"; 2589 break; 2590 default: 2591 break; 2592 }; 2593 break; 2594 /* linux_ioprio_set */ 2595 case 30: 2596 break; 2597 /* linux_ioprio_get */ 2598 case 31: 2599 break; 2600 /* flock */ 2601 case 32: 2602 switch(ndx) { 2603 case 0: 2604 p = "int"; 2605 break; 2606 case 1: 2607 p = "int"; 2608 break; 2609 default: 2610 break; 2611 }; 2612 break; 2613 /* linux_mknodat */ 2614 case 33: 2615 switch(ndx) { 2616 case 0: 2617 p = "l_int"; 2618 break; 2619 case 1: 2620 p = "userland const char *"; 2621 break; 2622 case 2: 2623 p = "l_int"; 2624 break; 2625 case 3: 2626 p = "l_uint"; 2627 break; 2628 default: 2629 break; 2630 }; 2631 break; 2632 /* linux_mkdirat */ 2633 case 34: 2634 switch(ndx) { 2635 case 0: 2636 p = "l_int"; 2637 break; 2638 case 1: 2639 p = "userland const char *"; 2640 break; 2641 case 2: 2642 p = "l_mode_t"; 2643 break; 2644 default: 2645 break; 2646 }; 2647 break; 2648 /* linux_unlinkat */ 2649 case 35: 2650 switch(ndx) { 2651 case 0: 2652 p = "l_int"; 2653 break; 2654 case 1: 2655 p = "userland const char *"; 2656 break; 2657 case 2: 2658 p = "l_int"; 2659 break; 2660 default: 2661 break; 2662 }; 2663 break; 2664 /* linux_symlinkat */ 2665 case 36: 2666 switch(ndx) { 2667 case 0: 2668 p = "userland const char *"; 2669 break; 2670 case 1: 2671 p = "l_int"; 2672 break; 2673 case 2: 2674 p = "userland const char *"; 2675 break; 2676 default: 2677 break; 2678 }; 2679 break; 2680 /* linux_linkat */ 2681 case 37: 2682 switch(ndx) { 2683 case 0: 2684 p = "l_int"; 2685 break; 2686 case 1: 2687 p = "userland const char *"; 2688 break; 2689 case 2: 2690 p = "l_int"; 2691 break; 2692 case 3: 2693 p = "userland const char *"; 2694 break; 2695 case 4: 2696 p = "l_int"; 2697 break; 2698 default: 2699 break; 2700 }; 2701 break; 2702 /* linux_renameat */ 2703 case 38: 2704 switch(ndx) { 2705 case 0: 2706 p = "l_int"; 2707 break; 2708 case 1: 2709 p = "userland const char *"; 2710 break; 2711 case 2: 2712 p = "l_int"; 2713 break; 2714 case 3: 2715 p = "userland const char *"; 2716 break; 2717 default: 2718 break; 2719 }; 2720 break; 2721 /* linux_mount */ 2722 case 40: 2723 switch(ndx) { 2724 case 0: 2725 p = "userland char *"; 2726 break; 2727 case 1: 2728 p = "userland char *"; 2729 break; 2730 case 2: 2731 p = "userland char *"; 2732 break; 2733 case 3: 2734 p = "l_ulong"; 2735 break; 2736 case 4: 2737 p = "userland void *"; 2738 break; 2739 default: 2740 break; 2741 }; 2742 break; 2743 /* linux_pivot_root */ 2744 case 41: 2745 break; 2746 /* linux_statfs */ 2747 case 43: 2748 switch(ndx) { 2749 case 0: 2750 p = "userland char *"; 2751 break; 2752 case 1: 2753 p = "userland struct l_statfs_buf *"; 2754 break; 2755 default: 2756 break; 2757 }; 2758 break; 2759 /* linux_fstatfs */ 2760 case 44: 2761 switch(ndx) { 2762 case 0: 2763 p = "l_uint"; 2764 break; 2765 case 1: 2766 p = "userland struct l_statfs_buf *"; 2767 break; 2768 default: 2769 break; 2770 }; 2771 break; 2772 /* linux_truncate */ 2773 case 45: 2774 switch(ndx) { 2775 case 0: 2776 p = "userland char *"; 2777 break; 2778 case 1: 2779 p = "l_ulong"; 2780 break; 2781 default: 2782 break; 2783 }; 2784 break; 2785 /* linux_ftruncate */ 2786 case 46: 2787 switch(ndx) { 2788 case 0: 2789 p = "l_int"; 2790 break; 2791 case 1: 2792 p = "l_long"; 2793 break; 2794 default: 2795 break; 2796 }; 2797 break; 2798 /* linux_fallocate */ 2799 case 47: 2800 switch(ndx) { 2801 case 0: 2802 p = "l_int"; 2803 break; 2804 case 1: 2805 p = "l_int"; 2806 break; 2807 case 2: 2808 p = "l_loff_t"; 2809 break; 2810 case 3: 2811 p = "l_loff_t"; 2812 break; 2813 default: 2814 break; 2815 }; 2816 break; 2817 /* linux_faccessat */ 2818 case 48: 2819 switch(ndx) { 2820 case 0: 2821 p = "l_int"; 2822 break; 2823 case 1: 2824 p = "userland const char *"; 2825 break; 2826 case 2: 2827 p = "l_int"; 2828 break; 2829 default: 2830 break; 2831 }; 2832 break; 2833 /* linux_chdir */ 2834 case 49: 2835 switch(ndx) { 2836 case 0: 2837 p = "userland char *"; 2838 break; 2839 default: 2840 break; 2841 }; 2842 break; 2843 /* fchdir */ 2844 case 50: 2845 switch(ndx) { 2846 case 0: 2847 p = "int"; 2848 break; 2849 default: 2850 break; 2851 }; 2852 break; 2853 /* chroot */ 2854 case 51: 2855 switch(ndx) { 2856 case 0: 2857 p = "userland char *"; 2858 break; 2859 default: 2860 break; 2861 }; 2862 break; 2863 /* fchmod */ 2864 case 52: 2865 switch(ndx) { 2866 case 0: 2867 p = "int"; 2868 break; 2869 case 1: 2870 p = "int"; 2871 break; 2872 default: 2873 break; 2874 }; 2875 break; 2876 /* linux_fchmodat */ 2877 case 53: 2878 switch(ndx) { 2879 case 0: 2880 p = "l_int"; 2881 break; 2882 case 1: 2883 p = "userland const char *"; 2884 break; 2885 case 2: 2886 p = "l_mode_t"; 2887 break; 2888 default: 2889 break; 2890 }; 2891 break; 2892 /* linux_fchownat */ 2893 case 54: 2894 switch(ndx) { 2895 case 0: 2896 p = "l_int"; 2897 break; 2898 case 1: 2899 p = "userland const char *"; 2900 break; 2901 case 2: 2902 p = "l_uid_t"; 2903 break; 2904 case 3: 2905 p = "l_gid_t"; 2906 break; 2907 case 4: 2908 p = "l_int"; 2909 break; 2910 default: 2911 break; 2912 }; 2913 break; 2914 /* fchown */ 2915 case 55: 2916 switch(ndx) { 2917 case 0: 2918 p = "int"; 2919 break; 2920 case 1: 2921 p = "int"; 2922 break; 2923 case 2: 2924 p = "int"; 2925 break; 2926 default: 2927 break; 2928 }; 2929 break; 2930 /* linux_openat */ 2931 case 56: 2932 switch(ndx) { 2933 case 0: 2934 p = "l_int"; 2935 break; 2936 case 1: 2937 p = "userland const char *"; 2938 break; 2939 case 2: 2940 p = "l_int"; 2941 break; 2942 case 3: 2943 p = "l_mode_t"; 2944 break; 2945 default: 2946 break; 2947 }; 2948 break; 2949 /* close */ 2950 case 57: 2951 switch(ndx) { 2952 case 0: 2953 p = "int"; 2954 break; 2955 default: 2956 break; 2957 }; 2958 break; 2959 /* linux_vhangup */ 2960 case 58: 2961 break; 2962 /* linux_pipe2 */ 2963 case 59: 2964 switch(ndx) { 2965 case 0: 2966 p = "userland l_int *"; 2967 break; 2968 case 1: 2969 p = "l_int"; 2970 break; 2971 default: 2972 break; 2973 }; 2974 break; 2975 /* linux_getdents64 */ 2976 case 61: 2977 switch(ndx) { 2978 case 0: 2979 p = "l_uint"; 2980 break; 2981 case 1: 2982 p = "userland void *"; 2983 break; 2984 case 2: 2985 p = "l_uint"; 2986 break; 2987 default: 2988 break; 2989 }; 2990 break; 2991 /* linux_lseek */ 2992 case 62: 2993 switch(ndx) { 2994 case 0: 2995 p = "l_uint"; 2996 break; 2997 case 1: 2998 p = "l_off_t"; 2999 break; 3000 case 2: 3001 p = "l_int"; 3002 break; 3003 default: 3004 break; 3005 }; 3006 break; 3007 /* read */ 3008 case 63: 3009 switch(ndx) { 3010 case 0: 3011 p = "int"; 3012 break; 3013 case 1: 3014 p = "userland char *"; 3015 break; 3016 case 2: 3017 p = "l_size_t"; 3018 break; 3019 default: 3020 break; 3021 }; 3022 break; 3023 /* write */ 3024 case 64: 3025 switch(ndx) { 3026 case 0: 3027 p = "int"; 3028 break; 3029 case 1: 3030 p = "userland char *"; 3031 break; 3032 case 2: 3033 p = "l_size_t"; 3034 break; 3035 default: 3036 break; 3037 }; 3038 break; 3039 /* readv */ 3040 case 65: 3041 switch(ndx) { 3042 case 0: 3043 p = "int"; 3044 break; 3045 case 1: 3046 p = "userland struct iovec *"; 3047 break; 3048 case 2: 3049 p = "u_int"; 3050 break; 3051 default: 3052 break; 3053 }; 3054 break; 3055 /* writev */ 3056 case 66: 3057 switch(ndx) { 3058 case 0: 3059 p = "int"; 3060 break; 3061 case 1: 3062 p = "userland struct iovec *"; 3063 break; 3064 case 2: 3065 p = "u_int"; 3066 break; 3067 default: 3068 break; 3069 }; 3070 break; 3071 /* linux_pread */ 3072 case 67: 3073 switch(ndx) { 3074 case 0: 3075 p = "l_uint"; 3076 break; 3077 case 1: 3078 p = "userland char *"; 3079 break; 3080 case 2: 3081 p = "l_size_t"; 3082 break; 3083 case 3: 3084 p = "l_loff_t"; 3085 break; 3086 default: 3087 break; 3088 }; 3089 break; 3090 /* linux_pwrite */ 3091 case 68: 3092 switch(ndx) { 3093 case 0: 3094 p = "l_uint"; 3095 break; 3096 case 1: 3097 p = "userland char *"; 3098 break; 3099 case 2: 3100 p = "l_size_t"; 3101 break; 3102 case 3: 3103 p = "l_loff_t"; 3104 break; 3105 default: 3106 break; 3107 }; 3108 break; 3109 /* linux_preadv */ 3110 case 69: 3111 switch(ndx) { 3112 case 0: 3113 p = "l_ulong"; 3114 break; 3115 case 1: 3116 p = "userland struct iovec *"; 3117 break; 3118 case 2: 3119 p = "l_ulong"; 3120 break; 3121 case 3: 3122 p = "l_ulong"; 3123 break; 3124 case 4: 3125 p = "l_ulong"; 3126 break; 3127 default: 3128 break; 3129 }; 3130 break; 3131 /* linux_pwritev */ 3132 case 70: 3133 switch(ndx) { 3134 case 0: 3135 p = "l_ulong"; 3136 break; 3137 case 1: 3138 p = "userland struct iovec *"; 3139 break; 3140 case 2: 3141 p = "l_ulong"; 3142 break; 3143 case 3: 3144 p = "l_ulong"; 3145 break; 3146 case 4: 3147 p = "l_ulong"; 3148 break; 3149 default: 3150 break; 3151 }; 3152 break; 3153 /* linux_sendfile */ 3154 case 71: 3155 switch(ndx) { 3156 case 0: 3157 p = "l_int"; 3158 break; 3159 case 1: 3160 p = "l_int"; 3161 break; 3162 case 2: 3163 p = "userland l_off_t *"; 3164 break; 3165 case 3: 3166 p = "l_size_t"; 3167 break; 3168 default: 3169 break; 3170 }; 3171 break; 3172 /* linux_pselect6 */ 3173 case 72: 3174 switch(ndx) { 3175 case 0: 3176 p = "l_int"; 3177 break; 3178 case 1: 3179 p = "userland l_fd_set *"; 3180 break; 3181 case 2: 3182 p = "userland l_fd_set *"; 3183 break; 3184 case 3: 3185 p = "userland l_fd_set *"; 3186 break; 3187 case 4: 3188 p = "userland struct l_timespec *"; 3189 break; 3190 case 5: 3191 p = "userland l_uintptr_t *"; 3192 break; 3193 default: 3194 break; 3195 }; 3196 break; 3197 /* linux_ppoll */ 3198 case 73: 3199 switch(ndx) { 3200 case 0: 3201 p = "userland struct pollfd *"; 3202 break; 3203 case 1: 3204 p = "l_uint"; 3205 break; 3206 case 2: 3207 p = "userland struct l_timespec *"; 3208 break; 3209 case 3: 3210 p = "userland l_sigset_t *"; 3211 break; 3212 case 4: 3213 p = "l_size_t"; 3214 break; 3215 default: 3216 break; 3217 }; 3218 break; 3219 /* linux_signalfd4 */ 3220 case 74: 3221 break; 3222 /* linux_vmsplice */ 3223 case 75: 3224 break; 3225 /* linux_splice */ 3226 case 76: 3227 switch(ndx) { 3228 case 0: 3229 p = "int"; 3230 break; 3231 case 1: 3232 p = "userland l_loff_t *"; 3233 break; 3234 case 2: 3235 p = "int"; 3236 break; 3237 case 3: 3238 p = "userland l_loff_t *"; 3239 break; 3240 case 4: 3241 p = "l_size_t"; 3242 break; 3243 case 5: 3244 p = "l_uint"; 3245 break; 3246 default: 3247 break; 3248 }; 3249 break; 3250 /* linux_tee */ 3251 case 77: 3252 break; 3253 /* linux_readlinkat */ 3254 case 78: 3255 switch(ndx) { 3256 case 0: 3257 p = "l_int"; 3258 break; 3259 case 1: 3260 p = "userland const char *"; 3261 break; 3262 case 2: 3263 p = "userland char *"; 3264 break; 3265 case 3: 3266 p = "l_int"; 3267 break; 3268 default: 3269 break; 3270 }; 3271 break; 3272 /* linux_newfstatat */ 3273 case 79: 3274 switch(ndx) { 3275 case 0: 3276 p = "l_int"; 3277 break; 3278 case 1: 3279 p = "userland char *"; 3280 break; 3281 case 2: 3282 p = "userland struct l_stat64 *"; 3283 break; 3284 case 3: 3285 p = "l_int"; 3286 break; 3287 default: 3288 break; 3289 }; 3290 break; 3291 /* linux_newfstat */ 3292 case 80: 3293 switch(ndx) { 3294 case 0: 3295 p = "l_uint"; 3296 break; 3297 case 1: 3298 p = "userland struct l_newstat *"; 3299 break; 3300 default: 3301 break; 3302 }; 3303 break; 3304 /* fsync */ 3305 case 82: 3306 switch(ndx) { 3307 case 0: 3308 p = "int"; 3309 break; 3310 default: 3311 break; 3312 }; 3313 break; 3314 /* linux_fdatasync */ 3315 case 83: 3316 switch(ndx) { 3317 case 0: 3318 p = "l_uint"; 3319 break; 3320 default: 3321 break; 3322 }; 3323 break; 3324 /* linux_sync_file_range */ 3325 case 84: 3326 switch(ndx) { 3327 case 0: 3328 p = "l_int"; 3329 break; 3330 case 1: 3331 p = "l_loff_t"; 3332 break; 3333 case 2: 3334 p = "l_loff_t"; 3335 break; 3336 case 3: 3337 p = "l_uint"; 3338 break; 3339 default: 3340 break; 3341 }; 3342 break; 3343 /* linux_timerfd_create */ 3344 case 85: 3345 switch(ndx) { 3346 case 0: 3347 p = "l_int"; 3348 break; 3349 case 1: 3350 p = "l_int"; 3351 break; 3352 default: 3353 break; 3354 }; 3355 break; 3356 /* linux_timerfd_settime */ 3357 case 86: 3358 switch(ndx) { 3359 case 0: 3360 p = "l_int"; 3361 break; 3362 case 1: 3363 p = "l_int"; 3364 break; 3365 case 2: 3366 p = "userland const struct l_itimerspec *"; 3367 break; 3368 case 3: 3369 p = "userland struct l_itimerspec *"; 3370 break; 3371 default: 3372 break; 3373 }; 3374 break; 3375 /* linux_timerfd_gettime */ 3376 case 87: 3377 switch(ndx) { 3378 case 0: 3379 p = "l_int"; 3380 break; 3381 case 1: 3382 p = "userland struct l_itimerspec *"; 3383 break; 3384 default: 3385 break; 3386 }; 3387 break; 3388 /* linux_utimensat */ 3389 case 88: 3390 switch(ndx) { 3391 case 0: 3392 p = "l_int"; 3393 break; 3394 case 1: 3395 p = "userland const char *"; 3396 break; 3397 case 2: 3398 p = "userland const struct l_timespec *"; 3399 break; 3400 case 3: 3401 p = "l_int"; 3402 break; 3403 default: 3404 break; 3405 }; 3406 break; 3407 /* acct */ 3408 case 89: 3409 switch(ndx) { 3410 case 0: 3411 p = "userland char *"; 3412 break; 3413 default: 3414 break; 3415 }; 3416 break; 3417 /* linux_capget */ 3418 case 90: 3419 switch(ndx) { 3420 case 0: 3421 p = "userland struct l_user_cap_header *"; 3422 break; 3423 case 1: 3424 p = "userland struct l_user_cap_data *"; 3425 break; 3426 default: 3427 break; 3428 }; 3429 break; 3430 /* linux_capset */ 3431 case 91: 3432 switch(ndx) { 3433 case 0: 3434 p = "userland struct l_user_cap_header *"; 3435 break; 3436 case 1: 3437 p = "userland struct l_user_cap_data *"; 3438 break; 3439 default: 3440 break; 3441 }; 3442 break; 3443 /* linux_personality */ 3444 case 92: 3445 switch(ndx) { 3446 case 0: 3447 p = "l_uint"; 3448 break; 3449 default: 3450 break; 3451 }; 3452 break; 3453 /* linux_exit */ 3454 case 93: 3455 switch(ndx) { 3456 case 0: 3457 p = "u_int"; 3458 break; 3459 default: 3460 break; 3461 }; 3462 break; 3463 /* linux_exit_group */ 3464 case 94: 3465 switch(ndx) { 3466 case 0: 3467 p = "l_int"; 3468 break; 3469 default: 3470 break; 3471 }; 3472 break; 3473 /* linux_waitid */ 3474 case 95: 3475 switch(ndx) { 3476 case 0: 3477 p = "l_int"; 3478 break; 3479 case 1: 3480 p = "l_pid_t"; 3481 break; 3482 case 2: 3483 p = "userland l_siginfo_t *"; 3484 break; 3485 case 3: 3486 p = "l_int"; 3487 break; 3488 case 4: 3489 p = "userland struct rusage *"; 3490 break; 3491 default: 3492 break; 3493 }; 3494 break; 3495 /* linux_set_tid_address */ 3496 case 96: 3497 switch(ndx) { 3498 case 0: 3499 p = "userland l_int *"; 3500 break; 3501 default: 3502 break; 3503 }; 3504 break; 3505 /* linux_unshare */ 3506 case 97: 3507 break; 3508 /* linux_sys_futex */ 3509 case 98: 3510 switch(ndx) { 3511 case 0: 3512 p = "userland void *"; 3513 break; 3514 case 1: 3515 p = "int"; 3516 break; 3517 case 2: 3518 p = "int"; 3519 break; 3520 case 3: 3521 p = "userland struct l_timespec *"; 3522 break; 3523 case 4: 3524 p = "userland void *"; 3525 break; 3526 case 5: 3527 p = "int"; 3528 break; 3529 default: 3530 break; 3531 }; 3532 break; 3533 /* linux_set_robust_list */ 3534 case 99: 3535 switch(ndx) { 3536 case 0: 3537 p = "userland struct linux_robust_list_head *"; 3538 break; 3539 case 1: 3540 p = "l_size_t"; 3541 break; 3542 default: 3543 break; 3544 }; 3545 break; 3546 /* linux_get_robust_list */ 3547 case 100: 3548 switch(ndx) { 3549 case 0: 3550 p = "l_int"; 3551 break; 3552 case 1: 3553 p = "userland struct linux_robust_list_head **"; 3554 break; 3555 case 2: 3556 p = "userland l_size_t *"; 3557 break; 3558 default: 3559 break; 3560 }; 3561 break; 3562 /* linux_nanosleep */ 3563 case 101: 3564 switch(ndx) { 3565 case 0: 3566 p = "userland const struct l_timespec *"; 3567 break; 3568 case 1: 3569 p = "userland struct l_timespec *"; 3570 break; 3571 default: 3572 break; 3573 }; 3574 break; 3575 /* linux_getitimer */ 3576 case 102: 3577 switch(ndx) { 3578 case 0: 3579 p = "l_int"; 3580 break; 3581 case 1: 3582 p = "userland struct l_itimerval *"; 3583 break; 3584 default: 3585 break; 3586 }; 3587 break; 3588 /* linux_setitimer */ 3589 case 103: 3590 switch(ndx) { 3591 case 0: 3592 p = "l_int"; 3593 break; 3594 case 1: 3595 p = "userland struct l_itimerval *"; 3596 break; 3597 case 2: 3598 p = "userland struct l_itimerval *"; 3599 break; 3600 default: 3601 break; 3602 }; 3603 break; 3604 /* linux_kexec_load */ 3605 case 104: 3606 break; 3607 /* linux_init_module */ 3608 case 105: 3609 break; 3610 /* linux_delete_module */ 3611 case 106: 3612 break; 3613 /* linux_timer_create */ 3614 case 107: 3615 switch(ndx) { 3616 case 0: 3617 p = "clockid_t"; 3618 break; 3619 case 1: 3620 p = "userland struct sigevent *"; 3621 break; 3622 case 2: 3623 p = "userland l_timer_t *"; 3624 break; 3625 default: 3626 break; 3627 }; 3628 break; 3629 /* linux_timer_gettime */ 3630 case 108: 3631 switch(ndx) { 3632 case 0: 3633 p = "l_timer_t"; 3634 break; 3635 case 1: 3636 p = "userland struct itimerspec *"; 3637 break; 3638 default: 3639 break; 3640 }; 3641 break; 3642 /* linux_timer_getoverrun */ 3643 case 109: 3644 switch(ndx) { 3645 case 0: 3646 p = "l_timer_t"; 3647 break; 3648 default: 3649 break; 3650 }; 3651 break; 3652 /* linux_timer_settime */ 3653 case 110: 3654 switch(ndx) { 3655 case 0: 3656 p = "l_timer_t"; 3657 break; 3658 case 1: 3659 p = "l_int"; 3660 break; 3661 case 2: 3662 p = "userland const struct itimerspec *"; 3663 break; 3664 case 3: 3665 p = "userland struct itimerspec *"; 3666 break; 3667 default: 3668 break; 3669 }; 3670 break; 3671 /* linux_timer_delete */ 3672 case 111: 3673 switch(ndx) { 3674 case 0: 3675 p = "l_timer_t"; 3676 break; 3677 default: 3678 break; 3679 }; 3680 break; 3681 /* linux_clock_settime */ 3682 case 112: 3683 switch(ndx) { 3684 case 0: 3685 p = "clockid_t"; 3686 break; 3687 case 1: 3688 p = "userland struct l_timespec *"; 3689 break; 3690 default: 3691 break; 3692 }; 3693 break; 3694 /* linux_clock_gettime */ 3695 case 113: 3696 switch(ndx) { 3697 case 0: 3698 p = "clockid_t"; 3699 break; 3700 case 1: 3701 p = "userland struct l_timespec *"; 3702 break; 3703 default: 3704 break; 3705 }; 3706 break; 3707 /* linux_clock_getres */ 3708 case 114: 3709 switch(ndx) { 3710 case 0: 3711 p = "clockid_t"; 3712 break; 3713 case 1: 3714 p = "userland struct l_timespec *"; 3715 break; 3716 default: 3717 break; 3718 }; 3719 break; 3720 /* linux_clock_nanosleep */ 3721 case 115: 3722 switch(ndx) { 3723 case 0: 3724 p = "clockid_t"; 3725 break; 3726 case 1: 3727 p = "l_int"; 3728 break; 3729 case 2: 3730 p = "userland struct l_timespec *"; 3731 break; 3732 case 3: 3733 p = "userland struct l_timespec *"; 3734 break; 3735 default: 3736 break; 3737 }; 3738 break; 3739 /* linux_syslog */ 3740 case 116: 3741 switch(ndx) { 3742 case 0: 3743 p = "l_int"; 3744 break; 3745 case 1: 3746 p = "userland char *"; 3747 break; 3748 case 2: 3749 p = "l_int"; 3750 break; 3751 default: 3752 break; 3753 }; 3754 break; 3755 /* linux_ptrace */ 3756 case 117: 3757 switch(ndx) { 3758 case 0: 3759 p = "l_long"; 3760 break; 3761 case 1: 3762 p = "l_long"; 3763 break; 3764 case 2: 3765 p = "l_ulong"; 3766 break; 3767 case 3: 3768 p = "l_ulong"; 3769 break; 3770 default: 3771 break; 3772 }; 3773 break; 3774 /* linux_sched_setparam */ 3775 case 118: 3776 switch(ndx) { 3777 case 0: 3778 p = "l_pid_t"; 3779 break; 3780 case 1: 3781 p = "userland struct sched_param *"; 3782 break; 3783 default: 3784 break; 3785 }; 3786 break; 3787 /* linux_sched_setscheduler */ 3788 case 119: 3789 switch(ndx) { 3790 case 0: 3791 p = "l_pid_t"; 3792 break; 3793 case 1: 3794 p = "l_int"; 3795 break; 3796 case 2: 3797 p = "userland struct sched_param *"; 3798 break; 3799 default: 3800 break; 3801 }; 3802 break; 3803 /* linux_sched_getscheduler */ 3804 case 120: 3805 switch(ndx) { 3806 case 0: 3807 p = "l_pid_t"; 3808 break; 3809 default: 3810 break; 3811 }; 3812 break; 3813 /* linux_sched_getparam */ 3814 case 121: 3815 switch(ndx) { 3816 case 0: 3817 p = "l_pid_t"; 3818 break; 3819 case 1: 3820 p = "userland struct sched_param *"; 3821 break; 3822 default: 3823 break; 3824 }; 3825 break; 3826 /* linux_sched_setaffinity */ 3827 case 122: 3828 switch(ndx) { 3829 case 0: 3830 p = "l_pid_t"; 3831 break; 3832 case 1: 3833 p = "l_uint"; 3834 break; 3835 case 2: 3836 p = "userland l_ulong *"; 3837 break; 3838 default: 3839 break; 3840 }; 3841 break; 3842 /* linux_sched_getaffinity */ 3843 case 123: 3844 switch(ndx) { 3845 case 0: 3846 p = "l_pid_t"; 3847 break; 3848 case 1: 3849 p = "l_uint"; 3850 break; 3851 case 2: 3852 p = "userland l_ulong *"; 3853 break; 3854 default: 3855 break; 3856 }; 3857 break; 3858 /* sched_yield */ 3859 case 124: 3860 break; 3861 /* linux_sched_get_priority_max */ 3862 case 125: 3863 switch(ndx) { 3864 case 0: 3865 p = "l_int"; 3866 break; 3867 default: 3868 break; 3869 }; 3870 break; 3871 /* linux_sched_get_priority_min */ 3872 case 126: 3873 switch(ndx) { 3874 case 0: 3875 p = "l_int"; 3876 break; 3877 default: 3878 break; 3879 }; 3880 break; 3881 /* linux_sched_rr_get_interval */ 3882 case 127: 3883 switch(ndx) { 3884 case 0: 3885 p = "l_pid_t"; 3886 break; 3887 case 1: 3888 p = "userland struct l_timespec *"; 3889 break; 3890 default: 3891 break; 3892 }; 3893 break; 3894 /* linux_kill */ 3895 case 129: 3896 switch(ndx) { 3897 case 0: 3898 p = "l_pid_t"; 3899 break; 3900 case 1: 3901 p = "l_int"; 3902 break; 3903 default: 3904 break; 3905 }; 3906 break; 3907 /* linux_tkill */ 3908 case 130: 3909 switch(ndx) { 3910 case 0: 3911 p = "l_pid_t"; 3912 break; 3913 case 1: 3914 p = "l_int"; 3915 break; 3916 default: 3917 break; 3918 }; 3919 break; 3920 /* linux_tgkill */ 3921 case 131: 3922 switch(ndx) { 3923 case 0: 3924 p = "l_pid_t"; 3925 break; 3926 case 1: 3927 p = "l_pid_t"; 3928 break; 3929 case 2: 3930 p = "l_int"; 3931 break; 3932 default: 3933 break; 3934 }; 3935 break; 3936 /* linux_sigaltstack */ 3937 case 132: 3938 switch(ndx) { 3939 case 0: 3940 p = "userland l_stack_t *"; 3941 break; 3942 case 1: 3943 p = "userland l_stack_t *"; 3944 break; 3945 default: 3946 break; 3947 }; 3948 break; 3949 /* linux_rt_sigsuspend */ 3950 case 133: 3951 switch(ndx) { 3952 case 0: 3953 p = "userland l_sigset_t *"; 3954 break; 3955 case 1: 3956 p = "l_size_t"; 3957 break; 3958 default: 3959 break; 3960 }; 3961 break; 3962 /* linux_rt_sigaction */ 3963 case 134: 3964 switch(ndx) { 3965 case 0: 3966 p = "l_int"; 3967 break; 3968 case 1: 3969 p = "userland l_sigaction_t *"; 3970 break; 3971 case 2: 3972 p = "userland l_sigaction_t *"; 3973 break; 3974 case 3: 3975 p = "l_size_t"; 3976 break; 3977 default: 3978 break; 3979 }; 3980 break; 3981 /* linux_rt_sigprocmask */ 3982 case 135: 3983 switch(ndx) { 3984 case 0: 3985 p = "l_int"; 3986 break; 3987 case 1: 3988 p = "userland l_sigset_t *"; 3989 break; 3990 case 2: 3991 p = "userland l_sigset_t *"; 3992 break; 3993 case 3: 3994 p = "l_size_t"; 3995 break; 3996 default: 3997 break; 3998 }; 3999 break; 4000 /* linux_rt_sigpending */ 4001 case 136: 4002 switch(ndx) { 4003 case 0: 4004 p = "userland l_sigset_t *"; 4005 break; 4006 case 1: 4007 p = "l_size_t"; 4008 break; 4009 default: 4010 break; 4011 }; 4012 break; 4013 /* linux_rt_sigtimedwait */ 4014 case 137: 4015 switch(ndx) { 4016 case 0: 4017 p = "userland l_sigset_t *"; 4018 break; 4019 case 1: 4020 p = "userland l_siginfo_t *"; 4021 break; 4022 case 2: 4023 p = "userland struct l_timeval *"; 4024 break; 4025 case 3: 4026 p = "l_size_t"; 4027 break; 4028 default: 4029 break; 4030 }; 4031 break; 4032 /* linux_rt_sigqueueinfo */ 4033 case 138: 4034 switch(ndx) { 4035 case 0: 4036 p = "l_pid_t"; 4037 break; 4038 case 1: 4039 p = "l_int"; 4040 break; 4041 case 2: 4042 p = "userland l_siginfo_t *"; 4043 break; 4044 default: 4045 break; 4046 }; 4047 break; 4048 /* linux_rt_sigreturn */ 4049 case 139: 4050 switch(ndx) { 4051 case 0: 4052 p = "userland struct l_ucontext *"; 4053 break; 4054 default: 4055 break; 4056 }; 4057 break; 4058 /* setpriority */ 4059 case 140: 4060 switch(ndx) { 4061 case 0: 4062 p = "int"; 4063 break; 4064 case 1: 4065 p = "int"; 4066 break; 4067 case 2: 4068 p = "int"; 4069 break; 4070 default: 4071 break; 4072 }; 4073 break; 4074 /* linux_getpriority */ 4075 case 141: 4076 switch(ndx) { 4077 case 0: 4078 p = "l_int"; 4079 break; 4080 case 1: 4081 p = "l_int"; 4082 break; 4083 default: 4084 break; 4085 }; 4086 break; 4087 /* linux_reboot */ 4088 case 142: 4089 switch(ndx) { 4090 case 0: 4091 p = "l_int"; 4092 break; 4093 case 1: 4094 p = "l_int"; 4095 break; 4096 case 2: 4097 p = "l_uint"; 4098 break; 4099 case 3: 4100 p = "userland void *"; 4101 break; 4102 default: 4103 break; 4104 }; 4105 break; 4106 /* setregid */ 4107 case 143: 4108 switch(ndx) { 4109 case 0: 4110 p = "gid_t"; 4111 break; 4112 case 1: 4113 p = "gid_t"; 4114 break; 4115 default: 4116 break; 4117 }; 4118 break; 4119 /* setgid */ 4120 case 144: 4121 switch(ndx) { 4122 case 0: 4123 p = "gid_t"; 4124 break; 4125 default: 4126 break; 4127 }; 4128 break; 4129 /* setreuid */ 4130 case 145: 4131 switch(ndx) { 4132 case 0: 4133 p = "uid_t"; 4134 break; 4135 case 1: 4136 p = "uid_t"; 4137 break; 4138 default: 4139 break; 4140 }; 4141 break; 4142 /* setuid */ 4143 case 146: 4144 switch(ndx) { 4145 case 0: 4146 p = "uid_t"; 4147 break; 4148 default: 4149 break; 4150 }; 4151 break; 4152 /* setresuid */ 4153 case 147: 4154 switch(ndx) { 4155 case 0: 4156 p = "uid_t"; 4157 break; 4158 case 1: 4159 p = "uid_t"; 4160 break; 4161 case 2: 4162 p = "uid_t"; 4163 break; 4164 default: 4165 break; 4166 }; 4167 break; 4168 /* getresuid */ 4169 case 148: 4170 switch(ndx) { 4171 case 0: 4172 p = "userland uid_t *"; 4173 break; 4174 case 1: 4175 p = "userland uid_t *"; 4176 break; 4177 case 2: 4178 p = "userland uid_t *"; 4179 break; 4180 default: 4181 break; 4182 }; 4183 break; 4184 /* setresgid */ 4185 case 149: 4186 switch(ndx) { 4187 case 0: 4188 p = "gid_t"; 4189 break; 4190 case 1: 4191 p = "gid_t"; 4192 break; 4193 case 2: 4194 p = "gid_t"; 4195 break; 4196 default: 4197 break; 4198 }; 4199 break; 4200 /* getresgid */ 4201 case 150: 4202 switch(ndx) { 4203 case 0: 4204 p = "userland gid_t *"; 4205 break; 4206 case 1: 4207 p = "userland gid_t *"; 4208 break; 4209 case 2: 4210 p = "userland gid_t *"; 4211 break; 4212 default: 4213 break; 4214 }; 4215 break; 4216 /* linux_setfsuid */ 4217 case 151: 4218 switch(ndx) { 4219 case 0: 4220 p = "l_uid_t"; 4221 break; 4222 default: 4223 break; 4224 }; 4225 break; 4226 /* linux_setfsgid */ 4227 case 152: 4228 switch(ndx) { 4229 case 0: 4230 p = "l_gid_t"; 4231 break; 4232 default: 4233 break; 4234 }; 4235 break; 4236 /* linux_times */ 4237 case 153: 4238 switch(ndx) { 4239 case 0: 4240 p = "userland struct l_times_argv *"; 4241 break; 4242 default: 4243 break; 4244 }; 4245 break; 4246 /* setpgid */ 4247 case 154: 4248 switch(ndx) { 4249 case 0: 4250 p = "int"; 4251 break; 4252 case 1: 4253 p = "int"; 4254 break; 4255 default: 4256 break; 4257 }; 4258 break; 4259 /* getpgid */ 4260 case 155: 4261 switch(ndx) { 4262 case 0: 4263 p = "int"; 4264 break; 4265 default: 4266 break; 4267 }; 4268 break; 4269 /* linux_getsid */ 4270 case 156: 4271 switch(ndx) { 4272 case 0: 4273 p = "l_pid_t"; 4274 break; 4275 default: 4276 break; 4277 }; 4278 break; 4279 /* setsid */ 4280 case 157: 4281 break; 4282 /* linux_getgroups */ 4283 case 158: 4284 switch(ndx) { 4285 case 0: 4286 p = "l_int"; 4287 break; 4288 case 1: 4289 p = "userland l_gid_t *"; 4290 break; 4291 default: 4292 break; 4293 }; 4294 break; 4295 /* linux_setgroups */ 4296 case 159: 4297 switch(ndx) { 4298 case 0: 4299 p = "l_int"; 4300 break; 4301 case 1: 4302 p = "userland l_gid_t *"; 4303 break; 4304 default: 4305 break; 4306 }; 4307 break; 4308 /* linux_newuname */ 4309 case 160: 4310 switch(ndx) { 4311 case 0: 4312 p = "userland struct l_new_utsname *"; 4313 break; 4314 default: 4315 break; 4316 }; 4317 break; 4318 /* linux_sethostname */ 4319 case 161: 4320 switch(ndx) { 4321 case 0: 4322 p = "userland char *"; 4323 break; 4324 case 1: 4325 p = "l_uint"; 4326 break; 4327 default: 4328 break; 4329 }; 4330 break; 4331 /* linux_setdomainname */ 4332 case 162: 4333 switch(ndx) { 4334 case 0: 4335 p = "userland char *"; 4336 break; 4337 case 1: 4338 p = "l_int"; 4339 break; 4340 default: 4341 break; 4342 }; 4343 break; 4344 /* linux_getrlimit */ 4345 case 163: 4346 switch(ndx) { 4347 case 0: 4348 p = "l_uint"; 4349 break; 4350 case 1: 4351 p = "userland struct l_rlimit *"; 4352 break; 4353 default: 4354 break; 4355 }; 4356 break; 4357 /* linux_setrlimit */ 4358 case 164: 4359 switch(ndx) { 4360 case 0: 4361 p = "l_uint"; 4362 break; 4363 case 1: 4364 p = "userland struct l_rlimit *"; 4365 break; 4366 default: 4367 break; 4368 }; 4369 break; 4370 /* getrusage */ 4371 case 165: 4372 switch(ndx) { 4373 case 0: 4374 p = "int"; 4375 break; 4376 case 1: 4377 p = "userland struct rusage *"; 4378 break; 4379 default: 4380 break; 4381 }; 4382 break; 4383 /* umask */ 4384 case 166: 4385 switch(ndx) { 4386 case 0: 4387 p = "int"; 4388 break; 4389 default: 4390 break; 4391 }; 4392 break; 4393 /* linux_prctl */ 4394 case 167: 4395 switch(ndx) { 4396 case 0: 4397 p = "l_int"; 4398 break; 4399 case 1: 4400 p = "l_uintptr_t"; 4401 break; 4402 case 2: 4403 p = "l_uintptr_t"; 4404 break; 4405 case 3: 4406 p = "l_uintptr_t"; 4407 break; 4408 case 4: 4409 p = "l_uintptr_t"; 4410 break; 4411 default: 4412 break; 4413 }; 4414 break; 4415 /* linux_getcpu */ 4416 case 168: 4417 switch(ndx) { 4418 case 0: 4419 p = "userland l_uint *"; 4420 break; 4421 case 1: 4422 p = "userland l_uint *"; 4423 break; 4424 case 2: 4425 p = "userland void *"; 4426 break; 4427 default: 4428 break; 4429 }; 4430 break; 4431 /* gettimeofday */ 4432 case 169: 4433 switch(ndx) { 4434 case 0: 4435 p = "userland struct l_timeval *"; 4436 break; 4437 case 1: 4438 p = "userland struct timezone *"; 4439 break; 4440 default: 4441 break; 4442 }; 4443 break; 4444 /* settimeofday */ 4445 case 170: 4446 switch(ndx) { 4447 case 0: 4448 p = "userland struct l_timeval *"; 4449 break; 4450 case 1: 4451 p = "userland struct timezone *"; 4452 break; 4453 default: 4454 break; 4455 }; 4456 break; 4457 /* linux_adjtimex */ 4458 case 171: 4459 break; 4460 /* linux_getpid */ 4461 case 172: 4462 break; 4463 /* linux_getppid */ 4464 case 173: 4465 break; 4466 /* linux_getuid */ 4467 case 174: 4468 break; 4469 /* geteuid */ 4470 case 175: 4471 break; 4472 /* linux_getgid */ 4473 case 176: 4474 break; 4475 /* getegid */ 4476 case 177: 4477 break; 4478 /* linux_gettid */ 4479 case 178: 4480 break; 4481 /* linux_sysinfo */ 4482 case 179: 4483 switch(ndx) { 4484 case 0: 4485 p = "userland struct l_sysinfo *"; 4486 break; 4487 default: 4488 break; 4489 }; 4490 break; 4491 /* linux_mq_open */ 4492 case 180: 4493 switch(ndx) { 4494 case 0: 4495 p = "userland const char *"; 4496 break; 4497 case 1: 4498 p = "l_int"; 4499 break; 4500 case 2: 4501 p = "l_mode_t"; 4502 break; 4503 case 3: 4504 p = "userland struct mq_attr *"; 4505 break; 4506 default: 4507 break; 4508 }; 4509 break; 4510 /* linux_mq_unlink */ 4511 case 181: 4512 switch(ndx) { 4513 case 0: 4514 p = "userland const char *"; 4515 break; 4516 default: 4517 break; 4518 }; 4519 break; 4520 /* linux_mq_timedsend */ 4521 case 182: 4522 switch(ndx) { 4523 case 0: 4524 p = "l_mqd_t"; 4525 break; 4526 case 1: 4527 p = "userland const char *"; 4528 break; 4529 case 2: 4530 p = "l_size_t"; 4531 break; 4532 case 3: 4533 p = "l_uint"; 4534 break; 4535 case 4: 4536 p = "userland const struct l_timespec *"; 4537 break; 4538 default: 4539 break; 4540 }; 4541 break; 4542 /* linux_mq_timedreceive */ 4543 case 183: 4544 switch(ndx) { 4545 case 0: 4546 p = "l_mqd_t"; 4547 break; 4548 case 1: 4549 p = "userland char *"; 4550 break; 4551 case 2: 4552 p = "l_size_t"; 4553 break; 4554 case 3: 4555 p = "userland l_uint *"; 4556 break; 4557 case 4: 4558 p = "userland const struct l_timespec *"; 4559 break; 4560 default: 4561 break; 4562 }; 4563 break; 4564 /* linux_mq_notify */ 4565 case 184: 4566 switch(ndx) { 4567 case 0: 4568 p = "l_mqd_t"; 4569 break; 4570 case 1: 4571 p = "userland const struct l_timespec *"; 4572 break; 4573 default: 4574 break; 4575 }; 4576 break; 4577 /* linux_mq_getsetattr */ 4578 case 185: 4579 switch(ndx) { 4580 case 0: 4581 p = "l_mqd_t"; 4582 break; 4583 case 1: 4584 p = "userland const struct mq_attr *"; 4585 break; 4586 case 2: 4587 p = "userland struct mq_attr *"; 4588 break; 4589 default: 4590 break; 4591 }; 4592 break; 4593 /* linux_msgget */ 4594 case 186: 4595 switch(ndx) { 4596 case 0: 4597 p = "l_key_t"; 4598 break; 4599 case 1: 4600 p = "l_int"; 4601 break; 4602 default: 4603 break; 4604 }; 4605 break; 4606 /* linux_msgctl */ 4607 case 187: 4608 switch(ndx) { 4609 case 0: 4610 p = "l_int"; 4611 break; 4612 case 1: 4613 p = "l_int"; 4614 break; 4615 case 2: 4616 p = "userland struct l_msqid_ds *"; 4617 break; 4618 default: 4619 break; 4620 }; 4621 break; 4622 /* linux_msgrcv */ 4623 case 188: 4624 switch(ndx) { 4625 case 0: 4626 p = "l_int"; 4627 break; 4628 case 1: 4629 p = "userland struct l_msgbuf *"; 4630 break; 4631 case 2: 4632 p = "l_size_t"; 4633 break; 4634 case 3: 4635 p = "l_long"; 4636 break; 4637 case 4: 4638 p = "l_int"; 4639 break; 4640 default: 4641 break; 4642 }; 4643 break; 4644 /* linux_msgsnd */ 4645 case 189: 4646 switch(ndx) { 4647 case 0: 4648 p = "l_int"; 4649 break; 4650 case 1: 4651 p = "userland struct l_msgbuf *"; 4652 break; 4653 case 2: 4654 p = "l_size_t"; 4655 break; 4656 case 3: 4657 p = "l_int"; 4658 break; 4659 default: 4660 break; 4661 }; 4662 break; 4663 /* linux_semget */ 4664 case 190: 4665 switch(ndx) { 4666 case 0: 4667 p = "l_key_t"; 4668 break; 4669 case 1: 4670 p = "l_int"; 4671 break; 4672 case 2: 4673 p = "l_int"; 4674 break; 4675 default: 4676 break; 4677 }; 4678 break; 4679 /* linux_semctl */ 4680 case 191: 4681 switch(ndx) { 4682 case 0: 4683 p = "l_int"; 4684 break; 4685 case 1: 4686 p = "l_int"; 4687 break; 4688 case 2: 4689 p = "l_int"; 4690 break; 4691 case 3: 4692 p = "union l_semun"; 4693 break; 4694 default: 4695 break; 4696 }; 4697 break; 4698 /* linux_semtimedop */ 4699 case 192: 4700 break; 4701 /* linux_semop */ 4702 case 193: 4703 switch(ndx) { 4704 case 0: 4705 p = "l_int"; 4706 break; 4707 case 1: 4708 p = "userland struct l_sembuf *"; 4709 break; 4710 case 2: 4711 p = "l_uint"; 4712 break; 4713 default: 4714 break; 4715 }; 4716 break; 4717 /* linux_shmget */ 4718 case 194: 4719 switch(ndx) { 4720 case 0: 4721 p = "l_key_t"; 4722 break; 4723 case 1: 4724 p = "l_size_t"; 4725 break; 4726 case 2: 4727 p = "l_int"; 4728 break; 4729 default: 4730 break; 4731 }; 4732 break; 4733 /* linux_shmctl */ 4734 case 195: 4735 switch(ndx) { 4736 case 0: 4737 p = "l_int"; 4738 break; 4739 case 1: 4740 p = "l_int"; 4741 break; 4742 case 2: 4743 p = "userland struct l_shmid_ds *"; 4744 break; 4745 default: 4746 break; 4747 }; 4748 break; 4749 /* linux_shmat */ 4750 case 196: 4751 switch(ndx) { 4752 case 0: 4753 p = "l_int"; 4754 break; 4755 case 1: 4756 p = "userland char *"; 4757 break; 4758 case 2: 4759 p = "l_int"; 4760 break; 4761 default: 4762 break; 4763 }; 4764 break; 4765 /* linux_shmdt */ 4766 case 197: 4767 switch(ndx) { 4768 case 0: 4769 p = "userland char *"; 4770 break; 4771 default: 4772 break; 4773 }; 4774 break; 4775 /* linux_socket */ 4776 case 198: 4777 switch(ndx) { 4778 case 0: 4779 p = "l_int"; 4780 break; 4781 case 1: 4782 p = "l_int"; 4783 break; 4784 case 2: 4785 p = "l_int"; 4786 break; 4787 default: 4788 break; 4789 }; 4790 break; 4791 /* linux_socketpair */ 4792 case 199: 4793 switch(ndx) { 4794 case 0: 4795 p = "l_int"; 4796 break; 4797 case 1: 4798 p = "l_int"; 4799 break; 4800 case 2: 4801 p = "l_int"; 4802 break; 4803 case 3: 4804 p = "l_uintptr_t"; 4805 break; 4806 default: 4807 break; 4808 }; 4809 break; 4810 /* linux_bind */ 4811 case 200: 4812 switch(ndx) { 4813 case 0: 4814 p = "l_int"; 4815 break; 4816 case 1: 4817 p = "l_uintptr_t"; 4818 break; 4819 case 2: 4820 p = "l_int"; 4821 break; 4822 default: 4823 break; 4824 }; 4825 break; 4826 /* linux_listen */ 4827 case 201: 4828 switch(ndx) { 4829 case 0: 4830 p = "l_int"; 4831 break; 4832 case 1: 4833 p = "l_int"; 4834 break; 4835 default: 4836 break; 4837 }; 4838 break; 4839 /* linux_accept */ 4840 case 202: 4841 switch(ndx) { 4842 case 0: 4843 p = "l_int"; 4844 break; 4845 case 1: 4846 p = "l_uintptr_t"; 4847 break; 4848 case 2: 4849 p = "l_uintptr_t"; 4850 break; 4851 default: 4852 break; 4853 }; 4854 break; 4855 /* linux_connect */ 4856 case 203: 4857 switch(ndx) { 4858 case 0: 4859 p = "l_int"; 4860 break; 4861 case 1: 4862 p = "l_uintptr_t"; 4863 break; 4864 case 2: 4865 p = "l_int"; 4866 break; 4867 default: 4868 break; 4869 }; 4870 break; 4871 /* linux_getsockname */ 4872 case 204: 4873 switch(ndx) { 4874 case 0: 4875 p = "l_int"; 4876 break; 4877 case 1: 4878 p = "l_uintptr_t"; 4879 break; 4880 case 2: 4881 p = "l_uintptr_t"; 4882 break; 4883 default: 4884 break; 4885 }; 4886 break; 4887 /* linux_getpeername */ 4888 case 205: 4889 switch(ndx) { 4890 case 0: 4891 p = "l_int"; 4892 break; 4893 case 1: 4894 p = "l_uintptr_t"; 4895 break; 4896 case 2: 4897 p = "l_uintptr_t"; 4898 break; 4899 default: 4900 break; 4901 }; 4902 break; 4903 /* linux_sendto */ 4904 case 206: 4905 switch(ndx) { 4906 case 0: 4907 p = "l_int"; 4908 break; 4909 case 1: 4910 p = "l_uintptr_t"; 4911 break; 4912 case 2: 4913 p = "l_size_t"; 4914 break; 4915 case 3: 4916 p = "l_uint"; 4917 break; 4918 case 4: 4919 p = "l_uintptr_t"; 4920 break; 4921 case 5: 4922 p = "l_int"; 4923 break; 4924 default: 4925 break; 4926 }; 4927 break; 4928 /* linux_recvfrom */ 4929 case 207: 4930 switch(ndx) { 4931 case 0: 4932 p = "l_int"; 4933 break; 4934 case 1: 4935 p = "l_uintptr_t"; 4936 break; 4937 case 2: 4938 p = "l_size_t"; 4939 break; 4940 case 3: 4941 p = "l_uint"; 4942 break; 4943 case 4: 4944 p = "l_uintptr_t"; 4945 break; 4946 case 5: 4947 p = "l_uintptr_t"; 4948 break; 4949 default: 4950 break; 4951 }; 4952 break; 4953 /* linux_setsockopt */ 4954 case 208: 4955 switch(ndx) { 4956 case 0: 4957 p = "l_int"; 4958 break; 4959 case 1: 4960 p = "l_int"; 4961 break; 4962 case 2: 4963 p = "l_int"; 4964 break; 4965 case 3: 4966 p = "l_uintptr_t"; 4967 break; 4968 case 4: 4969 p = "l_int"; 4970 break; 4971 default: 4972 break; 4973 }; 4974 break; 4975 /* linux_getsockopt */ 4976 case 209: 4977 switch(ndx) { 4978 case 0: 4979 p = "l_int"; 4980 break; 4981 case 1: 4982 p = "l_int"; 4983 break; 4984 case 2: 4985 p = "l_int"; 4986 break; 4987 case 3: 4988 p = "l_uintptr_t"; 4989 break; 4990 case 4: 4991 p = "l_uintptr_t"; 4992 break; 4993 default: 4994 break; 4995 }; 4996 break; 4997 /* linux_shutdown */ 4998 case 210: 4999 switch(ndx) { 5000 case 0: 5001 p = "l_int"; 5002 break; 5003 case 1: 5004 p = "l_int"; 5005 break; 5006 default: 5007 break; 5008 }; 5009 break; 5010 /* linux_sendmsg */ 5011 case 211: 5012 switch(ndx) { 5013 case 0: 5014 p = "l_int"; 5015 break; 5016 case 1: 5017 p = "l_uintptr_t"; 5018 break; 5019 case 2: 5020 p = "l_uint"; 5021 break; 5022 default: 5023 break; 5024 }; 5025 break; 5026 /* linux_recvmsg */ 5027 case 212: 5028 switch(ndx) { 5029 case 0: 5030 p = "l_int"; 5031 break; 5032 case 1: 5033 p = "l_uintptr_t"; 5034 break; 5035 case 2: 5036 p = "l_uint"; 5037 break; 5038 default: 5039 break; 5040 }; 5041 break; 5042 /* linux_brk */ 5043 case 214: 5044 switch(ndx) { 5045 case 0: 5046 p = "l_ulong"; 5047 break; 5048 default: 5049 break; 5050 }; 5051 break; 5052 /* munmap */ 5053 case 215: 5054 switch(ndx) { 5055 case 0: 5056 p = "userland void *"; 5057 break; 5058 case 1: 5059 p = "l_size_t"; 5060 break; 5061 default: 5062 break; 5063 }; 5064 break; 5065 /* linux_mremap */ 5066 case 216: 5067 switch(ndx) { 5068 case 0: 5069 p = "l_ulong"; 5070 break; 5071 case 1: 5072 p = "l_ulong"; 5073 break; 5074 case 2: 5075 p = "l_ulong"; 5076 break; 5077 case 3: 5078 p = "l_ulong"; 5079 break; 5080 case 4: 5081 p = "l_ulong"; 5082 break; 5083 default: 5084 break; 5085 }; 5086 break; 5087 /* linux_add_key */ 5088 case 217: 5089 break; 5090 /* linux_request_key */ 5091 case 218: 5092 break; 5093 /* linux_keyctl */ 5094 case 219: 5095 break; 5096 /* linux_clone */ 5097 case 220: 5098 switch(ndx) { 5099 case 0: 5100 p = "l_ulong"; 5101 break; 5102 case 1: 5103 p = "userland void *"; 5104 break; 5105 case 2: 5106 p = "userland void *"; 5107 break; 5108 case 3: 5109 p = "userland void *"; 5110 break; 5111 case 4: 5112 p = "userland void *"; 5113 break; 5114 default: 5115 break; 5116 }; 5117 break; 5118 /* linux_execve */ 5119 case 221: 5120 switch(ndx) { 5121 case 0: 5122 p = "userland char *"; 5123 break; 5124 case 1: 5125 p = "userland char **"; 5126 break; 5127 case 2: 5128 p = "userland char **"; 5129 break; 5130 default: 5131 break; 5132 }; 5133 break; 5134 /* linux_mmap2 */ 5135 case 222: 5136 switch(ndx) { 5137 case 0: 5138 p = "l_ulong"; 5139 break; 5140 case 1: 5141 p = "l_ulong"; 5142 break; 5143 case 2: 5144 p = "l_ulong"; 5145 break; 5146 case 3: 5147 p = "l_ulong"; 5148 break; 5149 case 4: 5150 p = "l_ulong"; 5151 break; 5152 case 5: 5153 p = "l_ulong"; 5154 break; 5155 default: 5156 break; 5157 }; 5158 break; 5159 /* linux_fadvise64 */ 5160 case 223: 5161 switch(ndx) { 5162 case 0: 5163 p = "l_int"; 5164 break; 5165 case 1: 5166 p = "l_loff_t"; 5167 break; 5168 case 2: 5169 p = "l_size_t"; 5170 break; 5171 case 3: 5172 p = "l_int"; 5173 break; 5174 default: 5175 break; 5176 }; 5177 break; 5178 /* swapon */ 5179 case 224: 5180 switch(ndx) { 5181 case 0: 5182 p = "userland char *"; 5183 break; 5184 default: 5185 break; 5186 }; 5187 break; 5188 /* linux_swapoff */ 5189 case 225: 5190 break; 5191 /* linux_mprotect */ 5192 case 226: 5193 switch(ndx) { 5194 case 0: 5195 p = "l_ulong"; 5196 break; 5197 case 1: 5198 p = "l_size_t"; 5199 break; 5200 case 2: 5201 p = "l_ulong"; 5202 break; 5203 default: 5204 break; 5205 }; 5206 break; 5207 /* linux_msync */ 5208 case 227: 5209 switch(ndx) { 5210 case 0: 5211 p = "l_ulong"; 5212 break; 5213 case 1: 5214 p = "l_size_t"; 5215 break; 5216 case 2: 5217 p = "l_int"; 5218 break; 5219 default: 5220 break; 5221 }; 5222 break; 5223 /* mlock */ 5224 case 228: 5225 switch(ndx) { 5226 case 0: 5227 p = "userland const void *"; 5228 break; 5229 case 1: 5230 p = "size_t"; 5231 break; 5232 default: 5233 break; 5234 }; 5235 break; 5236 /* munlock */ 5237 case 229: 5238 switch(ndx) { 5239 case 0: 5240 p = "userland const void *"; 5241 break; 5242 case 1: 5243 p = "size_t"; 5244 break; 5245 default: 5246 break; 5247 }; 5248 break; 5249 /* mlockall */ 5250 case 230: 5251 switch(ndx) { 5252 case 0: 5253 p = "int"; 5254 break; 5255 default: 5256 break; 5257 }; 5258 break; 5259 /* munlockall */ 5260 case 231: 5261 break; 5262 /* linux_mincore */ 5263 case 232: 5264 switch(ndx) { 5265 case 0: 5266 p = "l_ulong"; 5267 break; 5268 case 1: 5269 p = "l_size_t"; 5270 break; 5271 case 2: 5272 p = "userland u_char *"; 5273 break; 5274 default: 5275 break; 5276 }; 5277 break; 5278 /* linux_madvise */ 5279 case 233: 5280 switch(ndx) { 5281 case 0: 5282 p = "l_ulong"; 5283 break; 5284 case 1: 5285 p = "l_size_t"; 5286 break; 5287 case 2: 5288 p = "l_int"; 5289 break; 5290 default: 5291 break; 5292 }; 5293 break; 5294 /* linux_remap_file_pages */ 5295 case 234: 5296 break; 5297 /* linux_mbind */ 5298 case 235: 5299 break; 5300 /* linux_get_mempolicy */ 5301 case 236: 5302 break; 5303 /* linux_set_mempolicy */ 5304 case 237: 5305 break; 5306 /* linux_migrate_pages */ 5307 case 238: 5308 break; 5309 /* linux_move_pages */ 5310 case 239: 5311 break; 5312 /* linux_rt_tgsigqueueinfo */ 5313 case 240: 5314 switch(ndx) { 5315 case 0: 5316 p = "l_pid_t"; 5317 break; 5318 case 1: 5319 p = "l_pid_t"; 5320 break; 5321 case 2: 5322 p = "l_int"; 5323 break; 5324 case 3: 5325 p = "userland l_siginfo_t *"; 5326 break; 5327 default: 5328 break; 5329 }; 5330 break; 5331 /* linux_perf_event_open */ 5332 case 241: 5333 break; 5334 /* linux_accept4 */ 5335 case 242: 5336 switch(ndx) { 5337 case 0: 5338 p = "l_int"; 5339 break; 5340 case 1: 5341 p = "l_uintptr_t"; 5342 break; 5343 case 2: 5344 p = "l_uintptr_t"; 5345 break; 5346 case 3: 5347 p = "l_int"; 5348 break; 5349 default: 5350 break; 5351 }; 5352 break; 5353 /* linux_recvmmsg */ 5354 case 243: 5355 switch(ndx) { 5356 case 0: 5357 p = "l_int"; 5358 break; 5359 case 1: 5360 p = "userland struct l_mmsghdr *"; 5361 break; 5362 case 2: 5363 p = "l_uint"; 5364 break; 5365 case 3: 5366 p = "l_uint"; 5367 break; 5368 case 4: 5369 p = "userland struct l_timespec *"; 5370 break; 5371 default: 5372 break; 5373 }; 5374 break; 5375 /* linux_wait4 */ 5376 case 260: 5377 switch(ndx) { 5378 case 0: 5379 p = "l_pid_t"; 5380 break; 5381 case 1: 5382 p = "userland l_int *"; 5383 break; 5384 case 2: 5385 p = "l_int"; 5386 break; 5387 case 3: 5388 p = "userland struct rusage *"; 5389 break; 5390 default: 5391 break; 5392 }; 5393 break; 5394 /* linux_prlimit64 */ 5395 case 261: 5396 switch(ndx) { 5397 case 0: 5398 p = "l_pid_t"; 5399 break; 5400 case 1: 5401 p = "l_uint"; 5402 break; 5403 case 2: 5404 p = "userland struct rlimit *"; 5405 break; 5406 case 3: 5407 p = "userland struct rlimit *"; 5408 break; 5409 default: 5410 break; 5411 }; 5412 break; 5413 /* linux_fanotify_init */ 5414 case 262: 5415 break; 5416 /* linux_fanotify_mark */ 5417 case 263: 5418 break; 5419 /* linux_name_to_handle_at */ 5420 case 264: 5421 switch(ndx) { 5422 case 0: 5423 p = "l_int"; 5424 break; 5425 case 1: 5426 p = "userland const char *"; 5427 break; 5428 case 2: 5429 p = "userland struct l_file_handle *"; 5430 break; 5431 case 3: 5432 p = "userland l_int *"; 5433 break; 5434 case 4: 5435 p = "l_int"; 5436 break; 5437 default: 5438 break; 5439 }; 5440 break; 5441 /* linux_open_by_handle_at */ 5442 case 265: 5443 switch(ndx) { 5444 case 0: 5445 p = "l_int"; 5446 break; 5447 case 1: 5448 p = "userland struct l_file_handle *"; 5449 break; 5450 case 2: 5451 p = "l_int"; 5452 break; 5453 default: 5454 break; 5455 }; 5456 break; 5457 /* linux_clock_adjtime */ 5458 case 266: 5459 break; 5460 /* linux_syncfs */ 5461 case 267: 5462 switch(ndx) { 5463 case 0: 5464 p = "l_int"; 5465 break; 5466 default: 5467 break; 5468 }; 5469 break; 5470 /* linux_setns */ 5471 case 268: 5472 switch(ndx) { 5473 case 0: 5474 p = "l_int"; 5475 break; 5476 case 1: 5477 p = "l_int"; 5478 break; 5479 default: 5480 break; 5481 }; 5482 break; 5483 /* linux_sendmmsg */ 5484 case 269: 5485 switch(ndx) { 5486 case 0: 5487 p = "l_int"; 5488 break; 5489 case 1: 5490 p = "userland struct l_mmsghdr *"; 5491 break; 5492 case 2: 5493 p = "l_uint"; 5494 break; 5495 case 3: 5496 p = "l_uint"; 5497 break; 5498 default: 5499 break; 5500 }; 5501 break; 5502 /* linux_process_vm_readv */ 5503 case 270: 5504 switch(ndx) { 5505 case 0: 5506 p = "l_pid_t"; 5507 break; 5508 case 1: 5509 p = "userland const struct iovec *"; 5510 break; 5511 case 2: 5512 p = "l_ulong"; 5513 break; 5514 case 3: 5515 p = "userland const struct iovec *"; 5516 break; 5517 case 4: 5518 p = "l_ulong"; 5519 break; 5520 case 5: 5521 p = "l_ulong"; 5522 break; 5523 default: 5524 break; 5525 }; 5526 break; 5527 /* linux_process_vm_writev */ 5528 case 271: 5529 switch(ndx) { 5530 case 0: 5531 p = "l_pid_t"; 5532 break; 5533 case 1: 5534 p = "userland const struct iovec *"; 5535 break; 5536 case 2: 5537 p = "l_ulong"; 5538 break; 5539 case 3: 5540 p = "userland const struct iovec *"; 5541 break; 5542 case 4: 5543 p = "l_ulong"; 5544 break; 5545 case 5: 5546 p = "l_ulong"; 5547 break; 5548 default: 5549 break; 5550 }; 5551 break; 5552 /* linux_kcmp */ 5553 case 272: 5554 switch(ndx) { 5555 case 0: 5556 p = "l_pid_t"; 5557 break; 5558 case 1: 5559 p = "l_pid_t"; 5560 break; 5561 case 2: 5562 p = "l_int"; 5563 break; 5564 case 3: 5565 p = "l_ulong"; 5566 break; 5567 case 4: 5568 p = "l_ulong"; 5569 break; 5570 default: 5571 break; 5572 }; 5573 break; 5574 /* linux_finit_module */ 5575 case 273: 5576 switch(ndx) { 5577 case 0: 5578 p = "l_int"; 5579 break; 5580 case 1: 5581 p = "userland const char *"; 5582 break; 5583 case 2: 5584 p = "l_int"; 5585 break; 5586 default: 5587 break; 5588 }; 5589 break; 5590 /* linux_sched_setattr */ 5591 case 274: 5592 switch(ndx) { 5593 case 0: 5594 p = "l_pid_t"; 5595 break; 5596 case 1: 5597 p = "userland void *"; 5598 break; 5599 case 2: 5600 p = "l_uint"; 5601 break; 5602 default: 5603 break; 5604 }; 5605 break; 5606 /* linux_sched_getattr */ 5607 case 275: 5608 switch(ndx) { 5609 case 0: 5610 p = "l_pid_t"; 5611 break; 5612 case 1: 5613 p = "userland void *"; 5614 break; 5615 case 2: 5616 p = "l_uint"; 5617 break; 5618 case 3: 5619 p = "l_uint"; 5620 break; 5621 default: 5622 break; 5623 }; 5624 break; 5625 /* linux_renameat2 */ 5626 case 276: 5627 switch(ndx) { 5628 case 0: 5629 p = "l_int"; 5630 break; 5631 case 1: 5632 p = "userland const char *"; 5633 break; 5634 case 2: 5635 p = "l_int"; 5636 break; 5637 case 3: 5638 p = "userland const char *"; 5639 break; 5640 case 4: 5641 p = "l_uint"; 5642 break; 5643 default: 5644 break; 5645 }; 5646 break; 5647 /* linux_seccomp */ 5648 case 277: 5649 switch(ndx) { 5650 case 0: 5651 p = "l_uint"; 5652 break; 5653 case 1: 5654 p = "l_uint"; 5655 break; 5656 case 2: 5657 p = "userland const char *"; 5658 break; 5659 default: 5660 break; 5661 }; 5662 break; 5663 /* linux_getrandom */ 5664 case 278: 5665 switch(ndx) { 5666 case 0: 5667 p = "userland char *"; 5668 break; 5669 case 1: 5670 p = "l_size_t"; 5671 break; 5672 case 2: 5673 p = "l_uint"; 5674 break; 5675 default: 5676 break; 5677 }; 5678 break; 5679 /* linux_memfd_create */ 5680 case 279: 5681 switch(ndx) { 5682 case 0: 5683 p = "userland const char *"; 5684 break; 5685 case 1: 5686 p = "l_uint"; 5687 break; 5688 default: 5689 break; 5690 }; 5691 break; 5692 /* linux_bpf */ 5693 case 280: 5694 switch(ndx) { 5695 case 0: 5696 p = "l_int"; 5697 break; 5698 case 1: 5699 p = "userland void *"; 5700 break; 5701 case 2: 5702 p = "l_uint"; 5703 break; 5704 default: 5705 break; 5706 }; 5707 break; 5708 /* linux_execveat */ 5709 case 281: 5710 switch(ndx) { 5711 case 0: 5712 p = "l_int"; 5713 break; 5714 case 1: 5715 p = "userland const char *"; 5716 break; 5717 case 2: 5718 p = "userland const char **"; 5719 break; 5720 case 3: 5721 p = "userland const char **"; 5722 break; 5723 case 4: 5724 p = "l_int"; 5725 break; 5726 default: 5727 break; 5728 }; 5729 break; 5730 /* linux_userfaultfd */ 5731 case 282: 5732 switch(ndx) { 5733 case 0: 5734 p = "l_int"; 5735 break; 5736 default: 5737 break; 5738 }; 5739 break; 5740 /* linux_membarrier */ 5741 case 283: 5742 switch(ndx) { 5743 case 0: 5744 p = "l_int"; 5745 break; 5746 case 1: 5747 p = "l_int"; 5748 break; 5749 default: 5750 break; 5751 }; 5752 break; 5753 /* linux_mlock2 */ 5754 case 284: 5755 switch(ndx) { 5756 case 0: 5757 p = "l_ulong"; 5758 break; 5759 case 1: 5760 p = "l_size_t"; 5761 break; 5762 case 2: 5763 p = "l_int"; 5764 break; 5765 default: 5766 break; 5767 }; 5768 break; 5769 /* linux_copy_file_range */ 5770 case 285: 5771 switch(ndx) { 5772 case 0: 5773 p = "l_int"; 5774 break; 5775 case 1: 5776 p = "userland l_loff_t *"; 5777 break; 5778 case 2: 5779 p = "l_int"; 5780 break; 5781 case 3: 5782 p = "userland l_loff_t *"; 5783 break; 5784 case 4: 5785 p = "l_size_t"; 5786 break; 5787 case 5: 5788 p = "l_uint"; 5789 break; 5790 default: 5791 break; 5792 }; 5793 break; 5794 /* linux_preadv2 */ 5795 case 286: 5796 switch(ndx) { 5797 case 0: 5798 p = "l_ulong"; 5799 break; 5800 case 1: 5801 p = "userland const struct iovec *"; 5802 break; 5803 case 2: 5804 p = "l_ulong"; 5805 break; 5806 case 3: 5807 p = "l_ulong"; 5808 break; 5809 case 4: 5810 p = "l_ulong"; 5811 break; 5812 case 5: 5813 p = "l_int"; 5814 break; 5815 default: 5816 break; 5817 }; 5818 break; 5819 /* linux_pwritev2 */ 5820 case 287: 5821 switch(ndx) { 5822 case 0: 5823 p = "l_ulong"; 5824 break; 5825 case 1: 5826 p = "userland const struct iovec *"; 5827 break; 5828 case 2: 5829 p = "l_ulong"; 5830 break; 5831 case 3: 5832 p = "l_ulong"; 5833 break; 5834 case 4: 5835 p = "l_ulong"; 5836 break; 5837 case 5: 5838 p = "l_int"; 5839 break; 5840 default: 5841 break; 5842 }; 5843 break; 5844 /* linux_pkey_mprotect */ 5845 case 288: 5846 switch(ndx) { 5847 case 0: 5848 p = "l_ulong"; 5849 break; 5850 case 1: 5851 p = "l_size_t"; 5852 break; 5853 case 2: 5854 p = "l_ulong"; 5855 break; 5856 case 3: 5857 p = "l_int"; 5858 break; 5859 default: 5860 break; 5861 }; 5862 break; 5863 /* linux_pkey_alloc */ 5864 case 289: 5865 switch(ndx) { 5866 case 0: 5867 p = "l_ulong"; 5868 break; 5869 case 1: 5870 p = "l_ulong"; 5871 break; 5872 default: 5873 break; 5874 }; 5875 break; 5876 /* linux_pkey_free */ 5877 case 290: 5878 switch(ndx) { 5879 case 0: 5880 p = "l_int"; 5881 break; 5882 default: 5883 break; 5884 }; 5885 break; 5886 default: 5887 break; 5888 }; 5889 if (p != NULL) 5890 strlcpy(desc, p, descsz); 5891 } 5892 static void 5893 systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5894 { 5895 const char *p = NULL; 5896 switch (sysnum) { 5897 #define nosys linux_nosys 5898 /* linux_setxattr */ 5899 case 5: 5900 if (ndx == 0 || ndx == 1) 5901 p = "int"; 5902 break; 5903 /* linux_lsetxattr */ 5904 case 6: 5905 if (ndx == 0 || ndx == 1) 5906 p = "int"; 5907 break; 5908 /* linux_fsetxattr */ 5909 case 7: 5910 if (ndx == 0 || ndx == 1) 5911 p = "int"; 5912 break; 5913 /* linux_getxattr */ 5914 case 8: 5915 if (ndx == 0 || ndx == 1) 5916 p = "int"; 5917 break; 5918 /* linux_lgetxattr */ 5919 case 9: 5920 if (ndx == 0 || ndx == 1) 5921 p = "int"; 5922 break; 5923 /* linux_fgetxattr */ 5924 case 10: 5925 if (ndx == 0 || ndx == 1) 5926 p = "int"; 5927 break; 5928 /* linux_listxattr */ 5929 case 11: 5930 if (ndx == 0 || ndx == 1) 5931 p = "int"; 5932 break; 5933 /* linux_llistxattr */ 5934 case 12: 5935 if (ndx == 0 || ndx == 1) 5936 p = "int"; 5937 break; 5938 /* linux_flistxattr */ 5939 case 13: 5940 if (ndx == 0 || ndx == 1) 5941 p = "int"; 5942 break; 5943 /* linux_removexattr */ 5944 case 14: 5945 if (ndx == 0 || ndx == 1) 5946 p = "int"; 5947 break; 5948 /* linux_lremovexattr */ 5949 case 15: 5950 if (ndx == 0 || ndx == 1) 5951 p = "int"; 5952 break; 5953 /* linux_fremovexattr */ 5954 case 16: 5955 if (ndx == 0 || ndx == 1) 5956 p = "int"; 5957 break; 5958 /* linux_getcwd */ 5959 case 17: 5960 if (ndx == 0 || ndx == 1) 5961 p = "int"; 5962 break; 5963 /* linux_lookup_dcookie */ 5964 case 18: 5965 /* linux_eventfd2 */ 5966 case 19: 5967 if (ndx == 0 || ndx == 1) 5968 p = "int"; 5969 break; 5970 /* linux_epoll_create1 */ 5971 case 20: 5972 if (ndx == 0 || ndx == 1) 5973 p = "int"; 5974 break; 5975 /* linux_epoll_ctl */ 5976 case 21: 5977 if (ndx == 0 || ndx == 1) 5978 p = "int"; 5979 break; 5980 /* linux_epoll_pwait */ 5981 case 22: 5982 if (ndx == 0 || ndx == 1) 5983 p = "int"; 5984 break; 5985 /* dup */ 5986 case 23: 5987 if (ndx == 0 || ndx == 1) 5988 p = "int"; 5989 break; 5990 /* linux_dup3 */ 5991 case 24: 5992 if (ndx == 0 || ndx == 1) 5993 p = "int"; 5994 break; 5995 /* linux_fcntl */ 5996 case 25: 5997 if (ndx == 0 || ndx == 1) 5998 p = "int"; 5999 break; 6000 /* linux_inotify_init1 */ 6001 case 26: 6002 if (ndx == 0 || ndx == 1) 6003 p = "int"; 6004 break; 6005 /* linux_inotify_add_watch */ 6006 case 27: 6007 /* linux_inotify_rm_watch */ 6008 case 28: 6009 /* linux_ioctl */ 6010 case 29: 6011 if (ndx == 0 || ndx == 1) 6012 p = "int"; 6013 break; 6014 /* linux_ioprio_set */ 6015 case 30: 6016 /* linux_ioprio_get */ 6017 case 31: 6018 /* flock */ 6019 case 32: 6020 if (ndx == 0 || ndx == 1) 6021 p = "int"; 6022 break; 6023 /* linux_mknodat */ 6024 case 33: 6025 if (ndx == 0 || ndx == 1) 6026 p = "int"; 6027 break; 6028 /* linux_mkdirat */ 6029 case 34: 6030 if (ndx == 0 || ndx == 1) 6031 p = "int"; 6032 break; 6033 /* linux_unlinkat */ 6034 case 35: 6035 if (ndx == 0 || ndx == 1) 6036 p = "int"; 6037 break; 6038 /* linux_symlinkat */ 6039 case 36: 6040 if (ndx == 0 || ndx == 1) 6041 p = "int"; 6042 break; 6043 /* linux_linkat */ 6044 case 37: 6045 if (ndx == 0 || ndx == 1) 6046 p = "int"; 6047 break; 6048 /* linux_renameat */ 6049 case 38: 6050 if (ndx == 0 || ndx == 1) 6051 p = "int"; 6052 break; 6053 /* linux_mount */ 6054 case 40: 6055 if (ndx == 0 || ndx == 1) 6056 p = "int"; 6057 break; 6058 /* linux_pivot_root */ 6059 case 41: 6060 /* linux_statfs */ 6061 case 43: 6062 if (ndx == 0 || ndx == 1) 6063 p = "int"; 6064 break; 6065 /* linux_fstatfs */ 6066 case 44: 6067 if (ndx == 0 || ndx == 1) 6068 p = "int"; 6069 break; 6070 /* linux_truncate */ 6071 case 45: 6072 if (ndx == 0 || ndx == 1) 6073 p = "int"; 6074 break; 6075 /* linux_ftruncate */ 6076 case 46: 6077 if (ndx == 0 || ndx == 1) 6078 p = "int"; 6079 break; 6080 /* linux_fallocate */ 6081 case 47: 6082 if (ndx == 0 || ndx == 1) 6083 p = "int"; 6084 break; 6085 /* linux_faccessat */ 6086 case 48: 6087 if (ndx == 0 || ndx == 1) 6088 p = "int"; 6089 break; 6090 /* linux_chdir */ 6091 case 49: 6092 if (ndx == 0 || ndx == 1) 6093 p = "int"; 6094 break; 6095 /* fchdir */ 6096 case 50: 6097 if (ndx == 0 || ndx == 1) 6098 p = "int"; 6099 break; 6100 /* chroot */ 6101 case 51: 6102 if (ndx == 0 || ndx == 1) 6103 p = "int"; 6104 break; 6105 /* fchmod */ 6106 case 52: 6107 if (ndx == 0 || ndx == 1) 6108 p = "int"; 6109 break; 6110 /* linux_fchmodat */ 6111 case 53: 6112 if (ndx == 0 || ndx == 1) 6113 p = "int"; 6114 break; 6115 /* linux_fchownat */ 6116 case 54: 6117 if (ndx == 0 || ndx == 1) 6118 p = "int"; 6119 break; 6120 /* fchown */ 6121 case 55: 6122 if (ndx == 0 || ndx == 1) 6123 p = "int"; 6124 break; 6125 /* linux_openat */ 6126 case 56: 6127 if (ndx == 0 || ndx == 1) 6128 p = "int"; 6129 break; 6130 /* close */ 6131 case 57: 6132 if (ndx == 0 || ndx == 1) 6133 p = "int"; 6134 break; 6135 /* linux_vhangup */ 6136 case 58: 6137 /* linux_pipe2 */ 6138 case 59: 6139 if (ndx == 0 || ndx == 1) 6140 p = "int"; 6141 break; 6142 /* linux_getdents64 */ 6143 case 61: 6144 if (ndx == 0 || ndx == 1) 6145 p = "int"; 6146 break; 6147 /* linux_lseek */ 6148 case 62: 6149 if (ndx == 0 || ndx == 1) 6150 p = "int"; 6151 break; 6152 /* read */ 6153 case 63: 6154 if (ndx == 0 || ndx == 1) 6155 p = "int"; 6156 break; 6157 /* write */ 6158 case 64: 6159 if (ndx == 0 || ndx == 1) 6160 p = "int"; 6161 break; 6162 /* readv */ 6163 case 65: 6164 if (ndx == 0 || ndx == 1) 6165 p = "int"; 6166 break; 6167 /* writev */ 6168 case 66: 6169 if (ndx == 0 || ndx == 1) 6170 p = "int"; 6171 break; 6172 /* linux_pread */ 6173 case 67: 6174 if (ndx == 0 || ndx == 1) 6175 p = "int"; 6176 break; 6177 /* linux_pwrite */ 6178 case 68: 6179 if (ndx == 0 || ndx == 1) 6180 p = "int"; 6181 break; 6182 /* linux_preadv */ 6183 case 69: 6184 if (ndx == 0 || ndx == 1) 6185 p = "int"; 6186 break; 6187 /* linux_pwritev */ 6188 case 70: 6189 if (ndx == 0 || ndx == 1) 6190 p = "int"; 6191 break; 6192 /* linux_sendfile */ 6193 case 71: 6194 if (ndx == 0 || ndx == 1) 6195 p = "int"; 6196 break; 6197 /* linux_pselect6 */ 6198 case 72: 6199 if (ndx == 0 || ndx == 1) 6200 p = "int"; 6201 break; 6202 /* linux_ppoll */ 6203 case 73: 6204 if (ndx == 0 || ndx == 1) 6205 p = "int"; 6206 break; 6207 /* linux_signalfd4 */ 6208 case 74: 6209 /* linux_vmsplice */ 6210 case 75: 6211 /* linux_splice */ 6212 case 76: 6213 if (ndx == 0 || ndx == 1) 6214 p = "int"; 6215 break; 6216 /* linux_tee */ 6217 case 77: 6218 /* linux_readlinkat */ 6219 case 78: 6220 if (ndx == 0 || ndx == 1) 6221 p = "int"; 6222 break; 6223 /* linux_newfstatat */ 6224 case 79: 6225 if (ndx == 0 || ndx == 1) 6226 p = "int"; 6227 break; 6228 /* linux_newfstat */ 6229 case 80: 6230 if (ndx == 0 || ndx == 1) 6231 p = "int"; 6232 break; 6233 /* fsync */ 6234 case 82: 6235 if (ndx == 0 || ndx == 1) 6236 p = "int"; 6237 break; 6238 /* linux_fdatasync */ 6239 case 83: 6240 if (ndx == 0 || ndx == 1) 6241 p = "int"; 6242 break; 6243 /* linux_sync_file_range */ 6244 case 84: 6245 if (ndx == 0 || ndx == 1) 6246 p = "int"; 6247 break; 6248 /* linux_timerfd_create */ 6249 case 85: 6250 if (ndx == 0 || ndx == 1) 6251 p = "int"; 6252 break; 6253 /* linux_timerfd_settime */ 6254 case 86: 6255 if (ndx == 0 || ndx == 1) 6256 p = "int"; 6257 break; 6258 /* linux_timerfd_gettime */ 6259 case 87: 6260 if (ndx == 0 || ndx == 1) 6261 p = "int"; 6262 break; 6263 /* linux_utimensat */ 6264 case 88: 6265 if (ndx == 0 || ndx == 1) 6266 p = "int"; 6267 break; 6268 /* acct */ 6269 case 89: 6270 if (ndx == 0 || ndx == 1) 6271 p = "int"; 6272 break; 6273 /* linux_capget */ 6274 case 90: 6275 if (ndx == 0 || ndx == 1) 6276 p = "int"; 6277 break; 6278 /* linux_capset */ 6279 case 91: 6280 if (ndx == 0 || ndx == 1) 6281 p = "int"; 6282 break; 6283 /* linux_personality */ 6284 case 92: 6285 if (ndx == 0 || ndx == 1) 6286 p = "int"; 6287 break; 6288 /* linux_exit */ 6289 case 93: 6290 if (ndx == 0 || ndx == 1) 6291 p = "int"; 6292 break; 6293 /* linux_exit_group */ 6294 case 94: 6295 if (ndx == 0 || ndx == 1) 6296 p = "int"; 6297 break; 6298 /* linux_waitid */ 6299 case 95: 6300 if (ndx == 0 || ndx == 1) 6301 p = "int"; 6302 break; 6303 /* linux_set_tid_address */ 6304 case 96: 6305 if (ndx == 0 || ndx == 1) 6306 p = "int"; 6307 break; 6308 /* linux_unshare */ 6309 case 97: 6310 /* linux_sys_futex */ 6311 case 98: 6312 if (ndx == 0 || ndx == 1) 6313 p = "int"; 6314 break; 6315 /* linux_set_robust_list */ 6316 case 99: 6317 if (ndx == 0 || ndx == 1) 6318 p = "int"; 6319 break; 6320 /* linux_get_robust_list */ 6321 case 100: 6322 if (ndx == 0 || ndx == 1) 6323 p = "int"; 6324 break; 6325 /* linux_nanosleep */ 6326 case 101: 6327 if (ndx == 0 || ndx == 1) 6328 p = "int"; 6329 break; 6330 /* linux_getitimer */ 6331 case 102: 6332 if (ndx == 0 || ndx == 1) 6333 p = "int"; 6334 break; 6335 /* linux_setitimer */ 6336 case 103: 6337 if (ndx == 0 || ndx == 1) 6338 p = "int"; 6339 break; 6340 /* linux_kexec_load */ 6341 case 104: 6342 /* linux_init_module */ 6343 case 105: 6344 /* linux_delete_module */ 6345 case 106: 6346 /* linux_timer_create */ 6347 case 107: 6348 if (ndx == 0 || ndx == 1) 6349 p = "int"; 6350 break; 6351 /* linux_timer_gettime */ 6352 case 108: 6353 if (ndx == 0 || ndx == 1) 6354 p = "int"; 6355 break; 6356 /* linux_timer_getoverrun */ 6357 case 109: 6358 if (ndx == 0 || ndx == 1) 6359 p = "int"; 6360 break; 6361 /* linux_timer_settime */ 6362 case 110: 6363 if (ndx == 0 || ndx == 1) 6364 p = "int"; 6365 break; 6366 /* linux_timer_delete */ 6367 case 111: 6368 if (ndx == 0 || ndx == 1) 6369 p = "int"; 6370 break; 6371 /* linux_clock_settime */ 6372 case 112: 6373 if (ndx == 0 || ndx == 1) 6374 p = "int"; 6375 break; 6376 /* linux_clock_gettime */ 6377 case 113: 6378 if (ndx == 0 || ndx == 1) 6379 p = "int"; 6380 break; 6381 /* linux_clock_getres */ 6382 case 114: 6383 if (ndx == 0 || ndx == 1) 6384 p = "int"; 6385 break; 6386 /* linux_clock_nanosleep */ 6387 case 115: 6388 if (ndx == 0 || ndx == 1) 6389 p = "int"; 6390 break; 6391 /* linux_syslog */ 6392 case 116: 6393 if (ndx == 0 || ndx == 1) 6394 p = "int"; 6395 break; 6396 /* linux_ptrace */ 6397 case 117: 6398 if (ndx == 0 || ndx == 1) 6399 p = "int"; 6400 break; 6401 /* linux_sched_setparam */ 6402 case 118: 6403 if (ndx == 0 || ndx == 1) 6404 p = "int"; 6405 break; 6406 /* linux_sched_setscheduler */ 6407 case 119: 6408 if (ndx == 0 || ndx == 1) 6409 p = "int"; 6410 break; 6411 /* linux_sched_getscheduler */ 6412 case 120: 6413 if (ndx == 0 || ndx == 1) 6414 p = "int"; 6415 break; 6416 /* linux_sched_getparam */ 6417 case 121: 6418 if (ndx == 0 || ndx == 1) 6419 p = "int"; 6420 break; 6421 /* linux_sched_setaffinity */ 6422 case 122: 6423 if (ndx == 0 || ndx == 1) 6424 p = "int"; 6425 break; 6426 /* linux_sched_getaffinity */ 6427 case 123: 6428 if (ndx == 0 || ndx == 1) 6429 p = "int"; 6430 break; 6431 /* sched_yield */ 6432 case 124: 6433 /* linux_sched_get_priority_max */ 6434 case 125: 6435 if (ndx == 0 || ndx == 1) 6436 p = "int"; 6437 break; 6438 /* linux_sched_get_priority_min */ 6439 case 126: 6440 if (ndx == 0 || ndx == 1) 6441 p = "int"; 6442 break; 6443 /* linux_sched_rr_get_interval */ 6444 case 127: 6445 if (ndx == 0 || ndx == 1) 6446 p = "int"; 6447 break; 6448 /* linux_kill */ 6449 case 129: 6450 if (ndx == 0 || ndx == 1) 6451 p = "int"; 6452 break; 6453 /* linux_tkill */ 6454 case 130: 6455 if (ndx == 0 || ndx == 1) 6456 p = "int"; 6457 break; 6458 /* linux_tgkill */ 6459 case 131: 6460 if (ndx == 0 || ndx == 1) 6461 p = "int"; 6462 break; 6463 /* linux_sigaltstack */ 6464 case 132: 6465 if (ndx == 0 || ndx == 1) 6466 p = "int"; 6467 break; 6468 /* linux_rt_sigsuspend */ 6469 case 133: 6470 if (ndx == 0 || ndx == 1) 6471 p = "int"; 6472 break; 6473 /* linux_rt_sigaction */ 6474 case 134: 6475 if (ndx == 0 || ndx == 1) 6476 p = "int"; 6477 break; 6478 /* linux_rt_sigprocmask */ 6479 case 135: 6480 if (ndx == 0 || ndx == 1) 6481 p = "int"; 6482 break; 6483 /* linux_rt_sigpending */ 6484 case 136: 6485 if (ndx == 0 || ndx == 1) 6486 p = "int"; 6487 break; 6488 /* linux_rt_sigtimedwait */ 6489 case 137: 6490 if (ndx == 0 || ndx == 1) 6491 p = "int"; 6492 break; 6493 /* linux_rt_sigqueueinfo */ 6494 case 138: 6495 if (ndx == 0 || ndx == 1) 6496 p = "int"; 6497 break; 6498 /* linux_rt_sigreturn */ 6499 case 139: 6500 if (ndx == 0 || ndx == 1) 6501 p = "int"; 6502 break; 6503 /* setpriority */ 6504 case 140: 6505 if (ndx == 0 || ndx == 1) 6506 p = "int"; 6507 break; 6508 /* linux_getpriority */ 6509 case 141: 6510 if (ndx == 0 || ndx == 1) 6511 p = "int"; 6512 break; 6513 /* linux_reboot */ 6514 case 142: 6515 if (ndx == 0 || ndx == 1) 6516 p = "int"; 6517 break; 6518 /* setregid */ 6519 case 143: 6520 if (ndx == 0 || ndx == 1) 6521 p = "int"; 6522 break; 6523 /* setgid */ 6524 case 144: 6525 if (ndx == 0 || ndx == 1) 6526 p = "int"; 6527 break; 6528 /* setreuid */ 6529 case 145: 6530 if (ndx == 0 || ndx == 1) 6531 p = "int"; 6532 break; 6533 /* setuid */ 6534 case 146: 6535 if (ndx == 0 || ndx == 1) 6536 p = "int"; 6537 break; 6538 /* setresuid */ 6539 case 147: 6540 if (ndx == 0 || ndx == 1) 6541 p = "int"; 6542 break; 6543 /* getresuid */ 6544 case 148: 6545 if (ndx == 0 || ndx == 1) 6546 p = "int"; 6547 break; 6548 /* setresgid */ 6549 case 149: 6550 if (ndx == 0 || ndx == 1) 6551 p = "int"; 6552 break; 6553 /* getresgid */ 6554 case 150: 6555 if (ndx == 0 || ndx == 1) 6556 p = "int"; 6557 break; 6558 /* linux_setfsuid */ 6559 case 151: 6560 if (ndx == 0 || ndx == 1) 6561 p = "int"; 6562 break; 6563 /* linux_setfsgid */ 6564 case 152: 6565 if (ndx == 0 || ndx == 1) 6566 p = "int"; 6567 break; 6568 /* linux_times */ 6569 case 153: 6570 if (ndx == 0 || ndx == 1) 6571 p = "int"; 6572 break; 6573 /* setpgid */ 6574 case 154: 6575 if (ndx == 0 || ndx == 1) 6576 p = "int"; 6577 break; 6578 /* getpgid */ 6579 case 155: 6580 if (ndx == 0 || ndx == 1) 6581 p = "int"; 6582 break; 6583 /* linux_getsid */ 6584 case 156: 6585 if (ndx == 0 || ndx == 1) 6586 p = "int"; 6587 break; 6588 /* setsid */ 6589 case 157: 6590 /* linux_getgroups */ 6591 case 158: 6592 if (ndx == 0 || ndx == 1) 6593 p = "int"; 6594 break; 6595 /* linux_setgroups */ 6596 case 159: 6597 if (ndx == 0 || ndx == 1) 6598 p = "int"; 6599 break; 6600 /* linux_newuname */ 6601 case 160: 6602 if (ndx == 0 || ndx == 1) 6603 p = "int"; 6604 break; 6605 /* linux_sethostname */ 6606 case 161: 6607 if (ndx == 0 || ndx == 1) 6608 p = "int"; 6609 break; 6610 /* linux_setdomainname */ 6611 case 162: 6612 if (ndx == 0 || ndx == 1) 6613 p = "int"; 6614 break; 6615 /* linux_getrlimit */ 6616 case 163: 6617 if (ndx == 0 || ndx == 1) 6618 p = "int"; 6619 break; 6620 /* linux_setrlimit */ 6621 case 164: 6622 if (ndx == 0 || ndx == 1) 6623 p = "int"; 6624 break; 6625 /* getrusage */ 6626 case 165: 6627 if (ndx == 0 || ndx == 1) 6628 p = "int"; 6629 break; 6630 /* umask */ 6631 case 166: 6632 if (ndx == 0 || ndx == 1) 6633 p = "int"; 6634 break; 6635 /* linux_prctl */ 6636 case 167: 6637 if (ndx == 0 || ndx == 1) 6638 p = "int"; 6639 break; 6640 /* linux_getcpu */ 6641 case 168: 6642 if (ndx == 0 || ndx == 1) 6643 p = "int"; 6644 break; 6645 /* gettimeofday */ 6646 case 169: 6647 if (ndx == 0 || ndx == 1) 6648 p = "int"; 6649 break; 6650 /* settimeofday */ 6651 case 170: 6652 if (ndx == 0 || ndx == 1) 6653 p = "int"; 6654 break; 6655 /* linux_adjtimex */ 6656 case 171: 6657 /* linux_getpid */ 6658 case 172: 6659 /* linux_getppid */ 6660 case 173: 6661 /* linux_getuid */ 6662 case 174: 6663 /* geteuid */ 6664 case 175: 6665 /* linux_getgid */ 6666 case 176: 6667 /* getegid */ 6668 case 177: 6669 /* linux_gettid */ 6670 case 178: 6671 /* linux_sysinfo */ 6672 case 179: 6673 if (ndx == 0 || ndx == 1) 6674 p = "int"; 6675 break; 6676 /* linux_mq_open */ 6677 case 180: 6678 if (ndx == 0 || ndx == 1) 6679 p = "int"; 6680 break; 6681 /* linux_mq_unlink */ 6682 case 181: 6683 if (ndx == 0 || ndx == 1) 6684 p = "int"; 6685 break; 6686 /* linux_mq_timedsend */ 6687 case 182: 6688 if (ndx == 0 || ndx == 1) 6689 p = "int"; 6690 break; 6691 /* linux_mq_timedreceive */ 6692 case 183: 6693 if (ndx == 0 || ndx == 1) 6694 p = "int"; 6695 break; 6696 /* linux_mq_notify */ 6697 case 184: 6698 if (ndx == 0 || ndx == 1) 6699 p = "int"; 6700 break; 6701 /* linux_mq_getsetattr */ 6702 case 185: 6703 if (ndx == 0 || ndx == 1) 6704 p = "int"; 6705 break; 6706 /* linux_msgget */ 6707 case 186: 6708 if (ndx == 0 || ndx == 1) 6709 p = "int"; 6710 break; 6711 /* linux_msgctl */ 6712 case 187: 6713 if (ndx == 0 || ndx == 1) 6714 p = "int"; 6715 break; 6716 /* linux_msgrcv */ 6717 case 188: 6718 if (ndx == 0 || ndx == 1) 6719 p = "int"; 6720 break; 6721 /* linux_msgsnd */ 6722 case 189: 6723 if (ndx == 0 || ndx == 1) 6724 p = "int"; 6725 break; 6726 /* linux_semget */ 6727 case 190: 6728 if (ndx == 0 || ndx == 1) 6729 p = "int"; 6730 break; 6731 /* linux_semctl */ 6732 case 191: 6733 if (ndx == 0 || ndx == 1) 6734 p = "int"; 6735 break; 6736 /* linux_semtimedop */ 6737 case 192: 6738 /* linux_semop */ 6739 case 193: 6740 if (ndx == 0 || ndx == 1) 6741 p = "int"; 6742 break; 6743 /* linux_shmget */ 6744 case 194: 6745 if (ndx == 0 || ndx == 1) 6746 p = "int"; 6747 break; 6748 /* linux_shmctl */ 6749 case 195: 6750 if (ndx == 0 || ndx == 1) 6751 p = "int"; 6752 break; 6753 /* linux_shmat */ 6754 case 196: 6755 if (ndx == 0 || ndx == 1) 6756 p = "int"; 6757 break; 6758 /* linux_shmdt */ 6759 case 197: 6760 if (ndx == 0 || ndx == 1) 6761 p = "int"; 6762 break; 6763 /* linux_socket */ 6764 case 198: 6765 if (ndx == 0 || ndx == 1) 6766 p = "int"; 6767 break; 6768 /* linux_socketpair */ 6769 case 199: 6770 if (ndx == 0 || ndx == 1) 6771 p = "int"; 6772 break; 6773 /* linux_bind */ 6774 case 200: 6775 if (ndx == 0 || ndx == 1) 6776 p = "int"; 6777 break; 6778 /* linux_listen */ 6779 case 201: 6780 if (ndx == 0 || ndx == 1) 6781 p = "int"; 6782 break; 6783 /* linux_accept */ 6784 case 202: 6785 if (ndx == 0 || ndx == 1) 6786 p = "int"; 6787 break; 6788 /* linux_connect */ 6789 case 203: 6790 if (ndx == 0 || ndx == 1) 6791 p = "int"; 6792 break; 6793 /* linux_getsockname */ 6794 case 204: 6795 if (ndx == 0 || ndx == 1) 6796 p = "int"; 6797 break; 6798 /* linux_getpeername */ 6799 case 205: 6800 if (ndx == 0 || ndx == 1) 6801 p = "int"; 6802 break; 6803 /* linux_sendto */ 6804 case 206: 6805 if (ndx == 0 || ndx == 1) 6806 p = "int"; 6807 break; 6808 /* linux_recvfrom */ 6809 case 207: 6810 if (ndx == 0 || ndx == 1) 6811 p = "int"; 6812 break; 6813 /* linux_setsockopt */ 6814 case 208: 6815 if (ndx == 0 || ndx == 1) 6816 p = "int"; 6817 break; 6818 /* linux_getsockopt */ 6819 case 209: 6820 if (ndx == 0 || ndx == 1) 6821 p = "int"; 6822 break; 6823 /* linux_shutdown */ 6824 case 210: 6825 if (ndx == 0 || ndx == 1) 6826 p = "int"; 6827 break; 6828 /* linux_sendmsg */ 6829 case 211: 6830 if (ndx == 0 || ndx == 1) 6831 p = "int"; 6832 break; 6833 /* linux_recvmsg */ 6834 case 212: 6835 if (ndx == 0 || ndx == 1) 6836 p = "int"; 6837 break; 6838 /* linux_brk */ 6839 case 214: 6840 if (ndx == 0 || ndx == 1) 6841 p = "int"; 6842 break; 6843 /* munmap */ 6844 case 215: 6845 if (ndx == 0 || ndx == 1) 6846 p = "int"; 6847 break; 6848 /* linux_mremap */ 6849 case 216: 6850 if (ndx == 0 || ndx == 1) 6851 p = "int"; 6852 break; 6853 /* linux_add_key */ 6854 case 217: 6855 /* linux_request_key */ 6856 case 218: 6857 /* linux_keyctl */ 6858 case 219: 6859 /* linux_clone */ 6860 case 220: 6861 if (ndx == 0 || ndx == 1) 6862 p = "int"; 6863 break; 6864 /* linux_execve */ 6865 case 221: 6866 if (ndx == 0 || ndx == 1) 6867 p = "int"; 6868 break; 6869 /* linux_mmap2 */ 6870 case 222: 6871 if (ndx == 0 || ndx == 1) 6872 p = "int"; 6873 break; 6874 /* linux_fadvise64 */ 6875 case 223: 6876 if (ndx == 0 || ndx == 1) 6877 p = "int"; 6878 break; 6879 /* swapon */ 6880 case 224: 6881 if (ndx == 0 || ndx == 1) 6882 p = "int"; 6883 break; 6884 /* linux_swapoff */ 6885 case 225: 6886 /* linux_mprotect */ 6887 case 226: 6888 if (ndx == 0 || ndx == 1) 6889 p = "int"; 6890 break; 6891 /* linux_msync */ 6892 case 227: 6893 if (ndx == 0 || ndx == 1) 6894 p = "int"; 6895 break; 6896 /* mlock */ 6897 case 228: 6898 if (ndx == 0 || ndx == 1) 6899 p = "int"; 6900 break; 6901 /* munlock */ 6902 case 229: 6903 if (ndx == 0 || ndx == 1) 6904 p = "int"; 6905 break; 6906 /* mlockall */ 6907 case 230: 6908 if (ndx == 0 || ndx == 1) 6909 p = "int"; 6910 break; 6911 /* munlockall */ 6912 case 231: 6913 /* linux_mincore */ 6914 case 232: 6915 if (ndx == 0 || ndx == 1) 6916 p = "int"; 6917 break; 6918 /* linux_madvise */ 6919 case 233: 6920 if (ndx == 0 || ndx == 1) 6921 p = "int"; 6922 break; 6923 /* linux_remap_file_pages */ 6924 case 234: 6925 /* linux_mbind */ 6926 case 235: 6927 /* linux_get_mempolicy */ 6928 case 236: 6929 /* linux_set_mempolicy */ 6930 case 237: 6931 /* linux_migrate_pages */ 6932 case 238: 6933 /* linux_move_pages */ 6934 case 239: 6935 /* linux_rt_tgsigqueueinfo */ 6936 case 240: 6937 if (ndx == 0 || ndx == 1) 6938 p = "int"; 6939 break; 6940 /* linux_perf_event_open */ 6941 case 241: 6942 /* linux_accept4 */ 6943 case 242: 6944 if (ndx == 0 || ndx == 1) 6945 p = "int"; 6946 break; 6947 /* linux_recvmmsg */ 6948 case 243: 6949 if (ndx == 0 || ndx == 1) 6950 p = "int"; 6951 break; 6952 /* linux_wait4 */ 6953 case 260: 6954 if (ndx == 0 || ndx == 1) 6955 p = "int"; 6956 break; 6957 /* linux_prlimit64 */ 6958 case 261: 6959 if (ndx == 0 || ndx == 1) 6960 p = "int"; 6961 break; 6962 /* linux_fanotify_init */ 6963 case 262: 6964 /* linux_fanotify_mark */ 6965 case 263: 6966 /* linux_name_to_handle_at */ 6967 case 264: 6968 if (ndx == 0 || ndx == 1) 6969 p = "int"; 6970 break; 6971 /* linux_open_by_handle_at */ 6972 case 265: 6973 if (ndx == 0 || ndx == 1) 6974 p = "int"; 6975 break; 6976 /* linux_clock_adjtime */ 6977 case 266: 6978 /* linux_syncfs */ 6979 case 267: 6980 if (ndx == 0 || ndx == 1) 6981 p = "int"; 6982 break; 6983 /* linux_setns */ 6984 case 268: 6985 if (ndx == 0 || ndx == 1) 6986 p = "int"; 6987 break; 6988 /* linux_sendmmsg */ 6989 case 269: 6990 if (ndx == 0 || ndx == 1) 6991 p = "int"; 6992 break; 6993 /* linux_process_vm_readv */ 6994 case 270: 6995 if (ndx == 0 || ndx == 1) 6996 p = "int"; 6997 break; 6998 /* linux_process_vm_writev */ 6999 case 271: 7000 if (ndx == 0 || ndx == 1) 7001 p = "int"; 7002 break; 7003 /* linux_kcmp */ 7004 case 272: 7005 if (ndx == 0 || ndx == 1) 7006 p = "int"; 7007 break; 7008 /* linux_finit_module */ 7009 case 273: 7010 if (ndx == 0 || ndx == 1) 7011 p = "int"; 7012 break; 7013 /* linux_sched_setattr */ 7014 case 274: 7015 if (ndx == 0 || ndx == 1) 7016 p = "int"; 7017 break; 7018 /* linux_sched_getattr */ 7019 case 275: 7020 if (ndx == 0 || ndx == 1) 7021 p = "int"; 7022 break; 7023 /* linux_renameat2 */ 7024 case 276: 7025 if (ndx == 0 || ndx == 1) 7026 p = "int"; 7027 break; 7028 /* linux_seccomp */ 7029 case 277: 7030 if (ndx == 0 || ndx == 1) 7031 p = "int"; 7032 break; 7033 /* linux_getrandom */ 7034 case 278: 7035 if (ndx == 0 || ndx == 1) 7036 p = "int"; 7037 break; 7038 /* linux_memfd_create */ 7039 case 279: 7040 if (ndx == 0 || ndx == 1) 7041 p = "int"; 7042 break; 7043 /* linux_bpf */ 7044 case 280: 7045 if (ndx == 0 || ndx == 1) 7046 p = "int"; 7047 break; 7048 /* linux_execveat */ 7049 case 281: 7050 if (ndx == 0 || ndx == 1) 7051 p = "int"; 7052 break; 7053 /* linux_userfaultfd */ 7054 case 282: 7055 if (ndx == 0 || ndx == 1) 7056 p = "int"; 7057 break; 7058 /* linux_membarrier */ 7059 case 283: 7060 if (ndx == 0 || ndx == 1) 7061 p = "int"; 7062 break; 7063 /* linux_mlock2 */ 7064 case 284: 7065 if (ndx == 0 || ndx == 1) 7066 p = "int"; 7067 break; 7068 /* linux_copy_file_range */ 7069 case 285: 7070 if (ndx == 0 || ndx == 1) 7071 p = "int"; 7072 break; 7073 /* linux_preadv2 */ 7074 case 286: 7075 if (ndx == 0 || ndx == 1) 7076 p = "int"; 7077 break; 7078 /* linux_pwritev2 */ 7079 case 287: 7080 if (ndx == 0 || ndx == 1) 7081 p = "int"; 7082 break; 7083 /* linux_pkey_mprotect */ 7084 case 288: 7085 if (ndx == 0 || ndx == 1) 7086 p = "int"; 7087 break; 7088 /* linux_pkey_alloc */ 7089 case 289: 7090 if (ndx == 0 || ndx == 1) 7091 p = "int"; 7092 break; 7093 /* linux_pkey_free */ 7094 case 290: 7095 if (ndx == 0 || ndx == 1) 7096 p = "int"; 7097 break; 7098 default: 7099 break; 7100 }; 7101 if (p != NULL) 7102 strlcpy(desc, p, descsz); 7103 } 7104