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