Name Date Size #Lines LOC

..--

MakefileHD10-Jan-2016487 1810

READMEHD10-Jan-20161.3 KiB3926

TO-DOHD10-Jan-2016287 168

imgact_svr4.cHD10-Jan-20166.8 KiB239147

svr4.hHD10-Jan-20161.6 KiB406

svr4_acl.hHD10-Jan-20161.9 KiB4711

svr4_dirent.hHD10-Jan-20162 KiB5418

svr4_errno.hHD10-Jan-20165 KiB173136

svr4_exec.hHD10-Jan-20162.4 KiB7119

svr4_fcntl.cHD10-Jan-201615.4 KiB733558

svr4_fcntl.hHD10-Jan-20163.7 KiB13589

svr4_filio.cHD10-Jan-20166.6 KiB253186

svr4_filio.hHD10-Jan-20161.9 KiB4611

svr4_fuser.hHD10-Jan-20163.5 KiB9118

svr4_hrt.hHD10-Jan-20162.6 KiB8845

svr4_ioctl.cHD10-Jan-20164.3 KiB166116

svr4_ioctl.hHD10-Jan-20162.6 KiB6124

svr4_ipc.cHD10-Jan-201615.5 KiB701546

svr4_ipc.hHD10-Jan-20164.1 KiB177114

svr4_misc.cHD10-Jan-201635.4 KiB1,6701,335

svr4_mman.hHD10-Jan-20161.9 KiB489

svr4_proto.hHD10-Jan-201628.1 KiB597563

svr4_resource.cHD10-Jan-20169.3 KiB307171

svr4_resource.hHD10-Jan-20163.9 KiB10328

svr4_siginfo.hHD10-Jan-20163.2 KiB11267

svr4_signal.cHD10-Jan-201612.8 KiB578477

svr4_signal.hHD10-Jan-20164.4 KiB14595

svr4_socket.cHD10-Jan-20167 KiB246177

svr4_socket.hHD10-Jan-20162.3 KiB5920

svr4_sockio.cHD10-Jan-20164.9 KiB181117

svr4_sockio.hHD10-Jan-20163.1 KiB9453

svr4_sockmod.hHD10-Jan-20162.6 KiB8446

svr4_stat.cHD10-Jan-201614.6 KiB706539

svr4_stat.hHD10-Jan-20163 KiB10669

svr4_statvfs.hHD10-Jan-20162.4 KiB7338

svr4_stream.cHD10-Jan-201641.7 KiB2,0441,541

svr4_stropts.hHD10-Jan-20165.6 KiB180110

svr4_syscall.hHD10-Jan-20164.7 KiB148139

svr4_syscallnames.cHD10-Jan-20169.5 KiB261252

svr4_sysconfig.hHD10-Jan-20163.1 KiB7946

svr4_sysent.cHD10-Jan-201626.6 KiB273261

svr4_systeminfo.hHD10-Jan-20162 KiB5118

svr4_sysvec.cHD10-Jan-20168.6 KiB314250

svr4_termios.cHD10-Jan-201616.2 KiB613498

svr4_termios.hHD10-Jan-20166.1 KiB225175

svr4_time.hHD10-Jan-20161.6 KiB428

svr4_timod.hHD10-Jan-20163.1 KiB8849

svr4_types.hHD10-Jan-20163.1 KiB8243

svr4_ucontext.hHD10-Jan-20162.4 KiB7528

svr4_ulimit.hHD10-Jan-20161.7 KiB428

svr4_ustat.hHD10-Jan-20161.7 KiB4410

svr4_util.hHD10-Jan-20162.3 KiB6527

svr4_utsname.hHD10-Jan-20161.7 KiB4511

svr4_wait.hHD10-Jan-20162 KiB5721

syscalls.confHD10-Jan-2016262 1210

syscalls.masterHD10-Jan-201615.7 KiB397390

README

1This is a SysVR4 emulator derived from work done as part of the NetBSD
2Project by Christos Zoulas.  It has been ported to FreeBSD by Mark Newton.
3
4To use it:
5
61.  Choose one of:
7      a.  Add "device streams" to your kernel config file and rebuild,
8          reboot; or
9      b.  Build and install the streams module in /sys/modules/streams
10
112.  Build and install the svr4 module in /sys/modules/svr4
12
133.  Type "kldload svr4" to start it up.
14
154.  Grab compat_sol26.tar.gz or compat_svr4.tar.gz from
16    http://www.freebsd.org/~newton/freebsd-svr4 and install them in
17    /compat/svr4
18
195.  Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev
20
216.  Mount a Solaris/x86 v2.6 or v7 CD-ROM on /cdrom (also works with
22    v2.4 and v2.5.1, but you need different symlinks in /compat/svr4)
23
247.  Brand any executables you want to run, and/or set the
25    kern.fallback_elf_brand sysctl to 'SVR4' to establish this as the
26    default emulator for unbranded executables.
27
288.  See if your SysVR4 programs work.
29
30It's early days yet, folks -- You'll probably have trouble getting 100%
31functionality out of most things (specifically, poll() on a socket doesn't
32look like it works at the moment, so Netscape doesn't work (among other
33things)).  Patches will be appreciated.
34
35   - Mark Newton
36     newton@atdot.dotat.org
37
38$FreeBSD$
39