| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| Makefile | HD | 10-Jan-2016 | 487 | 18 | 10 | |
| README | HD | 10-Jan-2016 | 1.3 KiB | 39 | 26 | |
| TO-DO | HD | 10-Jan-2016 | 287 | 16 | 8 | |
| imgact_svr4.c | HD | 10-Jan-2016 | 6.8 KiB | 239 | 147 | |
| svr4.h | HD | 10-Jan-2016 | 1.6 KiB | 40 | 6 | |
| svr4_acl.h | HD | 10-Jan-2016 | 1.9 KiB | 47 | 11 | |
| svr4_dirent.h | HD | 10-Jan-2016 | 2 KiB | 54 | 18 | |
| svr4_errno.h | HD | 10-Jan-2016 | 5 KiB | 173 | 136 | |
| svr4_exec.h | HD | 10-Jan-2016 | 2.4 KiB | 71 | 19 | |
| svr4_fcntl.c | HD | 10-Jan-2016 | 15.4 KiB | 733 | 558 | |
| svr4_fcntl.h | HD | 10-Jan-2016 | 3.7 KiB | 135 | 89 | |
| svr4_filio.c | HD | 10-Jan-2016 | 6.6 KiB | 253 | 186 | |
| svr4_filio.h | HD | 10-Jan-2016 | 1.9 KiB | 46 | 11 | |
| svr4_fuser.h | HD | 10-Jan-2016 | 3.5 KiB | 91 | 18 | |
| svr4_hrt.h | HD | 10-Jan-2016 | 2.6 KiB | 88 | 45 | |
| svr4_ioctl.c | HD | 10-Jan-2016 | 4.3 KiB | 166 | 116 | |
| svr4_ioctl.h | HD | 10-Jan-2016 | 2.6 KiB | 61 | 24 | |
| svr4_ipc.c | HD | 10-Jan-2016 | 15.5 KiB | 701 | 546 | |
| svr4_ipc.h | HD | 10-Jan-2016 | 4.1 KiB | 177 | 114 | |
| svr4_misc.c | HD | 10-Jan-2016 | 35.4 KiB | 1,670 | 1,335 | |
| svr4_mman.h | HD | 10-Jan-2016 | 1.9 KiB | 48 | 9 | |
| svr4_proto.h | HD | 10-Jan-2016 | 28.1 KiB | 597 | 563 | |
| svr4_resource.c | HD | 10-Jan-2016 | 9.3 KiB | 307 | 171 | |
| svr4_resource.h | HD | 10-Jan-2016 | 3.9 KiB | 103 | 28 | |
| svr4_siginfo.h | HD | 10-Jan-2016 | 3.2 KiB | 112 | 67 | |
| svr4_signal.c | HD | 10-Jan-2016 | 12.8 KiB | 578 | 477 | |
| svr4_signal.h | HD | 10-Jan-2016 | 4.4 KiB | 145 | 95 | |
| svr4_socket.c | HD | 10-Jan-2016 | 7 KiB | 246 | 177 | |
| svr4_socket.h | HD | 10-Jan-2016 | 2.3 KiB | 59 | 20 | |
| svr4_sockio.c | HD | 10-Jan-2016 | 4.9 KiB | 181 | 117 | |
| svr4_sockio.h | HD | 10-Jan-2016 | 3.1 KiB | 94 | 53 | |
| svr4_sockmod.h | HD | 10-Jan-2016 | 2.6 KiB | 84 | 46 | |
| svr4_stat.c | HD | 10-Jan-2016 | 14.6 KiB | 706 | 539 | |
| svr4_stat.h | HD | 10-Jan-2016 | 3 KiB | 106 | 69 | |
| svr4_statvfs.h | HD | 10-Jan-2016 | 2.4 KiB | 73 | 38 | |
| svr4_stream.c | HD | 10-Jan-2016 | 41.7 KiB | 2,044 | 1,541 | |
| svr4_stropts.h | HD | 10-Jan-2016 | 5.6 KiB | 180 | 110 | |
| svr4_syscall.h | HD | 10-Jan-2016 | 4.7 KiB | 148 | 139 | |
| svr4_syscallnames.c | HD | 10-Jan-2016 | 9.5 KiB | 261 | 252 | |
| svr4_sysconfig.h | HD | 10-Jan-2016 | 3.1 KiB | 79 | 46 | |
| svr4_sysent.c | HD | 10-Jan-2016 | 26.6 KiB | 273 | 261 | |
| svr4_systeminfo.h | HD | 10-Jan-2016 | 2 KiB | 51 | 18 | |
| svr4_sysvec.c | HD | 10-Jan-2016 | 8.6 KiB | 314 | 250 | |
| svr4_termios.c | HD | 10-Jan-2016 | 16.2 KiB | 613 | 498 | |
| svr4_termios.h | HD | 10-Jan-2016 | 6.1 KiB | 225 | 175 | |
| svr4_time.h | HD | 10-Jan-2016 | 1.6 KiB | 42 | 8 | |
| svr4_timod.h | HD | 10-Jan-2016 | 3.1 KiB | 88 | 49 | |
| svr4_types.h | HD | 10-Jan-2016 | 3.1 KiB | 82 | 43 | |
| svr4_ucontext.h | HD | 10-Jan-2016 | 2.4 KiB | 75 | 28 | |
| svr4_ulimit.h | HD | 10-Jan-2016 | 1.7 KiB | 42 | 8 | |
| svr4_ustat.h | HD | 10-Jan-2016 | 1.7 KiB | 44 | 10 | |
| svr4_util.h | HD | 10-Jan-2016 | 2.3 KiB | 65 | 27 | |
| svr4_utsname.h | HD | 10-Jan-2016 | 1.7 KiB | 45 | 11 | |
| svr4_wait.h | HD | 10-Jan-2016 | 2 KiB | 57 | 21 | |
| syscalls.conf | HD | 10-Jan-2016 | 262 | 12 | 10 | |
| syscalls.master | HD | 10-Jan-2016 | 15.7 KiB | 397 | 390 |
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