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