summaryrefslogtreecommitdiff
path: root/sys/compat/ultrix/ultrix_ioctl.c
AgeCommit message (Collapse)Author
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-01-05from netbsd:Theo de Raadt
Rewrite (a copy of) the emul-sunos termio/termios emulation code to emulate Ultrix termio/termios instead. Ultrix termio c_cc has separate VMIM/VTIME attributes, and the Ultrix termios c_cc is a strict superset of Ultrix termio c_cc. The termios-only c_cc indices are all changed, relative to SunOS.
1995-12-26from netbsd:Theo de Raadt
Add emulation of Ultrix select: before calling native sys_select(), limit the number of FDs to select on to the maximum supported by NetBSD -- which is as many FDs as the emul_ultrix process can have open, anyway. Add emulation of Ultrix getmnt(2) in ultrix_fs.c Add partial emulation of Ultrix tty ioctl()s in ultrix_ioctl.c, derived from compat/sunos/sunos_ioctl.c. Ultrix libc's ``isatty()'' now works in compat_emul processes. Fix ultrix_sys_select() entry. Add emulation of ultrix mount(2). Sufficient to NFS-mount filesystems using a NetBSD kernel in an ultrix root filesystem. Move wait emulation to the old (v7) wait syscall number, as that's what the Ultrix ufs_mount binary uses.