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