Index of /freebsd/head/sys/compat/svr4
Name Last modified Size Description
Parent Directory 27-Sep-2011 02:38 -
syscalls.conf 27-Sep-2011 02:38 1k
TO-DO 07-Nov-2014 04:38 1k
Makefile 27-Sep-2011 02:38 1k
svr4.h 27-Sep-2011 02:38 2k
svr4_time.h 27-Sep-2011 02:38 2k
svr4_ulimit.h 27-Sep-2011 02:38 2k
svr4_ustat.h 27-Sep-2011 02:38 2k
svr4_utsname.h 27-Sep-2011 02:38 2k
svr4_mman.h 27-Sep-2011 02:38 2k
svr4_filio.h 27-Sep-2011 02:38 2k
svr4_acl.h 27-Sep-2011 02:38 2k
svr4_dirent.h 27-Sep-2011 02:38 2k
svr4_systeminfo.h 27-Sep-2011 02:38 2k
svr4_wait.h 27-Sep-2011 02:38 2k
svr4_socket.h 27-Sep-2011 02:38 2k
svr4_util.h 27-Sep-2011 02:38 2k
svr4_ucontext.h 27-Sep-2011 02:38 2k
svr4_statvfs.h 27-Sep-2011 02:38 2k
svr4_exec.h 27-Sep-2011 02:38 2k
svr4_ioctl.h 27-Sep-2011 02:38 3k
svr4_sockmod.h 27-Sep-2011 02:38 3k
svr4_hrt.h 27-Sep-2011 02:38 3k
svr4_stat.h 27-Sep-2011 02:38 3k
svr4_sockio.h 27-Sep-2011 02:38 3k
svr4_sysconfig.h 27-Sep-2011 02:38 3k
svr4_timod.h 27-Sep-2011 02:38 3k
svr4_types.h 27-Sep-2011 02:38 3k
svr4_siginfo.h 27-Sep-2011 02:38 3k
svr4_fuser.h 28-Sep-2014 13:53 4k
svr4_fcntl.h 27-Sep-2011 02:38 4k
svr4_resource.h 28-Sep-2014 13:53 4k
svr4_ipc.h 27-Sep-2011 02:38 4k
svr4_ioctl.c 28-Sep-2014 13:53 4k
svr4_signal.h 27-Sep-2011 02:38 4k
svr4_syscall.h 19-Nov-2011 04:14 5k
svr4_sockio.c 06-Nov-2013 04:47 5k
svr4_errno.h 27-Sep-2011 02:38 5k
svr4_stropts.h 27-Sep-2011 02:38 6k
svr4_termios.h 27-Sep-2011 02:38 6k
svr4_filio.c 28-Sep-2014 13:53 7k
imgact_svr4.c 10-Sep-2013 04:37 7k
svr4_socket.c 27-Sep-2011 02:38 7k
svr4_sysvec.c 10-Oct-2012 04:38 9k
svr4_syscallnames.c 19-Nov-2011 04:14 10k
svr4_resource.c 28-Sep-2014 13:53 10k
svr4_signal.c 27-Sep-2011 02:38 13k
svr4_stat.c 27-Sep-2011 02:38 14k
svr4_fcntl.c 28-Sep-2014 13:53 15k
svr4_ipc.c 28-Sep-2014 13:53 16k
syscalls.master 19-Nov-2011 04:14 16k
svr4_termios.c 27-Sep-2011 02:38 16k
svr4_sysent.c 19-Nov-2011 04:14 27k
svr4_proto.h 19-Nov-2011 04:14 28k
svr4_misc.c 28-Sep-2014 13:53 35k
svr4_stream.c 28-Sep-2014 13:53 42k
This is a SysVR4 emulator derived from work done as part of the NetBSD
Project by Christos Zoulas. It has been ported to FreeBSD by Mark Newton.
To use it:
1. Choose one of:
a. Add "device streams" to your kernel config file and rebuild,
reboot; or
b. Build and install the streams module in /sys/modules/streams
2. Build and install the svr4 module in /sys/modules/svr4
3. Type "kldload svr4" to start it up.
4. Grab compat_sol26.tar.gz or compat_svr4.tar.gz from
http://www.freebsd.org/~newton/freebsd-svr4 and install them in
/compat/svr4
5. Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev
6. Mount a Solaris/x86 v2.6 or v7 CD-ROM on /cdrom (also works with
v2.4 and v2.5.1, but you need different symlinks in /compat/svr4)
7. Brand any executables you want to run, and/or set the
kern.fallback_elf_brand sysctl to 'SVR4' to establish this as the
default emulator for unbranded executables.
8. See if your SysVR4 programs work.
It's early days yet, folks -- You'll probably have trouble getting 100%
functionality out of most things (specifically, poll() on a socket doesn't
look like it works at the moment, so Netscape doesn't work (among other
things)). Patches will be appreciated.
- Mark Newton
newton@atdot.dotat.org
$FreeBSD: head/sys/compat/svr4/README 274185 2014-11-06 16:52:51Z imp $