Commit Graph

155 Commits

Author SHA1 Message Date
christos
5476886e52 printf -> kprintf, sprintf -> ksprintf 1996-10-10 17:47:29 +00:00
thorpej
0644233c4c Merge the netbsd-1-2 branch back into the mainline. 1996-10-09 00:49:40 +00:00
mrg
6ad189ffbb minor copyright update. 1996-10-05 23:50:49 +00:00
jonathan
3281d4c16d Fix cut-and-paste (ouap vs ap) bugs so the previous revision actually
compiles.  Change variable names to use "ap" instead of "ouap" everywhere
to avoid similar bugs in future.
1996-09-29 10:52:02 +00:00
mycroft
e9e01a4d00 Regen. 1996-09-03 03:19:46 +00:00
mycroft
5de9f548a2 Give every emulation its own Makefile for the syscall table. 1996-09-03 03:18:04 +00:00
mycroft
a8fd25767d Define execv() and execve() consistently across emulations.
Do path name translation.
1996-09-03 03:12:17 +00:00
mycroft
118b9b478d sys/dir.h -> sys/dirent.h 1996-08-10 09:08:26 +00:00
mycroft
f01b3b1837 Regen. 1996-06-23 11:12:22 +00:00
mycroft
3bbb29fe03 Catch up with setre[ug]id() changes. 1996-06-23 11:10:01 +00:00
cgd
d73abf41aa avoid unnecessary checks of m_get/MGET/etc.'s return values. When
they're called with M_WAIT, they are defined to never return NULL.
1996-06-14 22:21:12 +00:00
jonathan
592ca35c51 Fix typos in SUSP and DSUSP mapping when setting Ultrix posixmode tty
attributes  (was 112 and 113,  should be 12 and 13).
1996-06-13 18:13:34 +00:00
jonathan
b72f41635e Remove gcc -Wall lint from ultrix emulation.-
Mostly adding explicit != comparison to "if (error = copyin/out( ... ))".
Fix comment glitch in ultrix_fs.c
1996-04-07 17:23:04 +00:00
jonathan
938d7138be Add vax setregs() support for exec'ing vax ultrix a.out binaries. 1996-04-07 16:38:03 +00:00
pk
9bfd34f41e Adapt to NFSv3. 1996-02-19 15:41:38 +00:00
jonathan
aadc0baf87 Add '/emul/ultrix' pathname processing to Ultrix emulation, and move
Ultrix syscalls that require that processing out of ultrix_misc.c
to ultrix_pathname.c.
1996-01-07 13:38:49 +00:00
jonathan
36817f8d02 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.
1996-01-04 19:03:32 +00:00
jonathan
ac604db4dd Add sigcode and esigcode to emul_ultrix, so that signal trampoline
code is set up for emul_ultrix processes.
1996-01-03 21:07:33 +00:00
jonathan
c02f0114ff Ultrix-compatible termios struct and ioctl() definitions. 1995-12-27 19:57:25 +00:00
jonathan
a44b6c74de 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.
1995-12-26 10:06:14 +00:00
jonathan
e9411cae99 Fix ultrix_sys_select() entry. 1995-12-26 04:46:08 +00:00
jonathan
6a363a1101 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.
1995-12-26 04:44:37 +00:00
jonathan
0a1e90f900 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.
1995-12-26 04:22:30 +00:00
jtc
0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
mycroft
6263c69339 Reran makesyscalls.sh. 1995-10-07 06:51:37 +00:00
mycroft
245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
thorpej
236ee835ed Add common file lists, similar to what the other emulation modules use. 1995-09-20 00:15:18 +00:00
thorpej
78f7651c91 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:49:22 +00:00
thorpej
9c2a912abe makesyscalls.sh changed 1995-09-19 22:46:47 +00:00
thorpej
e4747eef00 Obsolete; use the one in /sys/kern 1995-09-19 22:46:04 +00:00
cgd
8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
mellon
b23214bbd9 Clear up name conflict between Ultrix syscall 103 and 139. 1995-06-01 16:38:15 +00:00
mellon
ccd1ab13a1 syscall 139 is ULTRIX_SYS_sigcleanup (from Simon Burge) 1995-05-29 17:32:35 +00:00
mellon
43da4827ae sigcode and esigcode aren't defined for ultrix emulation 1995-04-25 21:51:15 +00:00
christos
44eef7c28b - added struct emul to all emulations.
- removed all setup functions.
- added copyargs() functions where needed.
1995-04-22 19:48:19 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mellon
e7859a639f Fix up some incompatibilities and some indentation botches 1995-02-01 05:09:14 +00:00
mellon
4ecd541c1f Fix up non-ANSI code (which was a no-op anyway) 1995-01-18 06:56:34 +00:00
dean
6d4bd6bb91 fixed typo 1994-12-02 18:13:00 +00:00
dean
7d467781b8 new sysent version. 1994-12-02 18:12:34 +00:00
dean
5e8c18eb44 added sigreturn 1994-12-01 16:41:43 +00:00
dean
d0a26487e7 New syscall stuff 1994-12-01 16:23:20 +00:00
dean
aa7c33ed7d {get,set}rlimit functions (From Jonathan Stone) 1994-11-23 22:34:58 +00:00
dean
d401f2494f changes for new sysent structure (from J. Stone) 1994-11-23 17:49:06 +00:00
cgd
74d7436a91 pay a small amount of lip service to the new syscall args mechanism.
In reality, none of these will compile.
1994-10-20 04:47:31 +00:00
glass
7ea51310a8 add ultrix_{get,set}sysinfo() from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:16:24 +00:00
glass
32d2a27836 ultrix_{get,set}info from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:15:06 +00:00
cgd
19f726e77f fix a botch, and gen syscall files 1994-06-30 17:00:13 +00:00
cgd
bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
cgd
cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
glass
e0069330b3 oops 1994-06-25 07:06:49 +00:00
glass
188170d2e3 update to reflect compat_ultrix syscalls.master 1994-06-22 03:38:25 +00:00
glass
8c50058535 update for getdtablesize change, and track compat_sunos 1994-06-22 03:37:15 +00:00
glass
57642fb485 much works but untested w/new fs. expect more tomorrow 1994-06-15 05:18:01 +00:00
glass
2c9de9962f first swipe at ultrix compat. expect many bug fixes. very related to compat/sunos 1994-06-02 06:25:37 +00:00