Home | History | Annotate | Line # | Download | only in ultrix
ultrix_syscallargs.h revision 1.48
      1 /* $NetBSD: ultrix_syscallargs.h,v 1.48 2007/12/20 23:10:52 dsl 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.44 2007/03/04 06:01:38 christos Exp
      8  */
      9 
     10 #ifndef _ULTRIX_SYS_SYSCALLARGS_H_
     11 #define	_ULTRIX_SYS_SYSCALLARGS_H_
     12 
     13 #define	ULTRIX_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 		<= ULTRIX_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 ultrix_sys_open_args {
     41 	syscallarg(const char *) path;
     42 	syscallarg(int) flags;
     43 	syscallarg(int) mode;
     44 };
     45 check_syscall_args(ultrix_sys_open)
     46 
     47 struct sys_close_args;
     48 
     49 struct ultrix_sys_creat_args {
     50 	syscallarg(const char *) path;
     51 	syscallarg(int) mode;
     52 };
     53 check_syscall_args(ultrix_sys_creat)
     54 
     55 struct sys_link_args;
     56 
     57 struct sys_unlink_args;
     58 
     59 struct ultrix_sys_execv_args {
     60 	syscallarg(const char *) path;
     61 	syscallarg(char **) argp;
     62 };
     63 check_syscall_args(ultrix_sys_execv)
     64 
     65 struct sys_chdir_args;
     66 
     67 struct ultrix_sys_mknod_args {
     68 	syscallarg(const char *) path;
     69 	syscallarg(int) mode;
     70 	syscallarg(int) dev;
     71 };
     72 check_syscall_args(ultrix_sys_mknod)
     73 
     74 struct sys_chmod_args;
     75 
     76 struct sys___posix_chown_args;
     77 
     78 struct sys_obreak_args;
     79 
     80 struct compat_43_sys_lseek_args;
     81 
     82 struct ultrix_sys_mount_args {
     83 	syscallarg(char *) special;
     84 	syscallarg(char *) dir;
     85 	syscallarg(int) rdonly;
     86 	syscallarg(int) type;
     87 	syscallarg(void *) data;
     88 };
     89 check_syscall_args(ultrix_sys_mount)
     90 
     91 struct sys_setuid_args;
     92 
     93 struct ultrix_sys_access_args {
     94 	syscallarg(const char *) path;
     95 	syscallarg(int) flags;
     96 };
     97 check_syscall_args(ultrix_sys_access)
     98 
     99 struct sys_kill_args;
    100 
    101 struct ultrix_sys_stat_args {
    102 	syscallarg(const char *) path;
    103 	syscallarg(struct stat43 *) ub;
    104 };
    105 check_syscall_args(ultrix_sys_stat)
    106 
    107 struct ultrix_sys_lstat_args {
    108 	syscallarg(const char *) path;
    109 	syscallarg(struct stat43 *) ub;
    110 };
    111 check_syscall_args(ultrix_sys_lstat)
    112 
    113 struct sys_dup_args;
    114 
    115 struct sys_profil_args;
    116 
    117 struct sys_acct_args;
    118 
    119 struct ultrix_sys_ioctl_args {
    120 	syscallarg(int) fd;
    121 	syscallarg(u_long) com;
    122 	syscallarg(void *) data;
    123 };
    124 check_syscall_args(ultrix_sys_ioctl)
    125 
    126 struct sys_reboot_args;
    127 
    128 struct sys_symlink_args;
    129 
    130 struct sys_readlink_args;
    131 
    132 struct ultrix_sys_execve_args {
    133 	syscallarg(const char *) path;
    134 	syscallarg(char **) argp;
    135 	syscallarg(char **) envp;
    136 };
    137 check_syscall_args(ultrix_sys_execve)
    138 
    139 struct sys_umask_args;
    140 
    141 struct sys_chroot_args;
    142 
    143 struct compat_43_sys_fstat_args;
    144 
    145 struct sys_sbrk_args;
    146 
    147 struct sys_sstk_args;
    148 
    149 struct ultrix_sys_mmap_args {
    150 	syscallarg(void *) addr;
    151 	syscallarg(size_t) len;
    152 	syscallarg(int) prot;
    153 	syscallarg(u_int) flags;
    154 	syscallarg(int) fd;
    155 	syscallarg(long) pos;
    156 };
    157 check_syscall_args(ultrix_sys_mmap)
    158 
    159 struct sys_ovadvise_args;
    160 
    161 struct sys_munmap_args;
    162 
    163 struct sys_mprotect_args;
    164 
    165 struct sys_madvise_args;
    166 
    167 struct sys_mincore_args;
    168 
    169 struct sys_getgroups_args;
    170 
    171 struct sys_setgroups_args;
    172 
    173 struct ultrix_sys_setpgrp_args {
    174 	syscallarg(int) pid;
    175 	syscallarg(int) pgid;
    176 };
    177 check_syscall_args(ultrix_sys_setpgrp)
    178 
    179 struct sys_setitimer_args;
    180 
    181 struct ultrix_sys_wait3_args {
    182 	syscallarg(int *) status;
    183 	syscallarg(int) options;
    184 	syscallarg(struct rusage *) rusage;
    185 };
    186 check_syscall_args(ultrix_sys_wait3)
    187 
    188 struct compat_12_sys_swapon_args;
    189 
    190 struct sys_getitimer_args;
    191 
    192 struct compat_43_sys_gethostname_args;
    193 
    194 struct compat_43_sys_sethostname_args;
    195 
    196 struct sys_dup2_args;
    197 
    198 struct ultrix_sys_fcntl_args {
    199 	syscallarg(int) fd;
    200 	syscallarg(int) cmd;
    201 	syscallarg(void *) arg;
    202 };
    203 check_syscall_args(ultrix_sys_fcntl)
    204 
    205 struct ultrix_sys_select_args {
    206 	syscallarg(u_int) nd;
    207 	syscallarg(fd_set *) in;
    208 	syscallarg(fd_set *) ou;
    209 	syscallarg(fd_set *) ex;
    210 	syscallarg(struct timeval *) tv;
    211 };
    212 check_syscall_args(ultrix_sys_select)
    213 
    214 struct sys_fsync_args;
    215 
    216 struct sys_setpriority_args;
    217 
    218 struct compat_30_sys_socket_args;
    219 
    220 struct sys_connect_args;
    221 
    222 struct compat_43_sys_accept_args;
    223 
    224 struct sys_getpriority_args;
    225 
    226 struct compat_43_sys_send_args;
    227 
    228 struct compat_43_sys_recv_args;
    229 
    230 struct ultrix_sys_sigreturn_args {
    231 	syscallarg(struct sigcontext *) sigcntxp;
    232 };
    233 check_syscall_args(ultrix_sys_sigreturn)
    234 
    235 struct sys_bind_args;
    236 
    237 struct ultrix_sys_setsockopt_args {
    238 	syscallarg(int) s;
    239 	syscallarg(int) level;
    240 	syscallarg(int) name;
    241 	syscallarg(void *) val;
    242 	syscallarg(int) valsize;
    243 };
    244 check_syscall_args(ultrix_sys_setsockopt)
    245 
    246 struct sys_listen_args;
    247 
    248 struct ultrix_sys_sigvec_args {
    249 	syscallarg(int) signum;
    250 	syscallarg(struct sigvec *) nsv;
    251 	syscallarg(struct sigvec *) osv;
    252 };
    253 check_syscall_args(ultrix_sys_sigvec)
    254 
    255 struct compat_43_sys_sigblock_args;
    256 
    257 struct compat_43_sys_sigsetmask_args;
    258 
    259 struct ultrix_sys_sigsuspend_args {
    260 	syscallarg(int) mask;
    261 };
    262 check_syscall_args(ultrix_sys_sigsuspend)
    263 
    264 struct compat_43_sys_sigstack_args;
    265 
    266 struct compat_43_sys_recvmsg_args;
    267 
    268 struct compat_43_sys_sendmsg_args;
    269 
    270 struct sys_gettimeofday_args;
    271 
    272 struct sys_getrusage_args;
    273 
    274 struct sys_getsockopt_args;
    275 
    276 struct sys_readv_args;
    277 
    278 struct sys_writev_args;
    279 
    280 struct sys_settimeofday_args;
    281 
    282 struct sys___posix_fchown_args;
    283 
    284 struct sys_fchmod_args;
    285 
    286 struct compat_43_sys_recvfrom_args;
    287 
    288 struct sys_setreuid_args;
    289 
    290 struct sys_setregid_args;
    291 
    292 struct sys_rename_args;
    293 
    294 struct compat_43_sys_truncate_args;
    295 
    296 struct compat_43_sys_ftruncate_args;
    297 
    298 struct sys_flock_args;
    299 
    300 struct sys_sendto_args;
    301 
    302 struct sys_shutdown_args;
    303 
    304 struct sys_socketpair_args;
    305 
    306 struct sys_mkdir_args;
    307 
    308 struct sys_rmdir_args;
    309 
    310 struct sys_utimes_args;
    311 
    312 struct ultrix_sys_sigcleanup_args {
    313 	syscallarg(struct sigcontext *) sigcntxp;
    314 };
    315 check_syscall_args(ultrix_sys_sigcleanup)
    316 
    317 struct sys_adjtime_args;
    318 
    319 struct compat_43_sys_getpeername_args;
    320 
    321 struct compat_43_sys_getrlimit_args;
    322 
    323 struct compat_43_sys_setrlimit_args;
    324 
    325 struct compat_43_sys_killpg_args;
    326 
    327 struct compat_43_sys_getsockname_args;
    328 #ifdef __mips
    329 
    330 struct ultrix_sys_cacheflush_args {
    331 	syscallarg(char *) addr;
    332 	syscallarg(int) nbytes;
    333 	syscallarg(int) whichcache;
    334 };
    335 check_syscall_args(ultrix_sys_cacheflush)
    336 
    337 struct ultrix_sys_cachectl_args {
    338 	syscallarg(char *) addr;
    339 	syscallarg(int) nbytes;
    340 	syscallarg(int) cacheop;
    341 };
    342 check_syscall_args(ultrix_sys_cachectl)
    343 #else	/* !mips */
    344 #endif	/* !mips */
    345 #ifdef NFSSERVER
    346 
    347 struct ultrix_sys_nfssvc_args {
    348 	syscallarg(int) fd;
    349 };
    350 check_syscall_args(ultrix_sys_nfssvc)
    351 #else
    352 #endif
    353 
    354 struct compat_43_sys_getdirentries_args;
    355 
    356 struct ultrix_sys_statfs_args {
    357 	syscallarg(const char *) path;
    358 	syscallarg(struct ultrix_statfs *) buf;
    359 };
    360 check_syscall_args(ultrix_sys_statfs)
    361 
    362 struct ultrix_sys_fstatfs_args {
    363 	syscallarg(int) fd;
    364 	syscallarg(struct ultrix_statfs *) buf;
    365 };
    366 check_syscall_args(ultrix_sys_fstatfs)
    367 #ifdef NFS
    368 
    369 struct compat_30_sys_getfh_args;
    370 #else
    371 #endif
    372 
    373 struct compat_09_sys_getdomainname_args;
    374 
    375 struct compat_09_sys_setdomainname_args;
    376 
    377 struct ultrix_sys_quotactl_args {
    378 	syscallarg(int) cmd;
    379 	syscallarg(char *) special;
    380 	syscallarg(int) uid;
    381 	syscallarg(void *) addr;
    382 };
    383 check_syscall_args(ultrix_sys_quotactl)
    384 
    385 struct ultrix_sys_exportfs_args {
    386 	syscallarg(char *) path;
    387 	syscallarg(char *) ex;
    388 };
    389 check_syscall_args(ultrix_sys_exportfs)
    390 
    391 struct ultrix_sys_uname_args {
    392 	syscallarg(struct ultrix_utsname *) name;
    393 };
    394 check_syscall_args(ultrix_sys_uname)
    395 
    396 struct ultrix_sys_shmsys_args {
    397 	syscallarg(u_int) shmop;
    398 	syscallarg(u_int) a2;
    399 	syscallarg(u_int) a3;
    400 	syscallarg(u_int) a4;
    401 };
    402 check_syscall_args(ultrix_sys_shmsys)
    403 
    404 struct ultrix_sys_ustat_args {
    405 	syscallarg(int) dev;
    406 	syscallarg(struct ultrix_ustat *) buf;
    407 };
    408 check_syscall_args(ultrix_sys_ustat)
    409 
    410 struct ultrix_sys_getmnt_args {
    411 	syscallarg(int *) start;
    412 	syscallarg(struct ultrix_fs_data *) buf;
    413 	syscallarg(int) bufsize;
    414 	syscallarg(int) mode;
    415 	syscallarg(char *) path;
    416 };
    417 check_syscall_args(ultrix_sys_getmnt)
    418 
    419 struct ultrix_sys_sigpending_args {
    420 	syscallarg(int *) mask;
    421 };
    422 check_syscall_args(ultrix_sys_sigpending)
    423 
    424 struct ultrix_sys_waitpid_args {
    425 	syscallarg(int) pid;
    426 	syscallarg(int *) status;
    427 	syscallarg(int) options;
    428 };
    429 check_syscall_args(ultrix_sys_waitpid)
    430 
    431 struct ultrix_sys_getsysinfo_args {
    432 	syscallarg(unsigned) op;
    433 	syscallarg(char *) buffer;
    434 	syscallarg(unsigned) nbytes;
    435 	syscallarg(int *) start;
    436 	syscallarg(char *) arg;
    437 };
    438 check_syscall_args(ultrix_sys_getsysinfo)
    439 
    440 struct ultrix_sys_setsysinfo_args {
    441 	syscallarg(unsigned) op;
    442 	syscallarg(char *) buffer;
    443 	syscallarg(unsigned) nbytes;
    444 	syscallarg(unsigned) arg;
    445 	syscallarg(unsigned) flag;
    446 };
    447 check_syscall_args(ultrix_sys_setsysinfo)
    448 
    449 /*
    450  * System call prototypes.
    451  */
    452 
    453 int	sys_nosys(struct lwp *, const void *, register_t *);
    454 
    455 int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
    456 
    457 int	sys_fork(struct lwp *, const void *, register_t *);
    458 
    459 int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
    460 
    461 int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
    462 
    463 int	ultrix_sys_open(struct lwp *, const struct ultrix_sys_open_args *, register_t *);
    464 
    465 int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
    466 
    467 int	compat_43_sys_wait(struct lwp *, const void *, register_t *);
    468 
    469 int	ultrix_sys_creat(struct lwp *, const struct ultrix_sys_creat_args *, register_t *);
    470 
    471 int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
    472 
    473 int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
    474 
    475 int	ultrix_sys_execv(struct lwp *, const struct ultrix_sys_execv_args *, register_t *);
    476 
    477 int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
    478 
    479 int	ultrix_sys_mknod(struct lwp *, const struct ultrix_sys_mknod_args *, register_t *);
    480 
    481 int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
    482 
    483 int	sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
    484 
    485 int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
    486 
    487 int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
    488 
    489 int	sys_getpid(struct lwp *, const void *, register_t *);
    490 
    491 int	ultrix_sys_mount(struct lwp *, const struct ultrix_sys_mount_args *, register_t *);
    492 
    493 int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
    494 
    495 int	sys_getuid(struct lwp *, const void *, register_t *);
    496 
    497 int	ultrix_sys_access(struct lwp *, const struct ultrix_sys_access_args *, register_t *);
    498 
    499 int	sys_sync(struct lwp *, const void *, register_t *);
    500 
    501 int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
    502 
    503 int	ultrix_sys_stat(struct lwp *, const struct ultrix_sys_stat_args *, register_t *);
    504 
    505 int	ultrix_sys_lstat(struct lwp *, const struct ultrix_sys_lstat_args *, register_t *);
    506 
    507 int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
    508 
    509 int	sys_pipe(struct lwp *, const void *, register_t *);
    510 
    511 int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
    512 
    513 int	sys_getgid(struct lwp *, const void *, register_t *);
    514 
    515 int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
    516 
    517 int	ultrix_sys_ioctl(struct lwp *, const struct ultrix_sys_ioctl_args *, register_t *);
    518 
    519 int	sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
    520 
    521 int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
    522 
    523 int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
    524 
    525 int	ultrix_sys_execve(struct lwp *, const struct ultrix_sys_execve_args *, register_t *);
    526 
    527 int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
    528 
    529 int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
    530 
    531 int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
    532 
    533 int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    534 
    535 int	sys_vfork(struct lwp *, const void *, register_t *);
    536 
    537 int	sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
    538 
    539 int	sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
    540 
    541 int	ultrix_sys_mmap(struct lwp *, const struct ultrix_sys_mmap_args *, register_t *);
    542 
    543 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
    544 
    545 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
    546 
    547 int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
    548 
    549 int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
    550 
    551 int	ultrix_sys_vhangup(struct lwp *, const void *, register_t *);
    552 
    553 int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
    554 
    555 int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
    556 
    557 int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
    558 
    559 int	sys_getpgrp(struct lwp *, const void *, register_t *);
    560 
    561 int	ultrix_sys_setpgrp(struct lwp *, const struct ultrix_sys_setpgrp_args *, register_t *);
    562 
    563 int	sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *);
    564 
    565 int	ultrix_sys_wait3(struct lwp *, const struct ultrix_sys_wait3_args *, register_t *);
    566 
    567 int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
    568 
    569 int	sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *);
    570 
    571 int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
    572 
    573 int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
    574 
    575 int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    576 
    577 int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
    578 
    579 int	ultrix_sys_fcntl(struct lwp *, const struct ultrix_sys_fcntl_args *, register_t *);
    580 
    581 int	ultrix_sys_select(struct lwp *, const struct ultrix_sys_select_args *, register_t *);
    582 
    583 int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
    584 
    585 int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
    586 
    587 int	compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
    588 
    589 int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
    590 
    591 int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
    592 
    593 int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
    594 
    595 int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
    596 
    597 int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
    598 
    599 int	ultrix_sys_sigreturn(struct lwp *, const struct ultrix_sys_sigreturn_args *, register_t *);
    600 
    601 int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
    602 
    603 int	ultrix_sys_setsockopt(struct lwp *, const struct ultrix_sys_setsockopt_args *, register_t *);
    604 
    605 int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
    606 
    607 int	ultrix_sys_sigvec(struct lwp *, const struct ultrix_sys_sigvec_args *, register_t *);
    608 
    609 int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
    610 
    611 int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
    612 
    613 int	ultrix_sys_sigsuspend(struct lwp *, const struct ultrix_sys_sigsuspend_args *, register_t *);
    614 
    615 int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
    616 
    617 int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
    618 
    619 int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
    620 
    621 int	sys_gettimeofday(struct lwp *, const struct sys_gettimeofday_args *, register_t *);
    622 
    623 int	sys_getrusage(struct lwp *, const struct sys_getrusage_args *, register_t *);
    624 
    625 int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
    626 
    627 int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
    628 
    629 int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
    630 
    631 int	sys_settimeofday(struct lwp *, const struct sys_settimeofday_args *, register_t *);
    632 
    633 int	sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
    634 
    635 int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
    636 
    637 int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
    638 
    639 int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
    640 
    641 int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
    642 
    643 int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
    644 
    645 int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
    646 
    647 int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
    648 
    649 int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
    650 
    651 int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
    652 
    653 int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
    654 
    655 int	sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
    656 
    657 int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
    658 
    659 int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
    660 
    661 int	sys_utimes(struct lwp *, const struct sys_utimes_args *, register_t *);
    662 
    663 int	ultrix_sys_sigcleanup(struct lwp *, const struct ultrix_sys_sigcleanup_args *, register_t *);
    664 
    665 int	sys_adjtime(struct lwp *, const struct sys_adjtime_args *, register_t *);
    666 
    667 int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
    668 
    669 int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    670 
    671 int	compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
    672 
    673 int	compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
    674 
    675 int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
    676 
    677 int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
    678 
    679 #ifdef __mips
    680 int	ultrix_sys_cacheflush(struct lwp *, const struct ultrix_sys_cacheflush_args *, register_t *);
    681 
    682 int	ultrix_sys_cachectl(struct lwp *, const struct ultrix_sys_cachectl_args *, register_t *);
    683 
    684 #else	/* !mips */
    685 #endif	/* !mips */
    686 #ifdef NFSSERVER
    687 int	ultrix_sys_nfssvc(struct lwp *, const struct ultrix_sys_nfssvc_args *, register_t *);
    688 
    689 #else
    690 #endif
    691 int	compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
    692 
    693 int	ultrix_sys_statfs(struct lwp *, const struct ultrix_sys_statfs_args *, register_t *);
    694 
    695 int	ultrix_sys_fstatfs(struct lwp *, const struct ultrix_sys_fstatfs_args *, register_t *);
    696 
    697 #ifdef NFS
    698 int	async_daemon(struct lwp *, const void *, register_t *);
    699 
    700 int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    701 
    702 #else
    703 #endif
    704 int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
    705 
    706 int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
    707 
    708 int	ultrix_sys_quotactl(struct lwp *, const struct ultrix_sys_quotactl_args *, register_t *);
    709 
    710 int	ultrix_sys_exportfs(struct lwp *, const struct ultrix_sys_exportfs_args *, register_t *);
    711 
    712 int	ultrix_sys_uname(struct lwp *, const struct ultrix_sys_uname_args *, register_t *);
    713 
    714 int	ultrix_sys_shmsys(struct lwp *, const struct ultrix_sys_shmsys_args *, register_t *);
    715 
    716 int	ultrix_sys_ustat(struct lwp *, const struct ultrix_sys_ustat_args *, register_t *);
    717 
    718 int	ultrix_sys_getmnt(struct lwp *, const struct ultrix_sys_getmnt_args *, register_t *);
    719 
    720 int	ultrix_sys_sigpending(struct lwp *, const struct ultrix_sys_sigpending_args *, register_t *);
    721 
    722 int	sys_setsid(struct lwp *, const void *, register_t *);
    723 
    724 int	ultrix_sys_waitpid(struct lwp *, const struct ultrix_sys_waitpid_args *, register_t *);
    725 
    726 int	ultrix_sys_getsysinfo(struct lwp *, const struct ultrix_sys_getsysinfo_args *, register_t *);
    727 
    728 int	ultrix_sys_setsysinfo(struct lwp *, const struct ultrix_sys_setsysinfo_args *, register_t *);
    729 
    730 #endif /* _ULTRIX_SYS_SYSCALLARGS_H_ */
    731