1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 | /* $NetBSD: linux32_syscall.h,v 1.79 2018/08/10 21:47:15 pgoyette Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * created from NetBSD: syscalls.master,v 1.69 2015/03/08 17:10:44 christos Exp */ #ifndef _LINUX32_SYS_SYSCALL_H_ #define _LINUX32_SYS_SYSCALL_H_ #define LINUX32_SYS_MAXSYSARGS 8 /* syscall: "syscall" ret: "int" args: */ #define LINUX32_SYS_syscall 0 /* syscall: "exit" ret: "int" args: "int" */ #define LINUX32_SYS_exit 1 /* syscall: "fork" ret: "int" args: */ #define LINUX32_SYS_fork 2 /* syscall: "netbsd32_read" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_read 3 /* syscall: "netbsd32_write" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_write 4 /* syscall: "open" ret: "int" args: "netbsd32_charp" "int" "linux_umode_t" */ #define LINUX32_SYS_open 5 /* syscall: "netbsd32_close" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_close 6 /* syscall: "waitpid" ret: "int" args: "int" "netbsd32_intp" "int" */ #define LINUX32_SYS_waitpid 7 /* syscall: "creat" ret: "int" args: "netbsd32_charp" "linux_umode_t" */ #define LINUX32_SYS_creat 8 /* syscall: "netbsd32_link" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_link 9 /* syscall: "unlink" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_unlink 10 /* syscall: "netbsd32_execve" ret: "int" args: "netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */ #define LINUX32_SYS_netbsd32_execve 11 /* syscall: "netbsd32_chdir" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_chdir 12 /* syscall: "time" ret: "int" args: "linux32_timep_t" */ #define LINUX32_SYS_time 13 /* syscall: "mknod" ret: "int" args: "netbsd32_charp" "linux_umode_t" "unsigned" */ #define LINUX32_SYS_mknod 14 /* syscall: "netbsd32_chmod" ret: "int" args: "netbsd32_charp" "linux_umode_t" */ #define LINUX32_SYS_netbsd32_chmod 15 /* syscall: "lchown16" ret: "int" args: "netbsd32_charp" "linux32_uid16_t" "linux32_gid16_t" */ #define LINUX32_SYS_lchown16 16 /* syscall: "break" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_break 17 /* 18 is obsolete ostat */ /* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */ #define LINUX32_SYS_compat_43_netbsd32_olseek 19 /* syscall: "getpid" ret: "pid_t" args: */ #define LINUX32_SYS_getpid 20 /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */ #define LINUX32_SYS_linux_setuid16 23 /* syscall: "linux_getuid16" ret: "uid_t" args: */ #define LINUX32_SYS_linux_getuid16 24 /* syscall: "stime" ret: "int" args: "linux32_timep_t" */ #define LINUX32_SYS_stime 25 /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */ #define LINUX32_SYS_ptrace 26 /* syscall: "alarm" ret: "int" args: "unsigned int" */ #define LINUX32_SYS_alarm 27 /* 28 is obsolete ofstat */ /* syscall: "pause" ret: "int" args: */ #define LINUX32_SYS_pause 29 /* syscall: "utime" ret: "int" args: "netbsd32_charp" "linux32_utimbufp_t" */ #define LINUX32_SYS_utime 30 /* 31 is obsolete stty */ /* 32 is obsolete gtty */ /* syscall: "netbsd32_access" ret: "int" args: "netbsd32_charp" "int" */ #define LINUX32_SYS_netbsd32_access 33 /* syscall: "nice" ret: "int" args: "int" */ #define LINUX32_SYS_nice 34 /* 35 is obsolete ftime */ /* syscall: "sync" ret: "int" args: */ #define LINUX32_SYS_sync 36 /* syscall: "kill" ret: "int" args: "int" "int" */ #define LINUX32_SYS_kill 37 /* syscall: "netbsd32___posix_rename" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32___posix_rename 38 /* syscall: "netbsd32_mkdir" ret: "int" args: "netbsd32_charp" "linux_umode_t" */ #define LINUX32_SYS_netbsd32_mkdir 39 /* syscall: "netbsd32_rmdir" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_rmdir 40 /* syscall: "netbsd32_dup" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_dup 41 /* syscall: "pipe" ret: "int" args: "netbsd32_intp" */ #define LINUX32_SYS_pipe 42 /* syscall: "times" ret: "int" args: "linux32_tmsp_t" */ #define LINUX32_SYS_times 43 /* 44 is obsolete prof */ /* syscall: "brk" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_brk 45 /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */ #define LINUX32_SYS_linux_setgid16 46 /* syscall: "linux_getgid16" ret: "gid_t" args: */ #define LINUX32_SYS_linux_getgid16 47 /* syscall: "signal" ret: "int" args: "int" "linux32_handlerp_t" */ #define LINUX32_SYS_signal 48 /* syscall: "linux_geteuid16" ret: "uid_t" args: */ #define LINUX32_SYS_linux_geteuid16 49 /* syscall: "linux_getegid16" ret: "gid_t" args: */ #define LINUX32_SYS_linux_getegid16 50 /* syscall: "netbsd32_acct" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_acct 51 /* 52 is obsolete phys */ /* 53 is obsolete lock */ /* syscall: "ioctl" ret: "int" args: "int" "netbsd32_u_long" "netbsd32_charp" */ #define LINUX32_SYS_ioctl 54 /* syscall: "fcntl" ret: "int" args: "int" "int" "netbsd32_voidp" */ #define LINUX32_SYS_fcntl 55 /* 56 is obsolete mpx */ /* syscall: "netbsd32_setpgid" ret: "int" args: "int" "int" */ #define LINUX32_SYS_netbsd32_setpgid 57 /* 58 is obsolete ulimit */ /* syscall: "oldolduname" ret: "int" args: "linux32_oldold_utsnamep_t" */ #define LINUX32_SYS_oldolduname 59 /* syscall: "netbsd32_umask" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_umask 60 /* syscall: "netbsd32_chroot" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_chroot 61 /* syscall: "netbsd32_dup2" ret: "int" args: "int" "int" */ #define LINUX32_SYS_netbsd32_dup2 63 /* syscall: "getppid" ret: "pid_t" args: */ #define LINUX32_SYS_getppid 64 /* syscall: "getpgrp" ret: "int" args: */ #define LINUX32_SYS_getpgrp 65 /* syscall: "setsid" ret: "int" args: */ #define LINUX32_SYS_setsid 66 /* syscall: "siggetmask" ret: "int" args: */ #define LINUX32_SYS_siggetmask 68 /* syscall: "sigsetmask" ret: "int" args: "linux32_old_sigset_t" */ #define LINUX32_SYS_sigsetmask 69 /* syscall: "setreuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" */ #define LINUX32_SYS_setreuid16 70 /* syscall: "setregid16" ret: "int" args: "linux32_gid16_t" "linux32_gid16_t" */ #define LINUX32_SYS_setregid16 71 /* syscall: "compat_43_netbsd32_osethostname" ret: "int" args: "netbsd32_charp" "u_int" */ #define LINUX32_SYS_compat_43_netbsd32_osethostname 74 /* syscall: "setrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */ #define LINUX32_SYS_setrlimit 75 /* syscall: "getrlimit" ret: "int" args: "u_int" "netbsd32_orlimitp_t" */ #define LINUX32_SYS_getrlimit 76 /* syscall: "compat_50_netbsd32_getrusage" ret: "int" args: "int" "netbsd32_rusage50p_t" */ #define LINUX32_SYS_compat_50_netbsd32_getrusage 77 /* syscall: "gettimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ #define LINUX32_SYS_gettimeofday 78 /* syscall: "settimeofday" ret: "int" args: "netbsd32_timeval50p_t" "netbsd32_timezonep_t" */ #define LINUX32_SYS_settimeofday 79 /* syscall: "getgroups16" ret: "int" args: "int" "linux32_gid16p_t" */ #define LINUX32_SYS_getgroups16 80 /* syscall: "setgroups16" ret: "int" args: "int" "linux32_gid16p_t" */ #define LINUX32_SYS_setgroups16 81 /* syscall: "oldselect" ret: "int" args: "linux32_oldselectp_t" */ #define LINUX32_SYS_oldselect 82 /* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_symlink 83 /* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "netbsd32_charp" "netbsd32_stat43p_t" */ #define LINUX32_SYS_compat_43_netbsd32_lstat43 84 /* syscall: "netbsd32_readlink" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_readlink 85 /* syscall: "swapon" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_swapon 87 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "netbsd32_voidp" */ #define LINUX32_SYS_reboot 88 /* syscall: "readdir" ret: "int" args: "int" "netbsd32_voidp" "unsigned int" */ #define LINUX32_SYS_readdir 89 /* syscall: "old_mmap" ret: "int" args: "linux32_oldmmapp" */ #define LINUX32_SYS_old_mmap 90 /* syscall: "netbsd32_munmap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_munmap 91 /* syscall: "compat_43_netbsd32_otruncate" ret: "int" args: "netbsd32_charp" "netbsd32_long" */ #define LINUX32_SYS_compat_43_netbsd32_otruncate 92 /* syscall: "compat_43_netbsd32_oftruncate" ret: "int" args: "int" "netbsd32_long" */ #define LINUX32_SYS_compat_43_netbsd32_oftruncate 93 /* syscall: "netbsd32_fchmod" ret: "int" args: "int" "linux_umode_t" */ #define LINUX32_SYS_netbsd32_fchmod 94 /* syscall: "fchown16" ret: "int" args: "int" "linux32_uid16_t" "linux32_gid16_t" */ #define LINUX32_SYS_fchown16 95 /* syscall: "getpriority" ret: "int" args: "int" "int" */ #define LINUX32_SYS_getpriority 96 /* syscall: "netbsd32_setpriority" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_netbsd32_setpriority 97 /* syscall: "netbsd32_profil" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_u_long" "u_int" */ #define LINUX32_SYS_netbsd32_profil 98 /* syscall: "statfs" ret: "int" args: "netbsd32_charp" "linux32_statfsp" */ #define LINUX32_SYS_statfs 99 /* syscall: "fstatfs" ret: "int" args: "int" "linux32_statfsp" */ #define LINUX32_SYS_fstatfs 100 /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */ #define LINUX32_SYS_ioperm 101 /* syscall: "socketcall" ret: "int" args: "int" "netbsd32_voidp" */ #define LINUX32_SYS_socketcall 102 /* syscall: "compat_50_netbsd32_setitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" "netbsd32_itimerval50p_t" */ #define LINUX32_SYS_compat_50_netbsd32_setitimer 104 /* syscall: "compat_50_netbsd32_getitimer" ret: "int" args: "int" "netbsd32_itimerval50p_t" */ #define LINUX32_SYS_compat_50_netbsd32_getitimer 105 /* syscall: "stat" ret: "int" args: "netbsd32_charp" "linux32_statp" */ #define LINUX32_SYS_stat 106 /* syscall: "lstat" ret: "int" args: "netbsd32_charp" "linux32_statp" */ #define LINUX32_SYS_lstat 107 /* syscall: "fstat" ret: "int" args: "int" "linux32_statp" */ #define LINUX32_SYS_fstat 108 /* syscall: "olduname" ret: "int" args: "linux32_oldutsnamep_t" */ #define LINUX32_SYS_olduname 109 /* syscall: "iopl" ret: "int" args: "int" */ #define LINUX32_SYS_iopl 110 /* syscall: "wait4" ret: "int" args: "int" "netbsd32_intp" "int" "netbsd32_rusage50p_t" */ #define LINUX32_SYS_wait4 114 /* syscall: "swapoff" ret: "int" args: "netbsd32_charp" */ #define LINUX32_SYS_swapoff 115 /* syscall: "sysinfo" ret: "int" args: "linux32_sysinfop_t" */ #define LINUX32_SYS_sysinfo 116 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "netbsd32_voidp" */ #define LINUX32_SYS_ipc 117 /* syscall: "netbsd32_fsync" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_fsync 118 /* syscall: "sigreturn" ret: "int" args: "linux32_sigcontextp_t" */ #define LINUX32_SYS_sigreturn 119 /* syscall: "clone" ret: "int" args: "int" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" "netbsd32_voidp" */ #define LINUX32_SYS_clone 120 /* syscall: "setdomainname" ret: "int" args: "netbsd32_charp" "int" */ #define LINUX32_SYS_setdomainname 121 /* syscall: "uname" ret: "int" args: "linux32_utsnamep" */ #define LINUX32_SYS_uname 122 /* syscall: "modify_ldt" ret: "int" args: "int" "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_modify_ldt 123 /* syscall: "mprotect" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_mprotect 125 /* syscall: "netbsd32_getpgid" ret: "int" args: "pid_t" */ #define LINUX32_SYS_netbsd32_getpgid 132 /* syscall: "netbsd32_fchdir" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_fchdir 133 /* syscall: "personality" ret: "int" args: "netbsd32_u_long" */ #define LINUX32_SYS_personality 136 /* syscall: "setfsuid16" ret: "int" args: "uid_t" */ #define LINUX32_SYS_setfsuid16 138 /* syscall: "setfsgid16" ret: "int" args: "gid_t" */ #define LINUX32_SYS_setfsgid16 139 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "netbsd32_voidp" "int" */ #define LINUX32_SYS_llseek 140 /* syscall: "getdents" ret: "int" args: "int" "linux32_direntp_t" "unsigned int" */ #define LINUX32_SYS_getdents 141 /* syscall: "select" ret: "int" args: "int" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_fd_setp_t" "netbsd32_timeval50p_t" */ #define LINUX32_SYS_select 142 /* syscall: "netbsd32_flock" ret: "int" args: "int" "int" */ #define LINUX32_SYS_netbsd32_flock 143 /* syscall: "netbsd32___msync13" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_netbsd32___msync13 144 /* syscall: "netbsd32_readv" ret: "int" args: "int" "netbsd32_iovecp_t" "int" */ #define LINUX32_SYS_netbsd32_readv 145 /* syscall: "netbsd32_writev" ret: "netbsd32_ssize_t" args: "int" "netbsd32_iovecp_t" "int" */ #define LINUX32_SYS_netbsd32_writev 146 /* syscall: "netbsd32_getsid" ret: "pid_t" args: "pid_t" */ #define LINUX32_SYS_netbsd32_getsid 147 /* syscall: "fdatasync" ret: "int" args: "int" */ #define LINUX32_SYS_fdatasync 148 /* syscall: "__sysctl" ret: "int" args: "linux32___sysctlp_t" */ #define LINUX32_SYS___sysctl 149 /* syscall: "netbsd32_mlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_mlock 150 /* syscall: "netbsd32_munlock" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_munlock 151 /* syscall: "netbsd32_mlockall" ret: "int" args: "int" */ #define LINUX32_SYS_netbsd32_mlockall 152 /* syscall: "munlockall" ret: "int" args: */ #define LINUX32_SYS_munlockall 153 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const linux32_sched_paramp_t" */ #define LINUX32_SYS_sched_setparam 154 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "linux32_sched_paramp_t" */ #define LINUX32_SYS_sched_getparam 155 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "linux32_sched_paramp_t" */ #define LINUX32_SYS_sched_setscheduler 156 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */ #define LINUX32_SYS_sched_getscheduler 157 /* syscall: "sched_yield" ret: "int" args: */ #define LINUX32_SYS_sched_yield 158 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */ #define LINUX32_SYS_sched_get_priority_max 159 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */ #define LINUX32_SYS_sched_get_priority_min 160 /* syscall: "nanosleep" ret: "int" args: "linux32_timespecp_t" "linux32_timespecp_t" */ #define LINUX32_SYS_nanosleep 162 /* syscall: "mremap" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_size_t" "netbsd32_u_long" */ #define LINUX32_SYS_mremap 163 /* syscall: "setresuid16" ret: "int" args: "linux32_uid16_t" "linux32_uid16_t" "linux32_uid16_t" */ #define LINUX32_SYS_setresuid16 164 /* syscall: "getresuid16" ret: "int" args: "linux32_uid16p_t" "linux32_uid16p_t" "linux32_uid16p_t" */ #define LINUX32_SYS_getresuid16 165 /* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */ #define LINUX32_SYS_netbsd32_poll 168 /* syscall: "setresgid16" ret: "int" args: "linux32_gid16_t" "linux32_gid16_t" "linux32_gid16_t" */ #define LINUX32_SYS_setresgid16 170 /* syscall: "getresgid16" ret: "int" args: "linux32_gid16p_t" "linux32_gid16p_t" "linux32_gid16p_t" */ #define LINUX32_SYS_getresgid16 171 /* syscall: "rt_sigreturn" ret: "int" args: "linux32_ucontextp_t" */ #define LINUX32_SYS_rt_sigreturn 173 /* syscall: "rt_sigaction" ret: "int" args: "int" "linux32_sigactionp_t" "linux32_sigactionp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigaction 174 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "linux32_sigsetp_t" "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigprocmask 175 /* syscall: "rt_sigpending" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigpending 176 /* syscall: "rt_sigtimedwait" ret: "int" args: "const linux32_sigsetp_t" "linux32_siginfop_t" "const linux32_timespecp_t" */ #define LINUX32_SYS_rt_sigtimedwait 177 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux32_siginfop_t" */ #define LINUX32_SYS_rt_queueinfo 178 /* syscall: "rt_sigsuspend" ret: "int" args: "linux32_sigsetp_t" "netbsd32_size_t" */ #define LINUX32_SYS_rt_sigsuspend 179 /* syscall: "pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_off_t" */ #define LINUX32_SYS_pread 180 /* syscall: "pwrite" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_off_t" */ #define LINUX32_SYS_pwrite 181 /* syscall: "chown16" ret: "int" args: "netbsd32_charp" "linux32_uid16_t" "linux32_gid16_t" */ #define LINUX32_SYS_chown16 182 /* syscall: "netbsd32___getcwd" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32___getcwd 183 /* syscall: "__vfork14" ret: "int" args: */ #define LINUX32_SYS___vfork14 190 /* syscall: "ugetrlimit" ret: "int" args: "int" "netbsd32_orlimitp_t" */ #define LINUX32_SYS_ugetrlimit 191 /* syscall: "mmap2" ret: "linux32_off_t" args: "netbsd32_u_long" "netbsd32_size_t" "int" "int" "int" "linux32_off_t" */ #define LINUX32_SYS_mmap2 192 /* syscall: "truncate64" ret: "int" args: "netbsd32_charp" "uint32_t" "uint32_t" */ #define LINUX32_SYS_truncate64 193 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "uint32_t" "uint32_t" */ #define LINUX32_SYS_ftruncate64 194 /* syscall: "stat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */ #define LINUX32_SYS_stat64 195 /* syscall: "lstat64" ret: "int" args: "netbsd32_charp" "linux32_stat64p" */ #define LINUX32_SYS_lstat64 196 /* syscall: "fstat64" ret: "int" args: "int" "linux32_stat64p" */ #define LINUX32_SYS_fstat64 197 /* syscall: "netbsd32___posix_lchown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ #define LINUX32_SYS_netbsd32___posix_lchown 198 /* syscall: "getuid" ret: "uid_t" args: */ #define LINUX32_SYS_getuid 199 /* syscall: "getgid" ret: "gid_t" args: */ #define LINUX32_SYS_getgid 200 /* syscall: "geteuid" ret: "uid_t" args: */ #define LINUX32_SYS_geteuid 201 /* syscall: "getegid" ret: "gid_t" args: */ #define LINUX32_SYS_getegid 202 /* syscall: "netbsd32_setreuid" ret: "int" args: "uid_t" "uid_t" */ #define LINUX32_SYS_netbsd32_setreuid 203 /* syscall: "netbsd32_setregid" ret: "int" args: "gid_t" "gid_t" */ #define LINUX32_SYS_netbsd32_setregid 204 /* syscall: "netbsd32_getgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ #define LINUX32_SYS_netbsd32_getgroups 205 /* syscall: "netbsd32_setgroups" ret: "int" args: "int" "netbsd32_gid_tp" */ #define LINUX32_SYS_netbsd32_setgroups 206 /* syscall: "netbsd32___posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ #define LINUX32_SYS_netbsd32___posix_fchown 207 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */ #define LINUX32_SYS_setresuid 208 /* syscall: "getresuid" ret: "int" args: "linux32_uidp_t" "linux32_uidp_t" "linux32_uidp_t" */ #define LINUX32_SYS_getresuid 209 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */ #define LINUX32_SYS_setresgid 210 /* syscall: "getresgid" ret: "int" args: "linux32_gidp_t" "linux32_gidp_t" "linux32_gidp_t" */ #define LINUX32_SYS_getresgid 211 /* syscall: "netbsd32___posix_chown" ret: "int" args: "netbsd32_charp" "uid_t" "gid_t" */ #define LINUX32_SYS_netbsd32___posix_chown 212 /* syscall: "netbsd32_setuid" ret: "int" args: "uid_t" */ #define LINUX32_SYS_netbsd32_setuid 213 /* syscall: "netbsd32_setgid" ret: "int" args: "gid_t" */ #define LINUX32_SYS_netbsd32_setgid 214 /* syscall: "setfsuid" ret: "int" args: "uid_t" */ #define LINUX32_SYS_setfsuid 215 /* syscall: "setfsgid" ret: "int" args: "gid_t" */ #define LINUX32_SYS_setfsgid 216 /* syscall: "netbsd32_mincore" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_mincore 218 /* syscall: "netbsd32_madvise" ret: "int" args: "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_netbsd32_madvise 219 /* syscall: "getdents64" ret: "int" args: "int" "linux32_dirent64p_t" "unsigned int" */ #define LINUX32_SYS_getdents64 220 #define linux32_sys_fcntl64 linux32_sys_fcntl #define linux32_sys_fcntl64_args linux32_sys_fcntl_args /* syscall: "fcntl64" ret: "int" args: "int" "int" "netbsd32_voidp" */ #define LINUX32_SYS_fcntl64 221 /* syscall: "gettid" ret: "pid_t" args: */ #define LINUX32_SYS_gettid 224 /* syscall: "netbsd32_setxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_netbsd32_setxattr 226 /* syscall: "netbsd32_lsetxattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_netbsd32_lsetxattr 227 /* syscall: "netbsd32_fsetxattr" ret: "int" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" "int" */ #define LINUX32_SYS_netbsd32_fsetxattr 228 /* syscall: "netbsd32_getxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_getxattr 229 /* syscall: "netbsd32_lgetxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_lgetxattr 230 /* syscall: "netbsd32_fgetxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_fgetxattr 231 /* syscall: "netbsd32_listxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_listxattr 232 /* syscall: "netbsd32_llistxattr" ret: "ssize_t" args: "netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_llistxattr 233 /* syscall: "netbsd32_flistxattr" ret: "ssize_t" args: "int" "netbsd32_charp" "netbsd32_size_t" */ #define LINUX32_SYS_netbsd32_flistxattr 234 /* syscall: "netbsd32_removexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_removexattr 235 /* syscall: "netbsd32_lremovexattr" ret: "int" args: "netbsd32_charp" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_lremovexattr 236 /* syscall: "netbsd32_fremovexattr" ret: "int" args: "int" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_fremovexattr 237 /* syscall: "tkill" ret: "int" args: "int" "int" */ #define LINUX32_SYS_tkill 238 /* syscall: "futex" ret: "int" args: "linux32_intp_t" "int" "int" "linux32_timespecp_t" "linux32_intp_t" "int" */ #define LINUX32_SYS_futex 240 /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "linux32_ulongp_t" */ #define LINUX32_SYS_sched_setaffinity 241 /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "linux32_ulongp_t" */ #define LINUX32_SYS_sched_getaffinity 242 /* syscall: "set_thread_area" ret: "int" args: "linux32_user_descp_t" */ #define LINUX32_SYS_set_thread_area 243 /* syscall: "get_thread_area" ret: "int" args: "linux32_user_descp_t" */ #define LINUX32_SYS_get_thread_area 244 /* syscall: "fadvise64" ret: "int" args: "int" "uint32_t" "uint32_t" "linux32_size_t" "int" */ #define LINUX32_SYS_fadvise64 250 /* syscall: "exit_group" ret: "int" args: "int" */ #define LINUX32_SYS_exit_group 252 /* syscall: "set_tid_address" ret: "int" args: "linux32_intp_t" */ #define LINUX32_SYS_set_tid_address 258 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "linux32_timespecp_t" */ #define LINUX32_SYS_clock_settime 264 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "linux32_timespecp_t" */ #define LINUX32_SYS_clock_gettime 265 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "linux32_timespecp_t" */ #define LINUX32_SYS_clock_getres 266 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "linux32_timespecp_t" "linux32_timespecp_t" */ #define LINUX32_SYS_clock_nanosleep 267 /* syscall: "statfs64" ret: "int" args: "netbsd32_charp" "netbsd32_size_t" "linux32_statfs64p" */ #define LINUX32_SYS_statfs64 268 /* syscall: "fstatfs64" ret: "int" args: "int" "netbsd32_size_t" "linux32_statfs64p" */ #define LINUX32_SYS_fstatfs64 269 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_tgkill 270 /* syscall: "compat_50_netbsd32_utimes" ret: "int" args: "netbsd32_charp" "netbsd32_timeval50p_t" */ #define LINUX32_SYS_compat_50_netbsd32_utimes 271 /* syscall: "fadvise64_64" ret: "int" args: "int" "uint32_t" "uint32_t" "uint32_t" "uint32_t" "int" */ #define LINUX32_SYS_fadvise64_64 272 /* syscall: "openat" ret: "int" args: "int" "netbsd32_charp" "int" "..." */ #define LINUX32_SYS_openat 295 /* syscall: "netbsd32_mkdirat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" */ #define LINUX32_SYS_netbsd32_mkdirat 296 /* syscall: "mknodat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" "unsigned" */ #define LINUX32_SYS_mknodat 297 /* syscall: "fchownat" ret: "int" args: "int" "netbsd32_charp" "uid_t" "gid_t" "int" */ #define LINUX32_SYS_fchownat 298 /* syscall: "fstatat64" ret: "int" args: "int" "netbsd32_charp" "linux32_stat64p" "int" */ #define LINUX32_SYS_fstatat64 300 /* syscall: "unlinkat" ret: "int" args: "int" "netbsd32_charp" "int" */ #define LINUX32_SYS_unlinkat 301 /* syscall: "netbsd32_renameat" ret: "int" args: "int" "netbsd32_charp" "int" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_renameat 302 /* syscall: "linkat" ret: "int" args: "int" "netbsd32_charp" "int" "netbsd32_charp" "int" */ #define LINUX32_SYS_linkat 303 /* syscall: "netbsd32_symlinkat" ret: "int" args: "netbsd32_charp" "int" "netbsd32_charp" */ #define LINUX32_SYS_netbsd32_symlinkat 304 /* syscall: "netbsd32_readlinkat" ret: "int" args: "int" "netbsd32_charp" "netbsd32_charp" "linux32_size_t" */ #define LINUX32_SYS_netbsd32_readlinkat 305 /* syscall: "fchmodat" ret: "int" args: "int" "netbsd32_charp" "linux_umode_t" */ #define LINUX32_SYS_fchmodat 306 /* syscall: "faccessat" ret: "int" args: "int" "netbsd32_charp" "int" */ #define LINUX32_SYS_faccessat 307 /* syscall: "ppoll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "linux32_timespecp_t" "linux32_sigsetp_t" */ #define LINUX32_SYS_ppoll 309 /* syscall: "set_robust_list" ret: "int" args: "linux32_robust_list_headp_t" "linux32_size_t" */ #define LINUX32_SYS_set_robust_list 311 /* syscall: "get_robust_list" ret: "int" args: "linux32_pid_t" "linux32_robust_list_headpp_t" "linux32_sizep_t" */ #define LINUX32_SYS_get_robust_list 312 /* syscall: "utimensat" ret: "int" args: "int" "netbsd32_charp" "linux32_timespecp_t" "int" */ #define LINUX32_SYS_utimensat 320 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */ #define LINUX32_SYS_dup3 330 /* syscall: "pipe2" ret: "int" args: "netbsd32_intp" "int" */ #define LINUX32_SYS_pipe2 331 #define LINUX32_SYS_MAXSYSCALL 351 #define LINUX32_SYS_NSYSENT 512 #endif /* _LINUX32_SYS_SYSCALL_H_ */ |