1 /* $NetBSD: sunos32_syscallargs.h,v 1.24 2009/01/13 22:33:17 pooka Exp $ */ 2 3 /* 4 * System call argument lists. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from; NetBSD: syscalls.master,v 1.20 2009/01/13 22:27:44 pooka Exp 8 */ 9 10 #ifndef _SUNOS32_SYS_SYSCALLARGS_H_ 11 #define _SUNOS32_SYS_SYSCALLARGS_H_ 12 13 #define SUNOS32_SYS_MAXSYSARGS 8 14 15 #undef syscallarg 16 #define syscallarg(x) \ 17 union { \ 18 register32_t pad; \ 19 struct { x datum; } le; \ 20 struct { /* LINTED zero array dimension */ \ 21 int8_t pad[ /* CONSTCOND */ \ 22 (sizeof (register32_t) < sizeof (x)) \ 23 ? 0 \ 24 : sizeof (register32_t) - sizeof (x)]; \ 25 x datum; \ 26 } be; \ 27 } 28 29 #undef check_syscall_args 30 #define check_syscall_args(call) \ 31 typedef char call##_check_args[sizeof (struct call##_args) \ 32 <= SUNOS32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1]; 33 34 struct netbsd32_exit_args; 35 36 struct netbsd32_read_args; 37 38 struct netbsd32_write_args; 39 40 struct sunos32_sys_open_args { 41 syscallarg(const netbsd32_charp) path; 42 syscallarg(int) flags; 43 syscallarg(int) mode; 44 }; 45 check_syscall_args(sunos32_sys_open) 46 47 struct netbsd32_close_args; 48 49 struct sunos32_sys_wait4_args { 50 syscallarg(int) pid; 51 syscallarg(netbsd32_intp) status; 52 syscallarg(int) options; 53 syscallarg(netbsd32_rusagep_t) rusage; 54 }; 55 check_syscall_args(sunos32_sys_wait4) 56 57 struct sunos32_sys_creat_args { 58 syscallarg(const netbsd32_charp) path; 59 syscallarg(int) mode; 60 }; 61 check_syscall_args(sunos32_sys_creat) 62 63 struct netbsd32_link_args; 64 65 struct netbsd32_unlink_args; 66 67 struct sunos32_sys_execv_args { 68 syscallarg(const netbsd32_charp) path; 69 syscallarg(netbsd32_charpp) argp; 70 }; 71 check_syscall_args(sunos32_sys_execv) 72 73 struct netbsd32_chdir_args; 74 75 struct sunos32_sys_mknod_args { 76 syscallarg(const netbsd32_charp) path; 77 syscallarg(int) mode; 78 syscallarg(int) dev; 79 }; 80 check_syscall_args(sunos32_sys_mknod) 81 82 struct netbsd32_chmod_args; 83 84 struct netbsd32_chown_args; 85 86 struct netbsd32_break_args; 87 88 struct compat_43_netbsd32_olseek_args; 89 90 struct netbsd32_setuid_args; 91 92 struct sunos32_sys_stime_args { 93 syscallarg(sunos32_time_tp) tp; 94 }; 95 check_syscall_args(sunos32_sys_stime) 96 97 struct sunos32_sys_ptrace_args { 98 syscallarg(int) req; 99 syscallarg(pid_t) pid; 100 syscallarg(netbsd32_caddr_t) addr; 101 syscallarg(int) data; 102 syscallarg(netbsd32_charp) addr2; 103 }; 104 check_syscall_args(sunos32_sys_ptrace) 105 106 struct sunos32_sys_access_args { 107 syscallarg(const netbsd32_charp) path; 108 syscallarg(int) flags; 109 }; 110 check_syscall_args(sunos32_sys_access) 111 112 struct netbsd32_kill_args; 113 114 struct sunos32_sys_stat_args { 115 syscallarg(const netbsd32_charp) path; 116 syscallarg(netbsd32_stat43p_t) ub; 117 }; 118 check_syscall_args(sunos32_sys_stat) 119 120 struct sunos32_sys_lstat_args { 121 syscallarg(const netbsd32_charp) path; 122 syscallarg(netbsd32_stat43p_t) ub; 123 }; 124 check_syscall_args(sunos32_sys_lstat) 125 126 struct netbsd32_dup_args; 127 128 struct netbsd32_profil_args; 129 130 struct netbsd32_setgid_args; 131 132 struct netbsd32_acct_args; 133 134 struct sunos32_sys_mctl_args { 135 syscallarg(netbsd32_voidp) addr; 136 syscallarg(int) len; 137 syscallarg(int) func; 138 syscallarg(netbsd32_voidp) arg; 139 }; 140 check_syscall_args(sunos32_sys_mctl) 141 142 struct sunos32_sys_ioctl_args { 143 syscallarg(int) fd; 144 syscallarg(netbsd32_u_long) com; 145 syscallarg(netbsd32_caddr_t) data; 146 }; 147 check_syscall_args(sunos32_sys_ioctl) 148 149 struct sunos32_sys_reboot_args { 150 syscallarg(int) howto; 151 syscallarg(netbsd32_charp) bootstr; 152 }; 153 check_syscall_args(sunos32_sys_reboot) 154 155 struct netbsd32_symlink_args; 156 157 struct netbsd32_readlink_args; 158 159 struct sunos32_sys_execve_args { 160 syscallarg(const netbsd32_charp) path; 161 syscallarg(netbsd32_charpp) argp; 162 syscallarg(netbsd32_charpp) envp; 163 }; 164 check_syscall_args(sunos32_sys_execve) 165 166 struct netbsd32_umask_args; 167 168 struct netbsd32_chroot_args; 169 170 struct compat_43_netbsd32_fstat43_args; 171 172 struct sunos32_sys_omsync_args { 173 syscallarg(netbsd32_caddr_t) addr; 174 syscallarg(netbsd32_size_t) len; 175 syscallarg(int) flags; 176 }; 177 check_syscall_args(sunos32_sys_omsync) 178 179 struct netbsd32_sbrk_args; 180 181 struct netbsd32_sstk_args; 182 183 struct sunos32_sys_mmap_args { 184 syscallarg(netbsd32_voidp) addr; 185 syscallarg(netbsd32_size_t) len; 186 syscallarg(int) prot; 187 syscallarg(int) flags; 188 syscallarg(int) fd; 189 syscallarg(netbsd32_long) pos; 190 }; 191 check_syscall_args(sunos32_sys_mmap) 192 193 struct netbsd32_ovadvise_args; 194 195 struct netbsd32_munmap_args; 196 197 struct netbsd32_mprotect_args; 198 199 struct netbsd32_madvise_args; 200 201 struct netbsd32_mincore_args; 202 203 struct netbsd32_getgroups_args; 204 205 struct netbsd32_setgroups_args; 206 207 struct sunos32_sys_setpgrp_args { 208 syscallarg(int) pid; 209 syscallarg(int) pgid; 210 }; 211 check_syscall_args(sunos32_sys_setpgrp) 212 213 struct compat_50_netbsd32_setitimer_args; 214 215 struct compat_12_netbsd32_oswapon_args; 216 217 struct compat_50_netbsd32_getitimer_args; 218 219 struct compat_43_netbsd32_ogethostname_args; 220 221 struct compat_43_netbsd32_osethostname_args; 222 223 struct netbsd32_dup2_args; 224 225 struct sunos32_sys_fcntl_args { 226 syscallarg(int) fd; 227 syscallarg(int) cmd; 228 syscallarg(netbsd32_voidp) arg; 229 }; 230 check_syscall_args(sunos32_sys_fcntl) 231 232 struct compat_50_netbsd32_select_args; 233 234 struct netbsd32_fsync_args; 235 236 struct netbsd32_setpriority_args; 237 238 struct sunos32_sys_socket_args { 239 syscallarg(int) domain; 240 syscallarg(int) type; 241 syscallarg(int) protocol; 242 }; 243 check_syscall_args(sunos32_sys_socket) 244 245 struct netbsd32_connect_args; 246 247 struct compat_43_netbsd32_oaccept_args; 248 249 struct netbsd32_getpriority_args; 250 251 struct compat_43_netbsd32_osend_args; 252 253 struct compat_43_netbsd32_orecv_args; 254 255 struct netbsd32_bind_args; 256 257 struct sunos32_sys_setsockopt_args { 258 syscallarg(int) s; 259 syscallarg(int) level; 260 syscallarg(int) name; 261 syscallarg(netbsd32_caddr_t) val; 262 syscallarg(int) valsize; 263 }; 264 check_syscall_args(sunos32_sys_setsockopt) 265 266 struct netbsd32_listen_args; 267 268 struct sunos32_sys_sigvec_args { 269 syscallarg(int) signum; 270 syscallarg(netbsd32_sigvecp_t) nsv; 271 syscallarg(netbsd32_sigvecp_t) osv; 272 }; 273 check_syscall_args(sunos32_sys_sigvec) 274 275 struct compat_43_netbsd32_sigblock_args; 276 277 struct compat_43_netbsd32_sigsetmask_args; 278 279 struct sunos32_sys_sigsuspend_args { 280 syscallarg(int) mask; 281 }; 282 check_syscall_args(sunos32_sys_sigsuspend) 283 284 struct compat_43_netbsd32_osigstack_args; 285 286 struct compat_43_netbsd32_orecvmsg_args; 287 288 struct compat_43_netbsd32_osendmsg_args; 289 290 struct compat_50_netbsd32_gettimeofday_args; 291 292 struct compat_50_netbsd32_getrusage_args; 293 294 struct netbsd32_getsockopt_args; 295 296 struct netbsd32_readv_args; 297 298 struct netbsd32_writev_args; 299 300 struct compat_50_netbsd32_settimeofday_args; 301 302 struct netbsd32_fchown_args; 303 304 struct netbsd32_fchmod_args; 305 306 struct compat_43_netbsd32_orecvfrom_args; 307 308 struct netbsd32_setreuid_args; 309 310 struct netbsd32_setregid_args; 311 312 struct netbsd32_rename_args; 313 314 struct compat_43_netbsd32_otruncate_args; 315 316 struct compat_43_netbsd32_oftruncate_args; 317 318 struct netbsd32_flock_args; 319 320 struct netbsd32_sendto_args; 321 322 struct netbsd32_shutdown_args; 323 324 struct sunos32_sys_socketpair_args { 325 syscallarg(int) domain; 326 syscallarg(int) type; 327 syscallarg(int) protocol; 328 syscallarg(netbsd32_intp) rsv; 329 }; 330 check_syscall_args(sunos32_sys_socketpair) 331 332 struct netbsd32_mkdir_args; 333 334 struct netbsd32_rmdir_args; 335 336 struct compat_50_netbsd32_utimes_args; 337 338 struct sunos32_sys_sigreturn_args { 339 syscallarg(netbsd32_sigcontextp_t) sigcntxp; 340 }; 341 check_syscall_args(sunos32_sys_sigreturn) 342 343 struct compat_50_netbsd32_adjtime_args; 344 345 struct compat_43_netbsd32_ogetpeername_args; 346 347 struct sunos32_sys_getrlimit_args { 348 syscallarg(u_int) which; 349 syscallarg(netbsd32_orlimitp_t) rlp; 350 }; 351 check_syscall_args(sunos32_sys_getrlimit) 352 353 struct sunos32_sys_setrlimit_args { 354 syscallarg(u_int) which; 355 syscallarg(netbsd32_orlimitp_t) rlp; 356 }; 357 check_syscall_args(sunos32_sys_setrlimit) 358 359 struct compat_43_netbsd32_killpg_args; 360 361 struct compat_43_netbsd32_ogetsockname_args; 362 363 struct netbsd32_poll_args; 364 365 struct sunos32_sys_nfssvc_args { 366 syscallarg(int) fd; 367 }; 368 check_syscall_args(sunos32_sys_nfssvc) 369 370 struct compat_43_netbsd32_ogetdirentries_args; 371 372 struct sunos32_sys_statfs_args { 373 syscallarg(const netbsd32_charp) path; 374 syscallarg(sunos32_statfsp_t) buf; 375 }; 376 check_syscall_args(sunos32_sys_statfs) 377 378 struct sunos32_sys_fstatfs_args { 379 syscallarg(int) fd; 380 syscallarg(sunos32_statfsp_t) buf; 381 }; 382 check_syscall_args(sunos32_sys_fstatfs) 383 384 struct sunos32_sys_unmount_args { 385 syscallarg(netbsd32_charp) path; 386 }; 387 check_syscall_args(sunos32_sys_unmount) 388 #ifdef NFS 389 390 struct compat_30_sys_getfh_args; 391 #else 392 #endif 393 394 struct compat_09_netbsd32_ogetdomainname_args; 395 396 struct compat_09_netbsd32_osetdomainname_args; 397 398 struct sunos32_sys_quotactl_args { 399 syscallarg(int) cmd; 400 syscallarg(netbsd32_charp) special; 401 syscallarg(int) uid; 402 syscallarg(netbsd32_caddr_t) addr; 403 }; 404 check_syscall_args(sunos32_sys_quotactl) 405 406 struct sunos32_sys_exportfs_args { 407 syscallarg(netbsd32_charp) path; 408 syscallarg(netbsd32_charp) ex; 409 }; 410 check_syscall_args(sunos32_sys_exportfs) 411 412 struct sunos32_sys_mount_args { 413 syscallarg(netbsd32_charp) type; 414 syscallarg(netbsd32_charp) path; 415 syscallarg(int) flags; 416 syscallarg(netbsd32_caddr_t) data; 417 }; 418 check_syscall_args(sunos32_sys_mount) 419 420 struct sunos32_sys_ustat_args { 421 syscallarg(int) dev; 422 syscallarg(sunos32_ustatp_t) buf; 423 }; 424 check_syscall_args(sunos32_sys_ustat) 425 #ifdef SYSVSEM 426 427 struct compat_10_netbsd32_semsys_args; 428 #else 429 #endif 430 #ifdef SYSVMSG 431 432 struct compat_10_netbsd32_msgsys_args; 433 #else 434 #endif 435 #ifdef SYSVSHM 436 437 struct compat_10_netbsd32_shmsys_args; 438 #else 439 #endif 440 441 struct sunos32_sys_auditsys_args { 442 syscallarg(netbsd32_charp) record; 443 }; 444 check_syscall_args(sunos32_sys_auditsys) 445 446 struct sunos32_sys_getdents_args { 447 syscallarg(int) fd; 448 syscallarg(netbsd32_charp) buf; 449 syscallarg(int) nbytes; 450 }; 451 check_syscall_args(sunos32_sys_getdents) 452 453 struct netbsd32_fchdir_args; 454 455 struct netbsd32_fchroot_args; 456 457 struct sunos32_sys_sigpending_args { 458 syscallarg(netbsd32_intp) mask; 459 }; 460 check_syscall_args(sunos32_sys_sigpending) 461 462 struct netbsd32_setpgid_args; 463 464 struct netbsd32_pathconf_args; 465 466 struct netbsd32_fpathconf_args; 467 468 struct sunos32_sys_sysconf_args { 469 syscallarg(int) name; 470 }; 471 check_syscall_args(sunos32_sys_sysconf) 472 473 struct sunos32_sys_uname_args { 474 syscallarg(sunos32_utsnamep_t) name; 475 }; 476 check_syscall_args(sunos32_sys_uname) 477 478 /* 479 * System call prototypes. 480 */ 481 482 int sys_nosys(struct lwp *, const void *, register_t *); 483 484 int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *); 485 486 int sys_fork(struct lwp *, const void *, register_t *); 487 488 int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *); 489 490 int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *); 491 492 int sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *); 493 494 int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *); 495 496 int sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *); 497 498 int sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *); 499 500 int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *); 501 502 int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *); 503 504 int sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *); 505 506 int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *); 507 508 int sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *); 509 510 int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *); 511 512 int netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *); 513 514 int netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *); 515 516 int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *); 517 518 int sys_getpid_with_ppid(struct lwp *, const void *, register_t *); 519 520 int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *); 521 522 int sys_getuid_with_euid(struct lwp *, const void *, register_t *); 523 524 int sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *); 525 526 int sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *); 527 528 int sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *); 529 530 int sys_sync(struct lwp *, const void *, register_t *); 531 532 int netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *); 533 534 int sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *); 535 536 int sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *); 537 538 int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *); 539 540 int sys_pipe(struct lwp *, const void *, register_t *); 541 542 int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *); 543 544 int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *); 545 546 int sys_getgid_with_egid(struct lwp *, const void *, register_t *); 547 548 int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *); 549 550 int sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *); 551 552 int sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *); 553 554 int sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *); 555 556 int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *); 557 558 int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *); 559 560 int sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *); 561 562 int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *); 563 564 int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *); 565 566 int compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *); 567 568 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); 569 570 int sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *); 571 572 int sys_vfork(struct lwp *, const void *, register_t *); 573 574 int netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *); 575 576 int netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *); 577 578 int sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *); 579 580 int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *); 581 582 int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *); 583 584 int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *); 585 586 int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *); 587 588 int sunos32_sys_vhangup(struct lwp *, const void *, register_t *); 589 590 int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *); 591 592 int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *); 593 594 int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *); 595 596 int sys_getpgrp(struct lwp *, const void *, register_t *); 597 598 int sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *); 599 600 int compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *); 601 602 int compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *); 603 604 int compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *); 605 606 int compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *); 607 608 int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *); 609 610 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *); 611 612 int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *); 613 614 int sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *); 615 616 int compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *); 617 618 int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *); 619 620 int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *); 621 622 int sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *); 623 624 int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *); 625 626 int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *); 627 628 int netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *); 629 630 int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *); 631 632 int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *); 633 634 int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *); 635 636 int sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *); 637 638 int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *); 639 640 int sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *); 641 642 int compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *); 643 644 int compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *); 645 646 int sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *); 647 648 int compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *); 649 650 int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *); 651 652 int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *); 653 654 int compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *); 655 656 int compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *); 657 658 int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *); 659 660 int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *); 661 662 int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *); 663 664 int compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *); 665 666 int netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *); 667 668 int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *); 669 670 int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *); 671 672 int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *); 673 674 int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *); 675 676 int netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *); 677 678 int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *); 679 680 int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *); 681 682 int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *); 683 684 int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *); 685 686 int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *); 687 688 int sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *); 689 690 int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *); 691 692 int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *); 693 694 int compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *); 695 696 int sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *); 697 698 int compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *); 699 700 int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *); 701 702 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *); 703 704 int sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *); 705 706 int sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *); 707 708 int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *); 709 710 int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *); 711 712 int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *); 713 714 int sunos32_sys_nfssvc(struct lwp *, const struct sunos32_sys_nfssvc_args *, register_t *); 715 716 int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *); 717 718 int sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *); 719 720 int sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *); 721 722 int sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *); 723 724 #ifdef NFS 725 int async_daemon(struct lwp *, const void *, register_t *); 726 727 int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *); 728 729 #else 730 #endif 731 int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *); 732 733 int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *); 734 735 int sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *); 736 737 int sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *); 738 739 int sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *); 740 741 int sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *); 742 743 #ifdef SYSVSEM 744 int compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *); 745 746 #else 747 #endif 748 #ifdef SYSVMSG 749 int compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *); 750 751 #else 752 #endif 753 #ifdef SYSVSHM 754 int compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *); 755 756 #else 757 #endif 758 int sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *); 759 760 int sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *); 761 762 int sys_setsid(struct lwp *, const void *, register_t *); 763 764 int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *); 765 766 int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *); 767 768 int sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *); 769 770 int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *); 771 772 int netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *); 773 774 int netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *); 775 776 int sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *); 777 778 int sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *); 779 780 #endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */ 781