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