Index: head/sys/compat/svr4/svr4_filio.c =================================================================== --- head/sys/compat/svr4/svr4_filio.c (revision 302096) +++ head/sys/compat/svr4/svr4_filio.c (revision 302097) @@ -1,252 +1,269 @@ /*- * Copyright (c) 1998 Mark Newton * Copyright (c) 1994 Christos Zoulas * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include __FBSDID("$FreeBSD$"); #include #include #include #include #include #include #include #include #include #include #include #include #include +#include #include #include #include #include #include #include #include /*#define GROTTY_READ_HACK*/ int svr4_sys_poll(td, uap) struct thread *td; struct svr4_sys_poll_args *uap; { int error; struct poll_args pa; struct pollfd *pfd; int idx = 0, cerr; u_long siz; if (uap->nfds > maxfilesperproc && uap->nfds > FD_SETSIZE) return (EINVAL); pa.fds = uap->fds; pa.nfds = uap->nfds; pa.timeout = uap->timeout; siz = uap->nfds * sizeof(struct pollfd); pfd = (struct pollfd *)malloc(siz, M_TEMP, M_WAITOK); error = sys_poll(td, (struct poll_args *)uap); if ((cerr = copyin(uap->fds, pfd, siz)) != 0) { error = cerr; goto done; } for (idx = 0; idx < uap->nfds; idx++) { /* POLLWRNORM already equals POLLOUT, so we don't worry about that */ if (pfd[idx].revents & (POLLOUT | POLLWRNORM | POLLWRBAND)) pfd[idx].revents |= (POLLOUT | POLLWRNORM | POLLWRBAND); } if ((cerr = copyout(pfd, uap->fds, siz)) != 0) { error = cerr; goto done; /* yeah, I know it's the next line, but this way I won't forget to update it if I add more code */ } done: free(pfd, M_TEMP); return error; } #if defined(READ_TEST) int svr4_sys_read(td, uap) struct thread *td; struct svr4_sys_read_args *uap; { struct read_args ra; cap_rights_t rights; struct file *fp; struct socket *so = NULL; int so_state; sigset_t sigmask; int rv; ra.fd = uap->fd; ra.buf = uap->buf; ra.nbyte = uap->nbyte; if (fget(td, uap->fd, cap_rights_init(&rights, CAP_READ), &fp) != 0) { DPRINTF(("Something fishy with the user-supplied file descriptor...\n")); return EBADF; } if (fp->f_type == DTYPE_SOCKET) { so = fp->f_data; DPRINTF(("fd %d is a socket\n", uap->fd)); if (so->so_state & SS_ASYNC) { DPRINTF(("fd %d is an ASYNC socket!\n", uap->fd)); } DPRINTF(("Here are its flags: 0x%x\n", so->so_state)); #if defined(GROTTY_READ_HACK) so_state = so->so_state; so->so_state &= ~SS_NBIO; #endif } rv = read(td, &ra); DPRINTF(("svr4_read(%d, 0x%0x, %d) = %d\n", uap->fd, uap->buf, uap->nbyte, rv)); if (rv == EAGAIN) { #ifdef DEBUG_SVR4 struct sigacts *ps; PROC_LOCK(td->td_proc); ps = td->td_proc->p_sigacts; mtx_lock(&ps->ps_mtx); #endif DPRINTF(("sigmask = 0x%x\n", td->td_sigmask)); DPRINTF(("sigignore = 0x%x\n", ps->ps_sigignore)); DPRINTF(("sigcaught = 0x%x\n", ps->ps_sigcatch)); DPRINTF(("siglist = 0x%x\n", td->td_siglist)); #ifdef DEBUG_SVR4 mtx_unlock(&ps->ps_mtx); PROC_UNLOCK(td->td_proc); #endif } #if defined(GROTTY_READ_HACK) if (so) { /* We've already checked to see if this is a socket */ so->so_state = so_state; } #endif fdrop(fp, td); return(rv); } #endif /* READ_TEST */ #if defined(BOGUS) int svr4_sys_write(td, uap) struct thread *td; struct svr4_sys_write_args *uap; { struct write_args wa; struct file *fp; int rv; wa.fd = uap->fd; wa.buf = uap->buf; wa.nbyte = uap->nbyte; rv = write(td, &wa); DPRINTF(("svr4_write(%d, 0x%0x, %d) = %d\n", uap->fd, uap->buf, uap->nbyte, rv)); return(rv); } #endif /* BOGUS */ int svr4_fil_ioctl(fp, td, retval, fd, cmd, data) struct file *fp; struct thread *td; register_t *retval; int fd; u_long cmd; caddr_t data; { struct filedesc *fdp = td->td_proc->p_fd; struct filedescent *fde; int error, num; *retval = 0; switch (cmd) { case SVR4_FIOCLEX: FILEDESC_XLOCK(fdp); fde = &fdp->fd_ofiles[fd]; fde->fde_flags |= UF_EXCLOSE; FILEDESC_XUNLOCK(fdp); return 0; case SVR4_FIONCLEX: FILEDESC_XLOCK(fdp); fde = &fdp->fd_ofiles[fd]; fde->fde_flags &= ~UF_EXCLOSE; FILEDESC_XUNLOCK(fdp); return 0; case SVR4_FIOGETOWN: case SVR4_FIOSETOWN: case SVR4_FIOASYNC: case SVR4_FIONBIO: case SVR4_FIONREAD: if ((error = copyin(data, &num, sizeof(num))) != 0) return error; switch (cmd) { case SVR4_FIOGETOWN: cmd = FIOGETOWN; break; case SVR4_FIOSETOWN: cmd = FIOSETOWN; break; case SVR4_FIOASYNC: cmd = FIOASYNC; break; case SVR4_FIONBIO: cmd = FIONBIO; break; case SVR4_FIONREAD: cmd = FIONREAD; break; } #ifdef SVR4_DEBUG if (cmd == FIOASYNC) DPRINTF(("FIOASYNC\n")); #endif error = fo_ioctl(fp, cmd, (caddr_t) &num, td->td_ucred, td); if (error) return error; return copyout(&num, data, sizeof(num)); default: DPRINTF(("Unknown svr4 filio %lx\n", cmd)); return 0; /* ENOSYS really */ } } + +int +svr4_pipe(struct thread *td, struct svr4_pipe_args *uap) { + int error; + int fildes[2]; + + error = kern_pipe(td, fildes, 0, NULL, NULL); + if (error) + return (error); + + td->td_retval[0] = fildes[0]; + td->td_retval[1] = fildes[1]; + + return (0); +} + Index: head/sys/compat/svr4/svr4_proto.h =================================================================== --- head/sys/compat/svr4/svr4_proto.h (revision 302096) +++ head/sys/compat/svr4/svr4_proto.h (revision 302097) @@ -1,596 +1,609 @@ /* * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/compat/svr4/syscalls.master 227691 2011-11-19 06:35:15Z ed + * created from FreeBSD: head/sys/compat/svr4/syscalls.master 302096 2016-06-23 00:29:03Z brooks */ #ifndef _SVR4_SYSPROTO_H_ #define _SVR4_SYSPROTO_H_ #include #include #include +#include #include #include +#include #include struct proc; struct thread; #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 0 : sizeof(register_t) - sizeof(t)) #if BYTE_ORDER == LITTLE_ENDIAN #define PADL_(t) 0 #define PADR_(t) PAD_(t) #else #define PADL_(t) PAD_(t) #define PADR_(t) 0 #endif struct svr4_sys_open_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct svr4_sys_wait_args { char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; }; struct svr4_sys_creat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct svr4_sys_execv_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; }; struct svr4_sys_time_args { char t_l_[PADL_(time_t *)]; time_t * t; char t_r_[PADR_(time_t *)]; }; struct svr4_sys_mknod_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; }; struct svr4_sys_break_args { char nsize_l_[PADL_(caddr_t)]; caddr_t nsize; char nsize_r_[PADR_(caddr_t)]; }; struct svr4_sys_stat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; }; struct svr4_sys_alarm_args { char sec_l_[PADL_(unsigned)]; unsigned sec; char sec_r_[PADR_(unsigned)]; }; struct svr4_sys_fstat_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char sb_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * sb; char sb_r_[PADR_(struct svr4_stat *)]; }; struct svr4_sys_pause_args { register_t dummy; }; struct svr4_sys_utime_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char ubuf_l_[PADL_(struct svr4_utimbuf *)]; struct svr4_utimbuf * ubuf; char ubuf_r_[PADR_(struct svr4_utimbuf *)]; }; struct svr4_sys_access_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char amode_l_[PADL_(int)]; int amode; char amode_r_[PADR_(int)]; }; struct svr4_sys_nice_args { char prio_l_[PADL_(int)]; int prio; char prio_r_[PADR_(int)]; }; struct svr4_sys_kill_args { char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; }; struct svr4_sys_pgrpsys_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; }; +struct svr4_pipe_args { + register_t dummy; +}; struct svr4_sys_times_args { char tp_l_[PADL_(struct tms *)]; struct tms * tp; char tp_r_[PADR_(struct tms *)]; }; struct svr4_sys_signal_args { char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; char handler_l_[PADL_(svr4_sig_t)]; svr4_sig_t handler; char handler_r_[PADR_(svr4_sig_t)]; }; struct svr4_sys_msgsys_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct svr4_sys_sysarch_args { char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; }; struct svr4_sys_shmsys_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct svr4_sys_semsys_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct svr4_sys_ioctl_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)]; char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; }; struct svr4_sys_utssys_args { char a1_l_[PADL_(void *)]; void * a1; char a1_r_[PADR_(void *)]; char a2_l_[PADL_(void *)]; void * a2; char a2_r_[PADR_(void *)]; char sel_l_[PADL_(int)]; int sel; char sel_r_[PADR_(int)]; char a3_l_[PADL_(void *)]; void * a3; char a3_r_[PADR_(void *)]; }; struct svr4_sys_execve_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char argp_l_[PADL_(char **)]; char ** argp; char argp_r_[PADR_(char **)]; char envp_l_[PADL_(char **)]; char ** envp; char envp_r_[PADR_(char **)]; }; struct svr4_sys_fcntl_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char arg_l_[PADL_(char *)]; char * arg; char arg_r_[PADR_(char *)]; }; struct svr4_sys_ulimit_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char newlimit_l_[PADL_(long)]; long newlimit; char newlimit_r_[PADR_(long)]; }; struct svr4_sys_getdents_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; }; struct svr4_sys_getmsg_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; char flags_l_[PADL_(int *)]; int * flags; char flags_r_[PADR_(int *)]; }; struct svr4_sys_putmsg_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char ctl_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * ctl; char ctl_r_[PADR_(struct svr4_strbuf *)]; char dat_l_[PADL_(struct svr4_strbuf *)]; struct svr4_strbuf * dat; char dat_r_[PADR_(struct svr4_strbuf *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; struct svr4_sys_poll_args { char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; char nfds_l_[PADL_(unsigned int)]; unsigned int nfds; char nfds_r_[PADR_(unsigned int)]; char timeout_l_[PADL_(int)]; int timeout; char timeout_r_[PADR_(int)]; }; struct svr4_sys_lstat_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char ub_l_[PADL_(struct svr4_stat *)]; struct svr4_stat * ub; char ub_r_[PADR_(struct svr4_stat *)]; }; struct svr4_sys_sigprocmask_args { char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; char set_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * set; char set_r_[PADR_(svr4_sigset_t *)]; char oset_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * oset; char oset_r_[PADR_(svr4_sigset_t *)]; }; struct svr4_sys_sigsuspend_args { char ss_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * ss; char ss_r_[PADR_(svr4_sigset_t *)]; }; struct svr4_sys_sigaltstack_args { char nss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * nss; char nss_r_[PADR_(struct svr4_sigaltstack *)]; char oss_l_[PADL_(struct svr4_sigaltstack *)]; struct svr4_sigaltstack * oss; char oss_r_[PADR_(struct svr4_sigaltstack *)]; }; struct svr4_sys_sigaction_args { char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; char nsa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * nsa; char nsa_r_[PADR_(struct svr4_sigaction *)]; char osa_l_[PADL_(struct svr4_sigaction *)]; struct svr4_sigaction * osa; char osa_r_[PADR_(struct svr4_sigaction *)]; }; struct svr4_sys_sigpending_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char mask_l_[PADL_(svr4_sigset_t *)]; svr4_sigset_t * mask; char mask_r_[PADR_(svr4_sigset_t *)]; }; struct svr4_sys_context_args { char func_l_[PADL_(int)]; int func; char func_r_[PADR_(int)]; char uc_l_[PADL_(struct svr4_ucontext *)]; struct svr4_ucontext * uc; char uc_r_[PADR_(struct svr4_ucontext *)]; }; struct svr4_sys_statvfs_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; }; struct svr4_sys_fstatvfs_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char fs_l_[PADL_(struct svr4_statvfs *)]; struct svr4_statvfs * fs; char fs_r_[PADR_(struct svr4_statvfs *)]; }; struct svr4_sys_waitsys_args { char grp_l_[PADL_(int)]; int grp; char grp_r_[PADR_(int)]; char id_l_[PADL_(int)]; int id; char id_r_[PADR_(int)]; char info_l_[PADL_(union svr4_siginfo *)]; union svr4_siginfo * info; char info_r_[PADR_(union svr4_siginfo *)]; char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; }; struct svr4_sys_hrtsys_args { char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char fun_l_[PADL_(int)]; int fun; char fun_r_[PADR_(int)]; char sub_l_[PADL_(int)]; int sub; char sub_r_[PADR_(int)]; char rv1_l_[PADL_(void *)]; void * rv1; char rv1_r_[PADR_(void *)]; char rv2_l_[PADL_(void *)]; void * rv2; char rv2_r_[PADR_(void *)]; }; struct svr4_sys_pathconf_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; }; struct svr4_sys_mmap_args { char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char pos_l_[PADL_(svr4_off_t)]; svr4_off_t pos; char pos_r_[PADR_(svr4_off_t)]; }; struct svr4_sys_fpathconf_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; }; struct svr4_sys_xstat_args { char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; }; struct svr4_sys_lxstat_args { char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char ub_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * ub; char ub_r_[PADR_(struct svr4_xstat *)]; }; struct svr4_sys_fxstat_args { char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char sb_l_[PADL_(struct svr4_xstat *)]; struct svr4_xstat * sb; char sb_r_[PADR_(struct svr4_xstat *)]; }; struct svr4_sys_xmknod_args { char two_l_[PADL_(int)]; int two; char two_r_[PADR_(int)]; char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(svr4_mode_t)]; svr4_mode_t mode; char mode_r_[PADR_(svr4_mode_t)]; char dev_l_[PADL_(svr4_dev_t)]; svr4_dev_t dev; char dev_r_[PADR_(svr4_dev_t)]; }; struct svr4_sys_setrlimit_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char rlp_l_[PADL_(const struct svr4_rlimit *)]; const struct svr4_rlimit * rlp; char rlp_r_[PADR_(const struct svr4_rlimit *)]; }; struct svr4_sys_getrlimit_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char rlp_l_[PADL_(struct svr4_rlimit *)]; struct svr4_rlimit * rlp; char rlp_r_[PADR_(struct svr4_rlimit *)]; }; struct svr4_sys_memcntl_args { char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)]; char attr_l_[PADL_(int)]; int attr; char attr_r_[PADR_(int)]; char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; }; struct svr4_sys_uname_args { char name_l_[PADL_(struct svr4_utsname *)]; struct svr4_utsname * name; char name_r_[PADR_(struct svr4_utsname *)]; char dummy_l_[PADL_(int)]; int dummy; char dummy_r_[PADR_(int)]; }; struct svr4_sys_sysconfig_args { char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)]; }; struct svr4_sys_systeminfo_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char len_l_[PADL_(long)]; long len; char len_r_[PADR_(long)]; }; struct svr4_sys_fchroot_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; }; struct svr4_sys_utimes_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)]; }; struct svr4_sys_vhangup_args { register_t dummy; }; struct svr4_sys_gettimeofday_args { char tp_l_[PADL_(struct timeval *)]; struct timeval * tp; char tp_r_[PADR_(struct timeval *)]; }; struct svr4_sys_llseek_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char offset1_l_[PADL_(long)]; long offset1; char offset1_r_[PADR_(long)]; char offset2_l_[PADL_(long)]; long offset2; char offset2_r_[PADR_(long)]; char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; }; struct svr4_sys_acl_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; }; struct svr4_sys_auditsys_args { char code_l_[PADL_(int)]; int code; char code_r_[PADR_(int)]; char a1_l_[PADL_(int)]; int a1; char a1_r_[PADR_(int)]; char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; }; struct svr4_sys_facl_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; char num_l_[PADL_(int)]; int num; char num_r_[PADR_(int)]; char buf_l_[PADL_(struct svr4_aclent *)]; struct svr4_aclent * buf; char buf_r_[PADR_(struct svr4_aclent *)]; }; struct svr4_sys_resolvepath_args { char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; char bufsiz_l_[PADL_(size_t)]; size_t bufsiz; char bufsiz_r_[PADR_(size_t)]; }; struct svr4_sys_getdents64_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char dp_l_[PADL_(struct svr4_dirent64 *)]; struct svr4_dirent64 * dp; char dp_r_[PADR_(struct svr4_dirent64 *)]; char nbytes_l_[PADL_(int)]; int nbytes; char nbytes_r_[PADR_(int)]; }; struct svr4_sys_mmap64_args { char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; char len_l_[PADL_(svr4_size_t)]; svr4_size_t len; char len_r_[PADR_(svr4_size_t)]; char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char pos_l_[PADL_(svr4_off64_t)]; svr4_off64_t pos; char pos_r_[PADR_(svr4_off64_t)]; }; struct svr4_sys_stat64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; }; struct svr4_sys_lstat64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; }; struct svr4_sys_fstat64_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char sb_l_[PADL_(struct svr4_stat64 *)]; struct svr4_stat64 * sb; char sb_r_[PADR_(struct svr4_stat64 *)]; }; struct svr4_sys_statvfs64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; }; struct svr4_sys_fstatvfs64_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char fs_l_[PADL_(struct svr4_statvfs64 *)]; struct svr4_statvfs64 * fs; char fs_r_[PADR_(struct svr4_statvfs64 *)]; }; struct svr4_sys_setrlimit64_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char rlp_l_[PADL_(const struct svr4_rlimit64 *)]; const struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(const struct svr4_rlimit64 *)]; }; struct svr4_sys_getrlimit64_args { char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; char rlp_l_[PADL_(struct svr4_rlimit64 *)]; struct svr4_rlimit64 * rlp; char rlp_r_[PADR_(struct svr4_rlimit64 *)]; }; struct svr4_sys_creat64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct svr4_sys_open64_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; }; struct svr4_sys_socket_args { char domain_l_[PADL_(int)]; int domain; char domain_r_[PADR_(int)]; char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)]; char protocol_l_[PADL_(int)]; int protocol; char protocol_r_[PADR_(int)]; }; struct svr4_sys_recv_args { char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; struct svr4_sys_send_args { char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; char buf_l_[PADL_(caddr_t)]; caddr_t buf; char buf_r_[PADR_(caddr_t)]; char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; struct svr4_sys_sendto_args { char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; char to_l_[PADL_(struct sockaddr *)]; struct sockaddr * to; char to_r_[PADR_(struct sockaddr *)]; char tolen_l_[PADL_(int)]; int tolen; char tolen_r_[PADR_(int)]; }; int svr4_sys_open(struct thread *, struct svr4_sys_open_args *); int svr4_sys_wait(struct thread *, struct svr4_sys_wait_args *); int svr4_sys_creat(struct thread *, struct svr4_sys_creat_args *); int svr4_sys_execv(struct thread *, struct svr4_sys_execv_args *); int svr4_sys_time(struct thread *, struct svr4_sys_time_args *); int svr4_sys_mknod(struct thread *, struct svr4_sys_mknod_args *); int svr4_sys_break(struct thread *, struct svr4_sys_break_args *); int svr4_sys_stat(struct thread *, struct svr4_sys_stat_args *); int svr4_sys_alarm(struct thread *, struct svr4_sys_alarm_args *); int svr4_sys_fstat(struct thread *, struct svr4_sys_fstat_args *); int svr4_sys_pause(struct thread *, struct svr4_sys_pause_args *); int svr4_sys_utime(struct thread *, struct svr4_sys_utime_args *); int svr4_sys_access(struct thread *, struct svr4_sys_access_args *); int svr4_sys_nice(struct thread *, struct svr4_sys_nice_args *); int svr4_sys_kill(struct thread *, struct svr4_sys_kill_args *); int svr4_sys_pgrpsys(struct thread *, struct svr4_sys_pgrpsys_args *); +int svr4_pipe(struct thread *, struct svr4_pipe_args *); int svr4_sys_times(struct thread *, struct svr4_sys_times_args *); int svr4_sys_signal(struct thread *, struct svr4_sys_signal_args *); int svr4_sys_msgsys(struct thread *, struct svr4_sys_msgsys_args *); int svr4_sys_sysarch(struct thread *, struct svr4_sys_sysarch_args *); int svr4_sys_shmsys(struct thread *, struct svr4_sys_shmsys_args *); int svr4_sys_semsys(struct thread *, struct svr4_sys_semsys_args *); int svr4_sys_ioctl(struct thread *, struct svr4_sys_ioctl_args *); int svr4_sys_utssys(struct thread *, struct svr4_sys_utssys_args *); int svr4_sys_execve(struct thread *, struct svr4_sys_execve_args *); int svr4_sys_fcntl(struct thread *, struct svr4_sys_fcntl_args *); int svr4_sys_ulimit(struct thread *, struct svr4_sys_ulimit_args *); int svr4_sys_getdents(struct thread *, struct svr4_sys_getdents_args *); int svr4_sys_getmsg(struct thread *, struct svr4_sys_getmsg_args *); int svr4_sys_putmsg(struct thread *, struct svr4_sys_putmsg_args *); int svr4_sys_poll(struct thread *, struct svr4_sys_poll_args *); int svr4_sys_lstat(struct thread *, struct svr4_sys_lstat_args *); int svr4_sys_sigprocmask(struct thread *, struct svr4_sys_sigprocmask_args *); int svr4_sys_sigsuspend(struct thread *, struct svr4_sys_sigsuspend_args *); int svr4_sys_sigaltstack(struct thread *, struct svr4_sys_sigaltstack_args *); int svr4_sys_sigaction(struct thread *, struct svr4_sys_sigaction_args *); int svr4_sys_sigpending(struct thread *, struct svr4_sys_sigpending_args *); int svr4_sys_context(struct thread *, struct svr4_sys_context_args *); int svr4_sys_statvfs(struct thread *, struct svr4_sys_statvfs_args *); int svr4_sys_fstatvfs(struct thread *, struct svr4_sys_fstatvfs_args *); int svr4_sys_waitsys(struct thread *, struct svr4_sys_waitsys_args *); int svr4_sys_hrtsys(struct thread *, struct svr4_sys_hrtsys_args *); int svr4_sys_pathconf(struct thread *, struct svr4_sys_pathconf_args *); int svr4_sys_mmap(struct thread *, struct svr4_sys_mmap_args *); int svr4_sys_fpathconf(struct thread *, struct svr4_sys_fpathconf_args *); int svr4_sys_xstat(struct thread *, struct svr4_sys_xstat_args *); int svr4_sys_lxstat(struct thread *, struct svr4_sys_lxstat_args *); int svr4_sys_fxstat(struct thread *, struct svr4_sys_fxstat_args *); int svr4_sys_xmknod(struct thread *, struct svr4_sys_xmknod_args *); int svr4_sys_setrlimit(struct thread *, struct svr4_sys_setrlimit_args *); int svr4_sys_getrlimit(struct thread *, struct svr4_sys_getrlimit_args *); int svr4_sys_memcntl(struct thread *, struct svr4_sys_memcntl_args *); int svr4_sys_uname(struct thread *, struct svr4_sys_uname_args *); int svr4_sys_sysconfig(struct thread *, struct svr4_sys_sysconfig_args *); int svr4_sys_systeminfo(struct thread *, struct svr4_sys_systeminfo_args *); int svr4_sys_fchroot(struct thread *, struct svr4_sys_fchroot_args *); int svr4_sys_utimes(struct thread *, struct svr4_sys_utimes_args *); int svr4_sys_vhangup(struct thread *, struct svr4_sys_vhangup_args *); int svr4_sys_gettimeofday(struct thread *, struct svr4_sys_gettimeofday_args *); int svr4_sys_llseek(struct thread *, struct svr4_sys_llseek_args *); int svr4_sys_acl(struct thread *, struct svr4_sys_acl_args *); int svr4_sys_auditsys(struct thread *, struct svr4_sys_auditsys_args *); int svr4_sys_facl(struct thread *, struct svr4_sys_facl_args *); int svr4_sys_resolvepath(struct thread *, struct svr4_sys_resolvepath_args *); int svr4_sys_getdents64(struct thread *, struct svr4_sys_getdents64_args *); int svr4_sys_mmap64(struct thread *, struct svr4_sys_mmap64_args *); int svr4_sys_stat64(struct thread *, struct svr4_sys_stat64_args *); int svr4_sys_lstat64(struct thread *, struct svr4_sys_lstat64_args *); int svr4_sys_fstat64(struct thread *, struct svr4_sys_fstat64_args *); int svr4_sys_statvfs64(struct thread *, struct svr4_sys_statvfs64_args *); int svr4_sys_fstatvfs64(struct thread *, struct svr4_sys_fstatvfs64_args *); int svr4_sys_setrlimit64(struct thread *, struct svr4_sys_setrlimit64_args *); int svr4_sys_getrlimit64(struct thread *, struct svr4_sys_getrlimit64_args *); int svr4_sys_creat64(struct thread *, struct svr4_sys_creat64_args *); int svr4_sys_open64(struct thread *, struct svr4_sys_open64_args *); int svr4_sys_socket(struct thread *, struct svr4_sys_socket_args *); int svr4_sys_recv(struct thread *, struct svr4_sys_recv_args *); int svr4_sys_send(struct thread *, struct svr4_sys_send_args *); int svr4_sys_sendto(struct thread *, struct svr4_sys_sendto_args *); #ifdef COMPAT_43 #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 #endif /* COMPAT_FREEBSD4 */ #ifdef COMPAT_FREEBSD6 #endif /* COMPAT_FREEBSD6 */ #ifdef COMPAT_FREEBSD7 #endif /* COMPAT_FREEBSD7 */ + +#ifdef COMPAT_FREEBSD10 + + +#endif /* COMPAT_FREEBSD10 */ + #define SVR4_SYS_AUE_svr4_sys_open AUE_NULL #define SVR4_SYS_AUE_svr4_sys_wait AUE_NULL #define SVR4_SYS_AUE_svr4_sys_creat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_execv AUE_NULL #define SVR4_SYS_AUE_svr4_sys_time AUE_NULL #define SVR4_SYS_AUE_svr4_sys_mknod AUE_NULL #define SVR4_SYS_AUE_svr4_sys_break AUE_NULL #define SVR4_SYS_AUE_svr4_sys_stat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_alarm AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fstat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_pause AUE_NULL #define SVR4_SYS_AUE_svr4_sys_utime AUE_NULL #define SVR4_SYS_AUE_svr4_sys_access AUE_NULL #define SVR4_SYS_AUE_svr4_sys_nice AUE_NULL #define SVR4_SYS_AUE_svr4_sys_kill AUE_NULL #define SVR4_SYS_AUE_svr4_sys_pgrpsys AUE_NULL +#define SVR4_SYS_AUE_svr4_pipe AUE_NULL #define SVR4_SYS_AUE_svr4_sys_times AUE_NULL #define SVR4_SYS_AUE_svr4_sys_signal AUE_NULL #define SVR4_SYS_AUE_svr4_sys_msgsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sysarch AUE_NULL #define SVR4_SYS_AUE_svr4_sys_shmsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_semsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_ioctl AUE_NULL #define SVR4_SYS_AUE_svr4_sys_utssys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_execve AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fcntl AUE_NULL #define SVR4_SYS_AUE_svr4_sys_ulimit AUE_NULL #define SVR4_SYS_AUE_svr4_sys_getdents AUE_NULL #define SVR4_SYS_AUE_svr4_sys_getmsg AUE_NULL #define SVR4_SYS_AUE_svr4_sys_putmsg AUE_NULL #define SVR4_SYS_AUE_svr4_sys_poll AUE_NULL #define SVR4_SYS_AUE_svr4_sys_lstat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sigprocmask AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sigsuspend AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sigaltstack AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sigaction AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sigpending AUE_NULL #define SVR4_SYS_AUE_svr4_sys_context AUE_NULL #define SVR4_SYS_AUE_svr4_sys_statvfs AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fstatvfs AUE_NULL #define SVR4_SYS_AUE_svr4_sys_waitsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_hrtsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_pathconf AUE_NULL #define SVR4_SYS_AUE_svr4_sys_mmap AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fpathconf AUE_NULL #define SVR4_SYS_AUE_svr4_sys_xstat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_lxstat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fxstat AUE_NULL #define SVR4_SYS_AUE_svr4_sys_xmknod AUE_NULL #define SVR4_SYS_AUE_svr4_sys_setrlimit AUE_NULL #define SVR4_SYS_AUE_svr4_sys_getrlimit AUE_NULL #define SVR4_SYS_AUE_svr4_sys_memcntl AUE_NULL #define SVR4_SYS_AUE_svr4_sys_uname AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sysconfig AUE_NULL #define SVR4_SYS_AUE_svr4_sys_systeminfo AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fchroot AUE_NULL #define SVR4_SYS_AUE_svr4_sys_utimes AUE_NULL #define SVR4_SYS_AUE_svr4_sys_vhangup AUE_NULL #define SVR4_SYS_AUE_svr4_sys_gettimeofday AUE_NULL #define SVR4_SYS_AUE_svr4_sys_llseek AUE_NULL #define SVR4_SYS_AUE_svr4_sys_acl AUE_NULL #define SVR4_SYS_AUE_svr4_sys_auditsys AUE_NULL #define SVR4_SYS_AUE_svr4_sys_facl AUE_NULL #define SVR4_SYS_AUE_svr4_sys_resolvepath AUE_NULL #define SVR4_SYS_AUE_svr4_sys_getdents64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_mmap64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_stat64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_lstat64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fstat64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_statvfs64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_fstatvfs64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_setrlimit64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_getrlimit64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_creat64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_open64 AUE_NULL #define SVR4_SYS_AUE_svr4_sys_socket AUE_NULL #define SVR4_SYS_AUE_svr4_sys_recv AUE_NULL #define SVR4_SYS_AUE_svr4_sys_send AUE_NULL #define SVR4_SYS_AUE_svr4_sys_sendto AUE_NULL #undef PAD_ #undef PADL_ #undef PADR_ #endif /* !_SVR4_SYSPROTO_H_ */ Index: head/sys/compat/svr4/svr4_syscall.h =================================================================== --- head/sys/compat/svr4/svr4_syscall.h (revision 302096) +++ head/sys/compat/svr4/svr4_syscall.h (revision 302097) @@ -1,147 +1,147 @@ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/compat/svr4/syscalls.master 227691 2011-11-19 06:35:15Z ed + * created from FreeBSD: head/sys/compat/svr4/syscalls.master 302096 2016-06-23 00:29:03Z brooks */ #define SVR4_SYS_exit 1 #define SVR4_SYS_fork 2 #define SVR4_SYS_read 3 #define SVR4_SYS_write 4 #define SVR4_SYS_svr4_sys_open 5 #define SVR4_SYS_close 6 #define SVR4_SYS_svr4_sys_wait 7 #define SVR4_SYS_svr4_sys_creat 8 #define SVR4_SYS_link 9 #define SVR4_SYS_unlink 10 #define SVR4_SYS_svr4_sys_execv 11 #define SVR4_SYS_chdir 12 #define SVR4_SYS_svr4_sys_time 13 #define SVR4_SYS_svr4_sys_mknod 14 #define SVR4_SYS_chmod 15 #define SVR4_SYS_chown 16 #define SVR4_SYS_svr4_sys_break 17 #define SVR4_SYS_svr4_sys_stat 18 #define SVR4_SYS_lseek 19 #define SVR4_SYS_getpid 20 #define SVR4_SYS_setuid 23 #define SVR4_SYS_getuid 24 #define SVR4_SYS_svr4_sys_alarm 27 #define SVR4_SYS_svr4_sys_fstat 28 #define SVR4_SYS_svr4_sys_pause 29 #define SVR4_SYS_svr4_sys_utime 30 #define SVR4_SYS_svr4_sys_access 33 #define SVR4_SYS_svr4_sys_nice 34 #define SVR4_SYS_sync 36 #define SVR4_SYS_svr4_sys_kill 37 #define SVR4_SYS_svr4_sys_pgrpsys 39 #define SVR4_SYS_dup 41 -#define SVR4_SYS_pipe 42 +#define SVR4_SYS_svr4_pipe 42 #define SVR4_SYS_svr4_sys_times 43 #define SVR4_SYS_setgid 46 #define SVR4_SYS_getgid 47 #define SVR4_SYS_svr4_sys_signal 48 #define SVR4_SYS_svr4_sys_msgsys 49 #define SVR4_SYS_svr4_sys_sysarch 50 #define SVR4_SYS_svr4_sys_shmsys 52 #define SVR4_SYS_svr4_sys_semsys 53 #define SVR4_SYS_svr4_sys_ioctl 54 #define SVR4_SYS_svr4_sys_utssys 57 #define SVR4_SYS_fsync 58 #define SVR4_SYS_svr4_sys_execve 59 #define SVR4_SYS_umask 60 #define SVR4_SYS_chroot 61 #define SVR4_SYS_svr4_sys_fcntl 62 #define SVR4_SYS_svr4_sys_ulimit 63 #define SVR4_SYS_rmdir 79 #define SVR4_SYS_mkdir 80 #define SVR4_SYS_svr4_sys_getdents 81 #define SVR4_SYS_svr4_sys_getmsg 85 #define SVR4_SYS_svr4_sys_putmsg 86 #define SVR4_SYS_svr4_sys_poll 87 #define SVR4_SYS_svr4_sys_lstat 88 #define SVR4_SYS_symlink 89 #define SVR4_SYS_readlink 90 #define SVR4_SYS_getgroups 91 #define SVR4_SYS_setgroups 92 #define SVR4_SYS_fchmod 93 #define SVR4_SYS_fchown 94 #define SVR4_SYS_svr4_sys_sigprocmask 95 #define SVR4_SYS_svr4_sys_sigsuspend 96 #define SVR4_SYS_svr4_sys_sigaltstack 97 #define SVR4_SYS_svr4_sys_sigaction 98 #define SVR4_SYS_svr4_sys_sigpending 99 #define SVR4_SYS_svr4_sys_context 100 #define SVR4_SYS_svr4_sys_statvfs 103 #define SVR4_SYS_svr4_sys_fstatvfs 104 #define SVR4_SYS_svr4_sys_waitsys 107 #define SVR4_SYS_svr4_sys_hrtsys 109 #define SVR4_SYS_svr4_sys_pathconf 113 #define SVR4_SYS_svr4_sys_mmap 115 #define SVR4_SYS_mprotect 116 #define SVR4_SYS_munmap 117 #define SVR4_SYS_svr4_sys_fpathconf 118 #define SVR4_SYS_vfork 119 #define SVR4_SYS_fchdir 120 #define SVR4_SYS_readv 121 #define SVR4_SYS_writev 122 #define SVR4_SYS_svr4_sys_xstat 123 #define SVR4_SYS_svr4_sys_lxstat 124 #define SVR4_SYS_svr4_sys_fxstat 125 #define SVR4_SYS_svr4_sys_xmknod 126 #define SVR4_SYS_svr4_sys_setrlimit 128 #define SVR4_SYS_svr4_sys_getrlimit 129 #define SVR4_SYS_lchown 130 #define SVR4_SYS_svr4_sys_memcntl 131 #define SVR4_SYS_rename 134 #define SVR4_SYS_svr4_sys_uname 135 #define SVR4_SYS_setegid 136 #define SVR4_SYS_svr4_sys_sysconfig 137 #define SVR4_SYS_adjtime 138 #define SVR4_SYS_svr4_sys_systeminfo 139 #define SVR4_SYS_seteuid 141 #define SVR4_SYS_svr4_sys_fchroot 153 #define SVR4_SYS_svr4_sys_utimes 154 #define SVR4_SYS_svr4_sys_vhangup 155 #define SVR4_SYS_svr4_sys_gettimeofday 156 #define SVR4_SYS_getitimer 157 #define SVR4_SYS_setitimer 158 #define SVR4_SYS_svr4_sys_llseek 175 #define SVR4_SYS_svr4_sys_acl 185 #define SVR4_SYS_svr4_sys_auditsys 186 #define SVR4_SYS_nanosleep 199 #define SVR4_SYS_svr4_sys_facl 200 #define SVR4_SYS_setreuid 202 #define SVR4_SYS_setregid 203 #define SVR4_SYS_svr4_sys_resolvepath 209 #define SVR4_SYS_svr4_sys_getdents64 213 #define SVR4_SYS_svr4_sys_mmap64 214 #define SVR4_SYS_svr4_sys_stat64 215 #define SVR4_SYS_svr4_sys_lstat64 216 #define SVR4_SYS_svr4_sys_fstat64 217 #define SVR4_SYS_svr4_sys_statvfs64 218 #define SVR4_SYS_svr4_sys_fstatvfs64 219 #define SVR4_SYS_svr4_sys_setrlimit64 220 #define SVR4_SYS_svr4_sys_getrlimit64 221 #define SVR4_SYS_svr4_sys_creat64 224 #define SVR4_SYS_svr4_sys_open64 225 #define SVR4_SYS_svr4_sys_socket 230 #define SVR4_SYS_socketpair 231 #define SVR4_SYS_bind 232 #define SVR4_SYS_listen 233 #define SVR4_SYS_accept 234 #define SVR4_SYS_connect 235 #define SVR4_SYS_shutdown 236 #define SVR4_SYS_svr4_sys_recv 237 #define SVR4_SYS_recvfrom 238 #define SVR4_SYS_recvmsg 239 #define SVR4_SYS_svr4_sys_send 240 #define SVR4_SYS_sendmsg 241 #define SVR4_SYS_svr4_sys_sendto 242 #define SVR4_SYS_getpeername 243 #define SVR4_SYS_getsockname 244 #define SVR4_SYS_getsockopt 245 #define SVR4_SYS_setsockopt 246 #define SVR4_SYS_MAXSYSCALL 250 Index: head/sys/compat/svr4/svr4_syscallnames.c =================================================================== --- head/sys/compat/svr4/svr4_syscallnames.c (revision 302096) +++ head/sys/compat/svr4/svr4_syscallnames.c (revision 302097) @@ -1,260 +1,260 @@ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/compat/svr4/syscalls.master 227691 2011-11-19 06:35:15Z ed + * created from FreeBSD: head/sys/compat/svr4/syscalls.master 302096 2016-06-23 00:29:03Z brooks */ const char *svr4_syscallnames[] = { "#0", /* 0 = unused */ "exit", /* 1 = exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ "write", /* 4 = write */ "svr4_sys_open", /* 5 = svr4_sys_open */ "close", /* 6 = close */ "svr4_sys_wait", /* 7 = svr4_sys_wait */ "svr4_sys_creat", /* 8 = svr4_sys_creat */ "link", /* 9 = link */ "unlink", /* 10 = unlink */ "svr4_sys_execv", /* 11 = svr4_sys_execv */ "chdir", /* 12 = chdir */ "svr4_sys_time", /* 13 = svr4_sys_time */ "svr4_sys_mknod", /* 14 = svr4_sys_mknod */ "chmod", /* 15 = chmod */ "chown", /* 16 = chown */ "svr4_sys_break", /* 17 = svr4_sys_break */ "svr4_sys_stat", /* 18 = svr4_sys_stat */ "lseek", /* 19 = lseek */ "getpid", /* 20 = getpid */ "#21", /* 21 = old_mount */ "#22", /* 22 = sysv_umount */ "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "#25", /* 25 = stime */ "#26", /* 26 = ptrace */ "svr4_sys_alarm", /* 27 = svr4_sys_alarm */ "svr4_sys_fstat", /* 28 = svr4_sys_fstat */ "svr4_sys_pause", /* 29 = svr4_sys_pause */ "svr4_sys_utime", /* 30 = svr4_sys_utime */ "#31", /* 31 = stty */ "#32", /* 32 = gtty */ "svr4_sys_access", /* 33 = svr4_sys_access */ "svr4_sys_nice", /* 34 = svr4_sys_nice */ "#35", /* 35 = statfs */ "sync", /* 36 = sync */ "svr4_sys_kill", /* 37 = svr4_sys_kill */ "#38", /* 38 = fstatfs */ "svr4_sys_pgrpsys", /* 39 = svr4_sys_pgrpsys */ "#40", /* 40 = xenix */ "dup", /* 41 = dup */ - "pipe", /* 42 = pipe */ + "svr4_pipe", /* 42 = svr4_pipe */ "svr4_sys_times", /* 43 = svr4_sys_times */ "#44", /* 44 = profil */ "#45", /* 45 = plock */ "setgid", /* 46 = setgid */ "getgid", /* 47 = getgid */ "svr4_sys_signal", /* 48 = svr4_sys_signal */ "svr4_sys_msgsys", /* 49 = svr4_sys_msgsys */ "svr4_sys_sysarch", /* 50 = svr4_sys_sysarch */ "#51", /* 51 = acct */ "svr4_sys_shmsys", /* 52 = svr4_sys_shmsys */ "svr4_sys_semsys", /* 53 = svr4_sys_semsys */ "svr4_sys_ioctl", /* 54 = svr4_sys_ioctl */ "#55", /* 55 = uadmin */ "#56", /* 56 = exch */ "svr4_sys_utssys", /* 57 = svr4_sys_utssys */ "fsync", /* 58 = fsync */ "svr4_sys_execve", /* 59 = svr4_sys_execve */ "umask", /* 60 = umask */ "chroot", /* 61 = chroot */ "svr4_sys_fcntl", /* 62 = svr4_sys_fcntl */ "svr4_sys_ulimit", /* 63 = svr4_sys_ulimit */ "#64", /* 64 = reserved */ "#65", /* 65 = reserved */ "#66", /* 66 = reserved */ "#67", /* 67 = reserved */ "#68", /* 68 = reserved */ "#69", /* 69 = reserved */ "#70", /* 70 = advfs */ "#71", /* 71 = unadvfs */ "#72", /* 72 = rmount */ "#73", /* 73 = rumount */ "#74", /* 74 = rfstart */ "#75", /* 75 = sigret */ "#76", /* 76 = rdebug */ "#77", /* 77 = rfstop */ "#78", /* 78 = rfsys */ "rmdir", /* 79 = rmdir */ "mkdir", /* 80 = mkdir */ "svr4_sys_getdents", /* 81 = svr4_sys_getdents */ "#82", /* 82 = libattach */ "#83", /* 83 = libdetach */ "#84", /* 84 = sysfs */ "svr4_sys_getmsg", /* 85 = svr4_sys_getmsg */ "svr4_sys_putmsg", /* 86 = svr4_sys_putmsg */ "svr4_sys_poll", /* 87 = svr4_sys_poll */ "svr4_sys_lstat", /* 88 = svr4_sys_lstat */ "symlink", /* 89 = symlink */ "readlink", /* 90 = readlink */ "getgroups", /* 91 = getgroups */ "setgroups", /* 92 = setgroups */ "fchmod", /* 93 = fchmod */ "fchown", /* 94 = fchown */ "svr4_sys_sigprocmask", /* 95 = svr4_sys_sigprocmask */ "svr4_sys_sigsuspend", /* 96 = svr4_sys_sigsuspend */ "svr4_sys_sigaltstack", /* 97 = svr4_sys_sigaltstack */ "svr4_sys_sigaction", /* 98 = svr4_sys_sigaction */ "svr4_sys_sigpending", /* 99 = svr4_sys_sigpending */ "svr4_sys_context", /* 100 = svr4_sys_context */ "#101", /* 101 = evsys */ "#102", /* 102 = evtrapret */ "svr4_sys_statvfs", /* 103 = svr4_sys_statvfs */ "svr4_sys_fstatvfs", /* 104 = svr4_sys_fstatvfs */ "#105", /* 105 = whoknows */ "#106", /* 106 = nfssvc */ "svr4_sys_waitsys", /* 107 = svr4_sys_waitsys */ "#108", /* 108 = sigsendsys */ "svr4_sys_hrtsys", /* 109 = svr4_sys_hrtsys */ "#110", /* 110 = acancel */ "#111", /* 111 = async */ "#112", /* 112 = priocntlsys */ "svr4_sys_pathconf", /* 113 = svr4_sys_pathconf */ "#114", /* 114 = mincore */ "svr4_sys_mmap", /* 115 = svr4_sys_mmap */ "mprotect", /* 116 = mprotect */ "munmap", /* 117 = munmap */ "svr4_sys_fpathconf", /* 118 = svr4_sys_fpathconf */ "vfork", /* 119 = vfork */ "fchdir", /* 120 = fchdir */ "readv", /* 121 = readv */ "writev", /* 122 = writev */ "svr4_sys_xstat", /* 123 = svr4_sys_xstat */ "svr4_sys_lxstat", /* 124 = svr4_sys_lxstat */ "svr4_sys_fxstat", /* 125 = svr4_sys_fxstat */ "svr4_sys_xmknod", /* 126 = svr4_sys_xmknod */ "#127", /* 127 = clocal */ "svr4_sys_setrlimit", /* 128 = svr4_sys_setrlimit */ "svr4_sys_getrlimit", /* 129 = svr4_sys_getrlimit */ "lchown", /* 130 = lchown */ "svr4_sys_memcntl", /* 131 = svr4_sys_memcntl */ "#132", /* 132 = getpmsg */ "#133", /* 133 = putpmsg */ "rename", /* 134 = rename */ "svr4_sys_uname", /* 135 = svr4_sys_uname */ "setegid", /* 136 = setegid */ "svr4_sys_sysconfig", /* 137 = svr4_sys_sysconfig */ "adjtime", /* 138 = adjtime */ "svr4_sys_systeminfo", /* 139 = svr4_sys_systeminfo */ "#140", /* 140 = notused */ "seteuid", /* 141 = seteuid */ "#142", /* 142 = vtrace */ "#143", /* 143 = { */ "#144", /* 144 = sigtimedwait */ "#145", /* 145 = lwp_info */ "#146", /* 146 = yield */ "#147", /* 147 = lwp_sema_wait */ "#148", /* 148 = lwp_sema_post */ "#149", /* 149 = lwp_sema_trywait */ "#150", /* 150 = notused */ "#151", /* 151 = notused */ "#152", /* 152 = modctl */ "svr4_sys_fchroot", /* 153 = svr4_sys_fchroot */ "svr4_sys_utimes", /* 154 = svr4_sys_utimes */ "svr4_sys_vhangup", /* 155 = svr4_sys_vhangup */ "svr4_sys_gettimeofday", /* 156 = svr4_sys_gettimeofday */ "getitimer", /* 157 = getitimer */ "setitimer", /* 158 = setitimer */ "#159", /* 159 = lwp_create */ "#160", /* 160 = lwp_exit */ "#161", /* 161 = lwp_suspend */ "#162", /* 162 = lwp_continue */ "#163", /* 163 = lwp_kill */ "#164", /* 164 = lwp_self */ "#165", /* 165 = lwp_getprivate */ "#166", /* 166 = lwp_setprivate */ "#167", /* 167 = lwp_wait */ "#168", /* 168 = lwp_mutex_unlock */ "#169", /* 169 = lwp_mutex_lock */ "#170", /* 170 = lwp_cond_wait */ "#171", /* 171 = lwp_cond_signal */ "#172", /* 172 = lwp_cond_broadcast */ "#173", /* 173 = { */ "#174", /* 174 = { */ "svr4_sys_llseek", /* 175 = svr4_sys_llseek */ "#176", /* 176 = inst_sync */ "#177", /* 177 = whoknows */ "#178", /* 178 = kaio */ "#179", /* 179 = whoknows */ "#180", /* 180 = whoknows */ "#181", /* 181 = whoknows */ "#182", /* 182 = whoknows */ "#183", /* 183 = whoknows */ "#184", /* 184 = tsolsys */ "svr4_sys_acl", /* 185 = svr4_sys_acl */ "svr4_sys_auditsys", /* 186 = svr4_sys_auditsys */ "#187", /* 187 = processor_bind */ "#188", /* 188 = processor_info */ "#189", /* 189 = p_online */ "#190", /* 190 = sigqueue */ "#191", /* 191 = clock_gettime */ "#192", /* 192 = clock_settime */ "#193", /* 193 = clock_getres */ "#194", /* 194 = timer_create */ "#195", /* 195 = timer_delete */ "#196", /* 196 = timer_settime */ "#197", /* 197 = timer_gettime */ "#198", /* 198 = timer_overrun */ "nanosleep", /* 199 = nanosleep */ "svr4_sys_facl", /* 200 = svr4_sys_facl */ "#201", /* 201 = door */ "setreuid", /* 202 = setreuid */ "setregid", /* 203 = setregid */ "#204", /* 204 = install_utrap */ "#205", /* 205 = signotify */ "#206", /* 206 = schedctl */ "#207", /* 207 = pset */ "#208", /* 208 = whoknows */ "svr4_sys_resolvepath", /* 209 = svr4_sys_resolvepath */ "#210", /* 210 = signotifywait */ "#211", /* 211 = lwp_sigredirect */ "#212", /* 212 = lwp_alarm */ "svr4_sys_getdents64", /* 213 = svr4_sys_getdents64 */ "svr4_sys_mmap64", /* 214 = svr4_sys_mmap64 */ "svr4_sys_stat64", /* 215 = svr4_sys_stat64 */ "svr4_sys_lstat64", /* 216 = svr4_sys_lstat64 */ "svr4_sys_fstat64", /* 217 = svr4_sys_fstat64 */ "svr4_sys_statvfs64", /* 218 = svr4_sys_statvfs64 */ "svr4_sys_fstatvfs64", /* 219 = svr4_sys_fstatvfs64 */ "svr4_sys_setrlimit64", /* 220 = svr4_sys_setrlimit64 */ "svr4_sys_getrlimit64", /* 221 = svr4_sys_getrlimit64 */ "#222", /* 222 = pread64 */ "#223", /* 223 = pwrite64 */ "svr4_sys_creat64", /* 224 = svr4_sys_creat64 */ "svr4_sys_open64", /* 225 = svr4_sys_open64 */ "#226", /* 226 = rpcsys */ "#227", /* 227 = whoknows */ "#228", /* 228 = whoknows */ "#229", /* 229 = whoknows */ "svr4_sys_socket", /* 230 = svr4_sys_socket */ "socketpair", /* 231 = socketpair */ "bind", /* 232 = bind */ "listen", /* 233 = listen */ "accept", /* 234 = accept */ "connect", /* 235 = connect */ "shutdown", /* 236 = shutdown */ "svr4_sys_recv", /* 237 = svr4_sys_recv */ "recvfrom", /* 238 = recvfrom */ "recvmsg", /* 239 = recvmsg */ "svr4_sys_send", /* 240 = svr4_sys_send */ "sendmsg", /* 241 = sendmsg */ "svr4_sys_sendto", /* 242 = svr4_sys_sendto */ "getpeername", /* 243 = getpeername */ "getsockname", /* 244 = getsockname */ "getsockopt", /* 245 = getsockopt */ "setsockopt", /* 246 = setsockopt */ "#247", /* 247 = sockconfig */ "#248", /* 248 = { */ "#249", /* 249 = { */ }; Index: head/sys/compat/svr4/svr4_sysent.c =================================================================== --- head/sys/compat/svr4/svr4_sysent.c (revision 302096) +++ head/sys/compat/svr4/svr4_sysent.c (revision 302097) @@ -1,272 +1,272 @@ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: head/sys/compat/svr4/syscalls.master 227691 2011-11-19 06:35:15Z ed + * created from FreeBSD: head/sys/compat/svr4/syscalls.master 302096 2016-06-23 00:29:03Z brooks */ #include #include #include #include #include #include #include #include #define AS(name) (sizeof(struct name) / sizeof(register_t)) /* The casts are bogus but will do for now. */ struct sysent svr4_sysent[] = { { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 0 = unused */ { AS(sys_exit_args), (sy_call_t *)sys_sys_exit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 1 = exit */ { 0, (sy_call_t *)sys_fork, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 2 = fork */ { AS(read_args), (sy_call_t *)sys_read, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 3 = read */ { AS(write_args), (sy_call_t *)sys_write, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 4 = write */ { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 5 = svr4_sys_open */ { AS(close_args), (sy_call_t *)sys_close, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 6 = close */ { AS(svr4_sys_wait_args), (sy_call_t *)svr4_sys_wait, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 7 = svr4_sys_wait */ { AS(svr4_sys_creat_args), (sy_call_t *)svr4_sys_creat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 8 = svr4_sys_creat */ { AS(link_args), (sy_call_t *)sys_link, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 9 = link */ { AS(unlink_args), (sy_call_t *)sys_unlink, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 10 = unlink */ { AS(svr4_sys_execv_args), (sy_call_t *)svr4_sys_execv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 11 = svr4_sys_execv */ { AS(chdir_args), (sy_call_t *)sys_chdir, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 12 = chdir */ { AS(svr4_sys_time_args), (sy_call_t *)svr4_sys_time, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 13 = svr4_sys_time */ { AS(svr4_sys_mknod_args), (sy_call_t *)svr4_sys_mknod, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = svr4_sys_mknod */ { AS(chmod_args), (sy_call_t *)sys_chmod, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 15 = chmod */ { AS(chown_args), (sy_call_t *)sys_chown, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 16 = chown */ { AS(svr4_sys_break_args), (sy_call_t *)svr4_sys_break, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 17 = svr4_sys_break */ { AS(svr4_sys_stat_args), (sy_call_t *)svr4_sys_stat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 18 = svr4_sys_stat */ { AS(lseek_args), (sy_call_t *)sys_lseek, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 19 = lseek */ { 0, (sy_call_t *)sys_getpid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 20 = getpid */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 21 = old_mount */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 22 = sysv_umount */ { AS(setuid_args), (sy_call_t *)sys_setuid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 23 = setuid */ { 0, (sy_call_t *)sys_getuid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 24 = getuid */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 25 = stime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 26 = ptrace */ { AS(svr4_sys_alarm_args), (sy_call_t *)svr4_sys_alarm, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 27 = svr4_sys_alarm */ { AS(svr4_sys_fstat_args), (sy_call_t *)svr4_sys_fstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 28 = svr4_sys_fstat */ { 0, (sy_call_t *)svr4_sys_pause, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 29 = svr4_sys_pause */ { AS(svr4_sys_utime_args), (sy_call_t *)svr4_sys_utime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 30 = svr4_sys_utime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 31 = stty */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 32 = gtty */ { AS(svr4_sys_access_args), (sy_call_t *)svr4_sys_access, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 33 = svr4_sys_access */ { AS(svr4_sys_nice_args), (sy_call_t *)svr4_sys_nice, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 34 = svr4_sys_nice */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 35 = statfs */ { 0, (sy_call_t *)sys_sync, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 36 = sync */ { AS(svr4_sys_kill_args), (sy_call_t *)svr4_sys_kill, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 37 = svr4_sys_kill */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 38 = fstatfs */ { AS(svr4_sys_pgrpsys_args), (sy_call_t *)svr4_sys_pgrpsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 39 = svr4_sys_pgrpsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 40 = xenix */ { AS(dup_args), (sy_call_t *)sys_dup, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 41 = dup */ - { 0, (sy_call_t *)sys_pipe, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 42 = pipe */ + { 0, (sy_call_t *)svr4_pipe, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 42 = svr4_pipe */ { AS(svr4_sys_times_args), (sy_call_t *)svr4_sys_times, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 43 = svr4_sys_times */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 44 = profil */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 45 = plock */ { AS(setgid_args), (sy_call_t *)sys_setgid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 46 = setgid */ { 0, (sy_call_t *)sys_getgid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 47 = getgid */ { AS(svr4_sys_signal_args), (sy_call_t *)svr4_sys_signal, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 48 = svr4_sys_signal */ { AS(svr4_sys_msgsys_args), (sy_call_t *)svr4_sys_msgsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 49 = svr4_sys_msgsys */ { AS(svr4_sys_sysarch_args), (sy_call_t *)svr4_sys_sysarch, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 50 = svr4_sys_sysarch */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 51 = acct */ { AS(svr4_sys_shmsys_args), (sy_call_t *)svr4_sys_shmsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 52 = svr4_sys_shmsys */ { AS(svr4_sys_semsys_args), (sy_call_t *)svr4_sys_semsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 53 = svr4_sys_semsys */ { AS(svr4_sys_ioctl_args), (sy_call_t *)svr4_sys_ioctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 54 = svr4_sys_ioctl */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 55 = uadmin */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 56 = exch */ { AS(svr4_sys_utssys_args), (sy_call_t *)svr4_sys_utssys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 57 = svr4_sys_utssys */ { AS(fsync_args), (sy_call_t *)sys_fsync, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 58 = fsync */ { AS(svr4_sys_execve_args), (sy_call_t *)svr4_sys_execve, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 59 = svr4_sys_execve */ { AS(umask_args), (sy_call_t *)sys_umask, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 60 = umask */ { AS(chroot_args), (sy_call_t *)sys_chroot, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 61 = chroot */ { AS(svr4_sys_fcntl_args), (sy_call_t *)svr4_sys_fcntl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 62 = svr4_sys_fcntl */ { AS(svr4_sys_ulimit_args), (sy_call_t *)svr4_sys_ulimit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 63 = svr4_sys_ulimit */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 64 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 65 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 66 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 67 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 68 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 69 = reserved */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 70 = advfs */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 71 = unadvfs */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 72 = rmount */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 73 = rumount */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 74 = rfstart */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 75 = sigret */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 76 = rdebug */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 77 = rfstop */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 78 = rfsys */ { AS(rmdir_args), (sy_call_t *)sys_rmdir, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 79 = rmdir */ { AS(mkdir_args), (sy_call_t *)sys_mkdir, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 80 = mkdir */ { AS(svr4_sys_getdents_args), (sy_call_t *)svr4_sys_getdents, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 81 = svr4_sys_getdents */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 82 = libattach */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 83 = libdetach */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 84 = sysfs */ { AS(svr4_sys_getmsg_args), (sy_call_t *)svr4_sys_getmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 85 = svr4_sys_getmsg */ { AS(svr4_sys_putmsg_args), (sy_call_t *)svr4_sys_putmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 86 = svr4_sys_putmsg */ { AS(svr4_sys_poll_args), (sy_call_t *)svr4_sys_poll, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 87 = svr4_sys_poll */ { AS(svr4_sys_lstat_args), (sy_call_t *)svr4_sys_lstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 88 = svr4_sys_lstat */ { AS(symlink_args), (sy_call_t *)sys_symlink, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 89 = symlink */ { AS(readlink_args), (sy_call_t *)sys_readlink, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 90 = readlink */ { AS(getgroups_args), (sy_call_t *)sys_getgroups, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 91 = getgroups */ { AS(setgroups_args), (sy_call_t *)sys_setgroups, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 92 = setgroups */ { AS(fchmod_args), (sy_call_t *)sys_fchmod, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 93 = fchmod */ { AS(fchown_args), (sy_call_t *)sys_fchown, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 94 = fchown */ { AS(svr4_sys_sigprocmask_args), (sy_call_t *)svr4_sys_sigprocmask, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 95 = svr4_sys_sigprocmask */ { AS(svr4_sys_sigsuspend_args), (sy_call_t *)svr4_sys_sigsuspend, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 96 = svr4_sys_sigsuspend */ { AS(svr4_sys_sigaltstack_args), (sy_call_t *)svr4_sys_sigaltstack, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 97 = svr4_sys_sigaltstack */ { AS(svr4_sys_sigaction_args), (sy_call_t *)svr4_sys_sigaction, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 98 = svr4_sys_sigaction */ { AS(svr4_sys_sigpending_args), (sy_call_t *)svr4_sys_sigpending, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 99 = svr4_sys_sigpending */ { AS(svr4_sys_context_args), (sy_call_t *)svr4_sys_context, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 100 = svr4_sys_context */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 101 = evsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 102 = evtrapret */ { AS(svr4_sys_statvfs_args), (sy_call_t *)svr4_sys_statvfs, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 103 = svr4_sys_statvfs */ { AS(svr4_sys_fstatvfs_args), (sy_call_t *)svr4_sys_fstatvfs, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 104 = svr4_sys_fstatvfs */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 105 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 106 = nfssvc */ { AS(svr4_sys_waitsys_args), (sy_call_t *)svr4_sys_waitsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 107 = svr4_sys_waitsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 108 = sigsendsys */ { AS(svr4_sys_hrtsys_args), (sy_call_t *)svr4_sys_hrtsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 109 = svr4_sys_hrtsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 110 = acancel */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 111 = async */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 112 = priocntlsys */ { AS(svr4_sys_pathconf_args), (sy_call_t *)svr4_sys_pathconf, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 113 = svr4_sys_pathconf */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 114 = mincore */ { AS(svr4_sys_mmap_args), (sy_call_t *)svr4_sys_mmap, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 115 = svr4_sys_mmap */ { AS(mprotect_args), (sy_call_t *)sys_mprotect, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 116 = mprotect */ { AS(munmap_args), (sy_call_t *)sys_munmap, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 117 = munmap */ { AS(svr4_sys_fpathconf_args), (sy_call_t *)svr4_sys_fpathconf, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 118 = svr4_sys_fpathconf */ { 0, (sy_call_t *)sys_vfork, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 119 = vfork */ { AS(fchdir_args), (sy_call_t *)sys_fchdir, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 120 = fchdir */ { AS(readv_args), (sy_call_t *)sys_readv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 121 = readv */ { AS(writev_args), (sy_call_t *)sys_writev, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 122 = writev */ { AS(svr4_sys_xstat_args), (sy_call_t *)svr4_sys_xstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 123 = svr4_sys_xstat */ { AS(svr4_sys_lxstat_args), (sy_call_t *)svr4_sys_lxstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 124 = svr4_sys_lxstat */ { AS(svr4_sys_fxstat_args), (sy_call_t *)svr4_sys_fxstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 125 = svr4_sys_fxstat */ { AS(svr4_sys_xmknod_args), (sy_call_t *)svr4_sys_xmknod, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 126 = svr4_sys_xmknod */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 127 = clocal */ { AS(svr4_sys_setrlimit_args), (sy_call_t *)svr4_sys_setrlimit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 128 = svr4_sys_setrlimit */ { AS(svr4_sys_getrlimit_args), (sy_call_t *)svr4_sys_getrlimit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 129 = svr4_sys_getrlimit */ { AS(lchown_args), (sy_call_t *)sys_lchown, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 130 = lchown */ { AS(svr4_sys_memcntl_args), (sy_call_t *)svr4_sys_memcntl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 131 = svr4_sys_memcntl */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 132 = getpmsg */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 133 = putpmsg */ { AS(rename_args), (sy_call_t *)sys_rename, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 134 = rename */ { AS(svr4_sys_uname_args), (sy_call_t *)svr4_sys_uname, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 135 = svr4_sys_uname */ { AS(setegid_args), (sy_call_t *)sys_setegid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 136 = setegid */ { AS(svr4_sys_sysconfig_args), (sy_call_t *)svr4_sys_sysconfig, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 137 = svr4_sys_sysconfig */ { AS(adjtime_args), (sy_call_t *)sys_adjtime, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 138 = adjtime */ { AS(svr4_sys_systeminfo_args), (sy_call_t *)svr4_sys_systeminfo, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 139 = svr4_sys_systeminfo */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 140 = notused */ { AS(seteuid_args), (sy_call_t *)sys_seteuid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 141 = seteuid */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 142 = vtrace */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 143 = { */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 144 = sigtimedwait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 145 = lwp_info */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 146 = yield */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 147 = lwp_sema_wait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 148 = lwp_sema_post */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 149 = lwp_sema_trywait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 150 = notused */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 151 = notused */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 152 = modctl */ { AS(svr4_sys_fchroot_args), (sy_call_t *)svr4_sys_fchroot, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 153 = svr4_sys_fchroot */ { AS(svr4_sys_utimes_args), (sy_call_t *)svr4_sys_utimes, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 154 = svr4_sys_utimes */ { 0, (sy_call_t *)svr4_sys_vhangup, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 155 = svr4_sys_vhangup */ { AS(svr4_sys_gettimeofday_args), (sy_call_t *)svr4_sys_gettimeofday, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 156 = svr4_sys_gettimeofday */ { AS(getitimer_args), (sy_call_t *)sys_getitimer, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 157 = getitimer */ { AS(setitimer_args), (sy_call_t *)sys_setitimer, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 158 = setitimer */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 159 = lwp_create */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 160 = lwp_exit */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 161 = lwp_suspend */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 162 = lwp_continue */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 163 = lwp_kill */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 164 = lwp_self */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 165 = lwp_getprivate */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 166 = lwp_setprivate */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 167 = lwp_wait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 168 = lwp_mutex_unlock */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 169 = lwp_mutex_lock */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 170 = lwp_cond_wait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 171 = lwp_cond_signal */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 172 = lwp_cond_broadcast */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 173 = { */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 174 = { */ { AS(svr4_sys_llseek_args), (sy_call_t *)svr4_sys_llseek, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 175 = svr4_sys_llseek */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 176 = inst_sync */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 177 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 178 = kaio */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 179 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 180 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 181 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 182 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 183 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 184 = tsolsys */ { AS(svr4_sys_acl_args), (sy_call_t *)svr4_sys_acl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 185 = svr4_sys_acl */ { AS(svr4_sys_auditsys_args), (sy_call_t *)svr4_sys_auditsys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 186 = svr4_sys_auditsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 187 = processor_bind */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 188 = processor_info */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 189 = p_online */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 190 = sigqueue */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 191 = clock_gettime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 192 = clock_settime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 193 = clock_getres */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 194 = timer_create */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 195 = timer_delete */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 196 = timer_settime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 197 = timer_gettime */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 198 = timer_overrun */ { AS(nanosleep_args), (sy_call_t *)sys_nanosleep, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 199 = nanosleep */ { AS(svr4_sys_facl_args), (sy_call_t *)svr4_sys_facl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 200 = svr4_sys_facl */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 201 = door */ { AS(setreuid_args), (sy_call_t *)sys_setreuid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 202 = setreuid */ { AS(setregid_args), (sy_call_t *)sys_setregid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 203 = setregid */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 204 = install_utrap */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 205 = signotify */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 206 = schedctl */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 207 = pset */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 208 = whoknows */ { AS(svr4_sys_resolvepath_args), (sy_call_t *)svr4_sys_resolvepath, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 209 = svr4_sys_resolvepath */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 210 = signotifywait */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 211 = lwp_sigredirect */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 212 = lwp_alarm */ { AS(svr4_sys_getdents64_args), (sy_call_t *)svr4_sys_getdents64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 213 = svr4_sys_getdents64 */ { AS(svr4_sys_mmap64_args), (sy_call_t *)svr4_sys_mmap64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 214 = svr4_sys_mmap64 */ { AS(svr4_sys_stat64_args), (sy_call_t *)svr4_sys_stat64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 215 = svr4_sys_stat64 */ { AS(svr4_sys_lstat64_args), (sy_call_t *)svr4_sys_lstat64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 216 = svr4_sys_lstat64 */ { AS(svr4_sys_fstat64_args), (sy_call_t *)svr4_sys_fstat64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 217 = svr4_sys_fstat64 */ { AS(svr4_sys_statvfs64_args), (sy_call_t *)svr4_sys_statvfs64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 218 = svr4_sys_statvfs64 */ { AS(svr4_sys_fstatvfs64_args), (sy_call_t *)svr4_sys_fstatvfs64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 219 = svr4_sys_fstatvfs64 */ { AS(svr4_sys_setrlimit64_args), (sy_call_t *)svr4_sys_setrlimit64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 220 = svr4_sys_setrlimit64 */ { AS(svr4_sys_getrlimit64_args), (sy_call_t *)svr4_sys_getrlimit64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 221 = svr4_sys_getrlimit64 */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 222 = pread64 */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 223 = pwrite64 */ { AS(svr4_sys_creat64_args), (sy_call_t *)svr4_sys_creat64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 224 = svr4_sys_creat64 */ { AS(svr4_sys_open64_args), (sy_call_t *)svr4_sys_open64, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 225 = svr4_sys_open64 */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 226 = rpcsys */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 227 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 228 = whoknows */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 229 = whoknows */ { AS(svr4_sys_socket_args), (sy_call_t *)svr4_sys_socket, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 230 = svr4_sys_socket */ { AS(socketpair_args), (sy_call_t *)sys_socketpair, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 231 = socketpair */ { AS(bind_args), (sy_call_t *)sys_bind, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 232 = bind */ { AS(listen_args), (sy_call_t *)sys_listen, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 233 = listen */ { AS(accept_args), (sy_call_t *)sys_accept, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 234 = accept */ { AS(connect_args), (sy_call_t *)sys_connect, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 235 = connect */ { AS(shutdown_args), (sy_call_t *)sys_shutdown, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 236 = shutdown */ { AS(svr4_sys_recv_args), (sy_call_t *)svr4_sys_recv, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 237 = svr4_sys_recv */ { AS(recvfrom_args), (sy_call_t *)sys_recvfrom, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 238 = recvfrom */ { AS(recvmsg_args), (sy_call_t *)sys_recvmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 239 = recvmsg */ { AS(svr4_sys_send_args), (sy_call_t *)svr4_sys_send, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 240 = svr4_sys_send */ { AS(sendmsg_args), (sy_call_t *)sys_sendmsg, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 241 = sendmsg */ { AS(svr4_sys_sendto_args), (sy_call_t *)svr4_sys_sendto, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 242 = svr4_sys_sendto */ { AS(getpeername_args), (sy_call_t *)sys_getpeername, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 243 = getpeername */ { AS(getsockname_args), (sy_call_t *)sys_getsockname, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 244 = getsockname */ { AS(getsockopt_args), (sy_call_t *)sys_getsockopt, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 245 = getsockopt */ { AS(setsockopt_args), (sy_call_t *)sys_setsockopt, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 246 = setsockopt */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 247 = sockconfig */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 248 = { */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 249 = { */ };