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