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