The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/svr4/

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

Name Size Last modified (GMT) Description
Back Parent directory 2019-04-21 12:54:02
File Makefile 560 bytes 2019-04-21 12:54:01
File README 1378 bytes 2019-04-21 12:54:01
File TO-DO 355 bytes 2019-04-21 12:54:01
C file imgact_svr4.c 7016 bytes 2019-04-21 12:54:01
C file svr4.h 1690 bytes 2019-04-21 12:54:01
C file svr4_acl.h 2045 bytes 2019-04-21 12:54:01
C file svr4_dirent.h 2088 bytes 2019-04-21 12:54:01
C file svr4_errno.h 5198 bytes 2019-04-21 12:54:01
C file svr4_exec.h 2566 bytes 2019-04-21 12:54:01
C file svr4_fcntl.c 15863 bytes 2019-04-21 12:54:01
C file svr4_fcntl.h 3850 bytes 2019-04-21 12:54:01
C file svr4_filio.c 7088 bytes 2019-04-21 12:54:01
C file svr4_filio.h 2012 bytes 2019-04-21 12:54:01
C file svr4_fuser.h 3700 bytes 2019-04-21 12:54:01
C file svr4_hrt.h 2755 bytes 2019-04-21 12:54:01
C file svr4_ioctl.c 4473 bytes 2019-04-21 12:54:01
C file svr4_ioctl.h 2706 bytes 2019-04-21 12:54:01
C file svr4_ipc.c 15617 bytes 2019-04-21 12:54:01
C file svr4_ipc.h 4227 bytes 2019-04-21 12:54:01
C file svr4_misc.c 36262 bytes 2019-04-21 12:54:01
C file svr4_mman.h 1970 bytes 2019-04-21 12:54:01
C file svr4_proto.h 29099 bytes 2019-04-21 12:54:01
C file svr4_resource.c 9652 bytes 2019-04-21 12:54:01
C file svr4_resource.h 4112 bytes 2019-04-21 12:54:01
C file svr4_siginfo.h 3405 bytes 2019-04-21 12:54:01
C file svr4_signal.c 13156 bytes 2019-04-21 12:54:01
C file svr4_signal.h 4570 bytes 2019-04-21 12:54:01
C file svr4_socket.c 7495 bytes 2019-04-21 12:54:01
C file svr4_socket.h 2408 bytes 2019-04-21 12:54:01
C file svr4_sockio.c 4889 bytes 2019-04-21 12:54:01
C file svr4_sockio.h 3274 bytes 2019-04-21 12:54:01
C file svr4_sockmod.h 2720 bytes 2019-04-21 12:54:01
C file svr4_stat.c 14993 bytes 2019-04-21 12:54:01
C file svr4_stat.h 3195 bytes 2019-04-21 12:54:01
C file svr4_statvfs.h 2534 bytes 2019-04-21 12:54:01
C file svr4_stream.c 42784 bytes 2019-04-21 12:54:01
C file svr4_stropts.h 5850 bytes 2019-04-21 12:54:01
C file svr4_syscall.h 4893 bytes 2019-04-21 12:54:01
C file svr4_syscallnames.c 9794 bytes 2019-04-21 12:54:01
C file svr4_sysconfig.h 3276 bytes 2019-04-21 12:54:01
C file svr4_sysent.c 27332 bytes 2019-04-21 12:54:01
C file svr4_systeminfo.h 2160 bytes 2019-04-21 12:54:01
C file svr4_sysvec.c 8831 bytes 2019-04-21 12:54:01
C file svr4_termios.c 16681 bytes 2019-04-21 12:54:01
C file svr4_termios.h 6327 bytes 2019-04-21 12:54:01
C file svr4_time.h 1752 bytes 2019-04-21 12:54:01
C file svr4_timod.h 3289 bytes 2019-04-21 12:54:01
C file svr4_types.h 3294 bytes 2019-04-21 12:54:01
C file svr4_ucontext.h 2520 bytes 2019-04-21 12:54:01
C file svr4_ulimit.h 1805 bytes 2019-04-21 12:54:01
C file svr4_ustat.h 1818 bytes 2019-04-21 12:54:01
C file svr4_util.h 2391 bytes 2019-04-21 12:54:01
C file svr4_utsname.h 1846 bytes 2019-04-21 12:54:01
C file svr4_wait.h 2172 bytes 2019-04-21 12:54:01
File syscalls.conf 338 bytes 2019-04-21 12:54:01
File syscalls.master 16188 bytes 2019-04-21 12:54:01

    1 This is a SysVR4 emulator derived from work done as part of the NetBSD
    2 Project by Christos Zoulas.  It has been ported to FreeBSD by Mark Newton.
    3 
    4 To use it:
    5 
    6 1.  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 
   11 2.  Build and install the svr4 module in /sys/modules/svr4
   12 
   13 3.  Type "kldload svr4" to start it up.
   14 
   15 4.  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 
   19 5.  Run "sh SVR4_MAKEDEV all" in /compat/svr4/dev
   20 
   21 6.  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 
   24 7.  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 
   28 8.  See if your SysVR4 programs work.
   29 
   30 It's early days yet, folks -- You'll probably have trouble getting 100%
   31 functionality out of most things (specifically, poll() on a socket doesn't
   32 look like it works at the moment, so Netscape doesn't work (among other
   33 things)).  Patches will be appreciated.
   34 
   35    - Mark Newton
   36      newton@atdot.dotat.org
   37 
   38 $FreeBSD: releng/11.0/sys/compat/svr4/README 274185 2014-11-06 16:52:51Z imp $

[ source navigation ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.