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