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