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