1 /* $NetBSD: sunos_syscallargs.h,v 1.70 2010/03/03 11:08:00 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.75 2010/03/03 11:07:17 pooka Exp 8 */ 9 10 #ifndef _SUNOS_SYS_SYSCALLARGS_H_ 11 #define _SUNOS_SYS_SYSCALLARGS_H_ 12 13 #define SUNOS_SYS_MAXSYSARGS 8 14 15 #undef syscallarg 16 #define syscallarg(x) \ 17 union { \ 18 register_t pad; \ 19 struct { x datum; } le; \ 20 struct { /* LINTED zero array dimension */ \ 21 int8_t pad[ /* CONSTCOND */ \ 22 (sizeof (register_t) < sizeof (x)) \ 23 ? 0 \ 24 : sizeof (register_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 <= SUNOS_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; 33 34 struct sys_exit_args; 35 36 struct sys_read_args; 37 38 struct sys_write_args; 39 40 struct sunos_sys_open_args { 41 syscallarg(const char *) path; 42 syscallarg(int) flags; 43 syscallarg(int) mode; 44 }; 45 check_syscall_args(sunos_sys_open) 46 47 struct sys_close_args; 48 49 struct sunos_sys_wait4_args { 50 syscallarg(int) pid; 51 syscallarg(int *) status; 52 syscallarg(int) options; 53 syscallarg(struct rusage50 *) rusage; 54 }; 55 check_syscall_args(sunos_sys_wait4) 56 57 struct sunos_sys_creat_args { 58 syscallarg(const char *) path; 59 syscallarg(int) mode; 60 }; 61 check_syscall_args(sunos_sys_creat) 62 63 struct sys_link_args; 64 65 struct sys_unlink_args; 66 67 struct sunos_sys_execv_args { 68 syscallarg(const char *) path; 69 syscallarg(char **) argp; 70 }; 71 check_syscall_args(sunos_sys_execv) 72 73 struct sys_chdir_args; 74 75 struct sunos_sys_mknod_args { 76 syscallarg(const char *) path; 77 syscallarg(int) mode; 78 syscallarg(int) dev; 79 }; 80 check_syscall_args(sunos_sys_mknod) 81 82 struct sys_chmod_args; 83 84 struct sys_chown_args; 85 86 struct sys_obreak_args; 87 88 struct compat_43_sys_lseek_args; 89 90 struct sys_setuid_args; 91 92 struct sunos_sys_stime_args { 93 syscallarg(sunos_time_t *) tp; 94 }; 95 check_syscall_args(sunos_sys_stime) 96 97 struct sunos_sys_ptrace_args { 98 syscallarg(int) req; 99 syscallarg(pid_t) pid; 100 syscallarg(void *) addr; 101 syscallarg(int) data; 102 syscallarg(char *) addr2; 103 }; 104 check_syscall_args(sunos_sys_ptrace) 105 106 struct sys_access_args; 107 108 struct sys_kill_args; 109 110 struct compat_43_sys_stat_args; 111 112 struct compat_43_sys_lstat_args; 113 114 struct sys_dup_args; 115 116 struct sys_profil_args; 117 118 struct sys_setgid_args; 119 120 struct sys_acct_args; 121 122 struct sunos_sys_mctl_args { 123 syscallarg(void *) addr; 124 syscallarg(int) len; 125 syscallarg(int) func; 126 syscallarg(void *) arg; 127 }; 128 check_syscall_args(sunos_sys_mctl) 129 130 struct sunos_sys_ioctl_args { 131 syscallarg(int) fd; 132 syscallarg(u_long) com; 133 syscallarg(void *) data; 134 }; 135 check_syscall_args(sunos_sys_ioctl) 136 137 struct sunos_sys_reboot_args { 138 syscallarg(int) howto; 139 syscallarg(char *) bootstr; 140 }; 141 check_syscall_args(sunos_sys_reboot) 142 143 struct sys_symlink_args; 144 145 struct sys_readlink_args; 146 147 struct sunos_sys_execve_args { 148 syscallarg(const char *) path; 149 syscallarg(char **) argp; 150 syscallarg(char **) envp; 151 }; 152 check_syscall_args(sunos_sys_execve) 153 154 struct sys_umask_args; 155 156 struct sys_chroot_args; 157 158 struct compat_43_sys_fstat_args; 159 160 struct sunos_sys_omsync_args { 161 syscallarg(void *) addr; 162 syscallarg(size_t) len; 163 syscallarg(int) flags; 164 }; 165 check_syscall_args(sunos_sys_omsync) 166 167 struct sys_sbrk_args; 168 169 struct sys_sstk_args; 170 171 struct sunos_sys_mmap_args { 172 syscallarg(void *) addr; 173 syscallarg(size_t) len; 174 syscallarg(int) prot; 175 syscallarg(int) flags; 176 syscallarg(int) fd; 177 syscallarg(long) pos; 178 }; 179 check_syscall_args(sunos_sys_mmap) 180 181 struct sys_ovadvise_args; 182 183 struct sys_munmap_args; 184 185 struct sys_mprotect_args; 186 187 struct sys_madvise_args; 188 189 struct sys_mincore_args; 190 191 struct sys_getgroups_args; 192 193 struct sys_setgroups_args; 194 195 struct sunos_sys_setpgrp_args { 196 syscallarg(int) pid; 197 syscallarg(int) pgid; 198 }; 199 check_syscall_args(sunos_sys_setpgrp) 200 201 struct compat_50_sys_setitimer_args; 202 203 struct compat_12_sys_swapon_args; 204 205 struct compat_50_sys_getitimer_args; 206 207 struct compat_43_sys_gethostname_args; 208 209 struct compat_43_sys_sethostname_args; 210 211 struct sys_dup2_args; 212 213 struct sunos_sys_fcntl_args { 214 syscallarg(int) fd; 215 syscallarg(int) cmd; 216 syscallarg(void *) arg; 217 }; 218 check_syscall_args(sunos_sys_fcntl) 219 220 struct compat_50_sys_select_args; 221 222 struct sys_fsync_args; 223 224 struct sys_setpriority_args; 225 226 struct sunos_sys_socket_args { 227 syscallarg(int) domain; 228 syscallarg(int) type; 229 syscallarg(int) protocol; 230 }; 231 check_syscall_args(sunos_sys_socket) 232 233 struct sys_connect_args; 234 235 struct compat_43_sys_accept_args; 236 237 struct sys_getpriority_args; 238 239 struct compat_43_sys_send_args; 240 241 struct compat_43_sys_recv_args; 242 243 struct sys_bind_args; 244 245 struct sunos_sys_setsockopt_args { 246 syscallarg(int) s; 247 syscallarg(int) level; 248 syscallarg(int) name; 249 syscallarg(void *) val; 250 syscallarg(int) valsize; 251 }; 252 check_syscall_args(sunos_sys_setsockopt) 253 254 struct sys_listen_args; 255 256 struct sunos_sys_sigvec_args { 257 syscallarg(int) signum; 258 syscallarg(struct sigvec *) nsv; 259 syscallarg(struct sigvec *) osv; 260 }; 261 check_syscall_args(sunos_sys_sigvec) 262 263 struct compat_43_sys_sigblock_args; 264 265 struct compat_43_sys_sigsetmask_args; 266 267 struct sunos_sys_sigsuspend_args { 268 syscallarg(int) mask; 269 }; 270 check_syscall_args(sunos_sys_sigsuspend) 271 272 struct compat_43_sys_sigstack_args; 273 274 struct compat_43_sys_recvmsg_args; 275 276 struct compat_43_sys_sendmsg_args; 277 278 struct compat_50_sys_gettimeofday_args; 279 280 struct compat_50_sys_getrusage_args; 281 282 struct sys_getsockopt_args; 283 284 struct sys_readv_args; 285 286 struct sys_writev_args; 287 288 struct compat_50_sys_settimeofday_args; 289 290 struct sys_fchown_args; 291 292 struct sys_fchmod_args; 293 294 struct compat_43_sys_recvfrom_args; 295 296 struct sys_setreuid_args; 297 298 struct sys_setregid_args; 299 300 struct sys_rename_args; 301 302 struct compat_43_sys_truncate_args; 303 304 struct compat_43_sys_ftruncate_args; 305 306 struct sys_flock_args; 307 308 struct sys_sendto_args; 309 310 struct sys_shutdown_args; 311 312 struct sunos_sys_socketpair_args { 313 syscallarg(int) domain; 314 syscallarg(int) type; 315 syscallarg(int) protocol; 316 syscallarg(int *) rsv; 317 }; 318 check_syscall_args(sunos_sys_socketpair) 319 320 struct sys_mkdir_args; 321 322 struct sys_rmdir_args; 323 324 struct compat_50_sys_utimes_args; 325 326 struct sunos_sys_sigreturn_args { 327 syscallarg(struct sigcontext *) sigcntxp; 328 }; 329 check_syscall_args(sunos_sys_sigreturn) 330 331 struct compat_50_sys_adjtime_args; 332 333 struct compat_43_sys_getpeername_args; 334 335 struct sunos_sys_getrlimit_args { 336 syscallarg(u_int) which; 337 syscallarg(struct orlimit *) rlp; 338 }; 339 check_syscall_args(sunos_sys_getrlimit) 340 341 struct sunos_sys_setrlimit_args { 342 syscallarg(u_int) which; 343 syscallarg(struct orlimit *) rlp; 344 }; 345 check_syscall_args(sunos_sys_setrlimit) 346 347 struct compat_43_sys_killpg_args; 348 349 struct compat_43_sys_getsockname_args; 350 351 struct sys_poll_args; 352 353 struct compat_12_sys_getdirentries_args; 354 355 struct sunos_sys_statfs_args { 356 syscallarg(const char *) path; 357 syscallarg(struct sunos_statfs *) buf; 358 }; 359 check_syscall_args(sunos_sys_statfs) 360 361 struct sunos_sys_fstatfs_args { 362 syscallarg(int) fd; 363 syscallarg(struct sunos_statfs *) buf; 364 }; 365 check_syscall_args(sunos_sys_fstatfs) 366 367 struct sunos_sys_unmount_args { 368 syscallarg(char *) path; 369 }; 370 check_syscall_args(sunos_sys_unmount) 371 372 struct compat_30_sys_getfh_args; 373 374 struct compat_09_sys_getdomainname_args; 375 376 struct compat_09_sys_setdomainname_args; 377 378 struct sunos_sys_quotactl_args { 379 syscallarg(int) cmd; 380 syscallarg(char *) special; 381 syscallarg(int) uid; 382 syscallarg(void *) addr; 383 }; 384 check_syscall_args(sunos_sys_quotactl) 385 386 struct sunos_sys_exportfs_args { 387 syscallarg(char *) path; 388 syscallarg(char *) ex; 389 }; 390 check_syscall_args(sunos_sys_exportfs) 391 392 struct sunos_sys_mount_args { 393 syscallarg(char *) type; 394 syscallarg(char *) dir; 395 syscallarg(int) flags; 396 syscallarg(void *) data; 397 }; 398 check_syscall_args(sunos_sys_mount) 399 400 struct sunos_sys_ustat_args { 401 syscallarg(int) dev; 402 syscallarg(struct sunos_ustat *) buf; 403 }; 404 check_syscall_args(sunos_sys_ustat) 405 #ifdef SYSVSEM 406 407 struct compat_10_sys_semsys_args; 408 #else 409 #endif 410 #ifdef SYSVMSG 411 412 struct compat_10_sys_msgsys_args; 413 #else 414 #endif 415 #ifdef SYSVSHM 416 417 struct compat_10_sys_shmsys_args; 418 #else 419 #endif 420 421 struct sunos_sys_auditsys_args { 422 syscallarg(char *) record; 423 }; 424 check_syscall_args(sunos_sys_auditsys) 425 426 struct sunos_sys_getdents_args { 427 syscallarg(int) fd; 428 syscallarg(char *) buf; 429 syscallarg(int) nbytes; 430 }; 431 check_syscall_args(sunos_sys_getdents) 432 433 struct sys_fchdir_args; 434 435 struct sys_fchroot_args; 436 437 struct sunos_sys_sigpending_args { 438 syscallarg(int *) mask; 439 }; 440 check_syscall_args(sunos_sys_sigpending) 441 442 struct sys_setpgid_args; 443 444 struct sys_pathconf_args; 445 446 struct sys_fpathconf_args; 447 448 struct sunos_sys_sysconf_args { 449 syscallarg(int) name; 450 }; 451 check_syscall_args(sunos_sys_sysconf) 452 453 struct sunos_sys_uname_args { 454 syscallarg(struct sunos_utsname *) name; 455 }; 456 check_syscall_args(sunos_sys_uname) 457 458 /* 459 * System call prototypes. 460 */ 461 462 int sys_nosys(struct lwp *, const void *, register_t *); 463 464 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); 465 466 int sys_fork(struct lwp *, const void *, register_t *); 467 468 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 469 470 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 471 472 int sunos_sys_open(struct lwp *, const struct sunos_sys_open_args *, register_t *); 473 474 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 475 476 int sunos_sys_wait4(struct lwp *, const struct sunos_sys_wait4_args *, register_t *); 477 478 int sunos_sys_creat(struct lwp *, const struct sunos_sys_creat_args *, register_t *); 479 480 int sys_link(struct lwp *, const struct sys_link_args *, register_t *); 481 482 int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *); 483 484 int sunos_sys_execv(struct lwp *, const struct sunos_sys_execv_args *, register_t *); 485 486 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *); 487 488 int sunos_sys_mknod(struct lwp *, const struct sunos_sys_mknod_args *, register_t *); 489 490 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *); 491 492 int sys_chown(struct lwp *, const struct sys_chown_args *, register_t *); 493 494 int sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *); 495 496 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *); 497 498 int sys_getpid_with_ppid(struct lwp *, const void *, register_t *); 499 500 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *); 501 502 int sys_getuid_with_euid(struct lwp *, const void *, register_t *); 503 504 int sunos_sys_stime(struct lwp *, const struct sunos_sys_stime_args *, register_t *); 505 506 int sunos_sys_ptrace(struct lwp *, const struct sunos_sys_ptrace_args *, register_t *); 507 508 int sys_access(struct lwp *, const struct sys_access_args *, register_t *); 509 510 int sys_sync(struct lwp *, const void *, register_t *); 511 512 int sys_kill(struct lwp *, const struct sys_kill_args *, register_t *); 513 514 int compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *); 515 516 int compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *); 517 518 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *); 519 520 int sys_pipe(struct lwp *, const void *, register_t *); 521 522 int sys_profil(struct lwp *, const struct sys_profil_args *, register_t *); 523 524 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *); 525 526 int sys_getgid_with_egid(struct lwp *, const void *, register_t *); 527 528 int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *); 529 530 int sunos_sys_mctl(struct lwp *, const struct sunos_sys_mctl_args *, register_t *); 531 532 int sunos_sys_ioctl(struct lwp *, const struct sunos_sys_ioctl_args *, register_t *); 533 534 int sunos_sys_reboot(struct lwp *, const struct sunos_sys_reboot_args *, register_t *); 535 536 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *); 537 538 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *); 539 540 int sunos_sys_execve(struct lwp *, const struct sunos_sys_execve_args *, register_t *); 541 542 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *); 543 544 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *); 545 546 int compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *); 547 548 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); 549 550 int sunos_sys_omsync(struct lwp *, const struct sunos_sys_omsync_args *, register_t *); 551 552 int sys_vfork(struct lwp *, const void *, register_t *); 553 554 int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *); 555 556 int sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *); 557 558 int sunos_sys_mmap(struct lwp *, const struct sunos_sys_mmap_args *, register_t *); 559 560 int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *); 561 562 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); 563 564 int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *); 565 566 int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); 567 568 int sunos_sys_vhangup(struct lwp *, const void *, register_t *); 569 570 int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *); 571 572 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *); 573 574 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *); 575 576 int sys_getpgrp(struct lwp *, const void *, register_t *); 577 578 int sunos_sys_setpgrp(struct lwp *, const struct sunos_sys_setpgrp_args *, register_t *); 579 580 int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); 581 582 int compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *); 583 584 int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); 585 586 int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *); 587 588 int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *); 589 590 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *); 591 592 int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *); 593 594 int sunos_sys_fcntl(struct lwp *, const struct sunos_sys_fcntl_args *, register_t *); 595 596 int compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *); 597 598 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *); 599 600 int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *); 601 602 int sunos_sys_socket(struct lwp *, const struct sunos_sys_socket_args *, register_t *); 603 604 int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *); 605 606 int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *); 607 608 int sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *); 609 610 int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *); 611 612 int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *); 613 614 int sys_bind(struct lwp *, const struct sys_bind_args *, register_t *); 615 616 int sunos_sys_setsockopt(struct lwp *, const struct sunos_sys_setsockopt_args *, register_t *); 617 618 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *); 619 620 int sunos_sys_sigvec(struct lwp *, const struct sunos_sys_sigvec_args *, register_t *); 621 622 int compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *); 623 624 int compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *); 625 626 int sunos_sys_sigsuspend(struct lwp *, const struct sunos_sys_sigsuspend_args *, register_t *); 627 628 int compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *); 629 630 int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *); 631 632 int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *); 633 634 int compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *); 635 636 int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); 637 638 int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *); 639 640 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *); 641 642 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *); 643 644 int compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *); 645 646 int sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *); 647 648 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *); 649 650 int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *); 651 652 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *); 653 654 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *); 655 656 int sys_rename(struct lwp *, const struct sys_rename_args *, register_t *); 657 658 int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *); 659 660 int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *); 661 662 int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *); 663 664 int sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *); 665 666 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *); 667 668 int sunos_sys_socketpair(struct lwp *, const struct sunos_sys_socketpair_args *, register_t *); 669 670 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *); 671 672 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *); 673 674 int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *); 675 676 int sunos_sys_sigreturn(struct lwp *, const struct sunos_sys_sigreturn_args *, register_t *); 677 678 int compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *); 679 680 int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *); 681 682 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *); 683 684 int sunos_sys_getrlimit(struct lwp *, const struct sunos_sys_getrlimit_args *, register_t *); 685 686 int sunos_sys_setrlimit(struct lwp *, const struct sunos_sys_setrlimit_args *, register_t *); 687 688 int compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *); 689 690 int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *); 691 692 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *); 693 694 int compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *); 695 696 int sunos_sys_statfs(struct lwp *, const struct sunos_sys_statfs_args *, register_t *); 697 698 int sunos_sys_fstatfs(struct lwp *, const struct sunos_sys_fstatfs_args *, register_t *); 699 700 int sunos_sys_unmount(struct lwp *, const struct sunos_sys_unmount_args *, register_t *); 701 702 int async_daemon(struct lwp *, const void *, register_t *); 703 704 int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *); 705 706 int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *); 707 708 int compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *); 709 710 int sunos_sys_quotactl(struct lwp *, const struct sunos_sys_quotactl_args *, register_t *); 711 712 int sunos_sys_exportfs(struct lwp *, const struct sunos_sys_exportfs_args *, register_t *); 713 714 int sunos_sys_mount(struct lwp *, const struct sunos_sys_mount_args *, register_t *); 715 716 int sunos_sys_ustat(struct lwp *, const struct sunos_sys_ustat_args *, register_t *); 717 718 #ifdef SYSVSEM 719 int compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *); 720 721 #else 722 #endif 723 #ifdef SYSVMSG 724 int compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *); 725 726 #else 727 #endif 728 #ifdef SYSVSHM 729 int compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *); 730 731 #else 732 #endif 733 int sunos_sys_auditsys(struct lwp *, const struct sunos_sys_auditsys_args *, register_t *); 734 735 int sunos_sys_getdents(struct lwp *, const struct sunos_sys_getdents_args *, register_t *); 736 737 int sys_setsid(struct lwp *, const void *, register_t *); 738 739 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); 740 741 int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *); 742 743 int sunos_sys_sigpending(struct lwp *, const struct sunos_sys_sigpending_args *, register_t *); 744 745 int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *); 746 747 int sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *); 748 749 int sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *); 750 751 int sunos_sys_sysconf(struct lwp *, const struct sunos_sys_sysconf_args *, register_t *); 752 753 int sunos_sys_uname(struct lwp *, const struct sunos_sys_uname_args *, register_t *); 754 755 #endif /* _SUNOS_SYS_SYSCALLARGS_H_ */ 756