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