diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-23 19:26:26 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-23 19:26:26 +0000 |
commit | 0c119ce9d472a733235daa646741925bc3e01db6 (patch) | |
tree | 80160514caa41cb452826fe5da13744723592193 | |
parent | 4fbbabf756473e0c78933ad2ec1473f28b7afea0 (diff) |
document necessity for sysctl to enable compat code. ok deraadt@
-rw-r--r-- | sbin/sysctl/sysctl.8 | 4 | ||||
-rw-r--r-- | share/man/man8/compat_bsdos.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_freebsd.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_hpux.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_ibcs2.8 | 4 | ||||
-rw-r--r-- | share/man/man8/compat_linux.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_osf1.8 | 7 | ||||
-rw-r--r-- | share/man/man8/compat_sunos.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_svr4.8 | 6 | ||||
-rw-r--r-- | share/man/man8/compat_ultrix.8 | 4 |
10 files changed, 37 insertions, 18 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index a32c266acea..c856c578b4d 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.105 2003/07/08 18:50:40 jmc Exp $ +.\" $OpenBSD: sysctl.8,v 1.106 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -169,6 +169,8 @@ privilege can change the value. .It kern.shminfo.shmall integer yes .It kern.watchdog.period integer yes .It kern.watchdog.auto integer yes +.It kern.emul.nemuls integer no +.It kern.emul.other integer yes .It vm.vmmeter struct no .It vm.loadavg struct no .It vm.psstrings struct no diff --git a/share/man/man8/compat_bsdos.8 b/share/man/man8/compat_bsdos.8 index 2ebaf15ecb6..7fd101b2411 100644 --- a/share/man/man8/compat_bsdos.8 +++ b/share/man/man8/compat_bsdos.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_bsdos.8,v 1.8 2003/06/04 04:11:37 deraadt Exp $ +.\" $OpenBSD: compat_bsdos.8,v 1.9 2003/08/23 19:26:25 tedu Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -39,7 +39,9 @@ supported are proprietary extensions made to the BSDI kernel. To activate the BSDI compatibility feature, the kernel must be compiled with the .Nm COMPAT_BSDOS -option enabled. +option and the kern.emul.bsdos +.Xr sysctl 8 +enabled. .Pp .Nm COMPAT_BSDOS follows the standard diff --git a/share/man/man8/compat_freebsd.8 b/share/man/man8/compat_freebsd.8 index 06a3dbbfed8..6d8844f5ce5 100644 --- a/share/man/man8/compat_freebsd.8 +++ b/share/man/man8/compat_freebsd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_freebsd.8,v 1.15 2003/08/06 12:06:55 jmc Exp $ +.\" $OpenBSD: compat_freebsd.8,v 1.16 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_linux.8,v 1.1 1995/03/05 23:30:36 fvdl Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -53,7 +53,9 @@ The compatibility feature is active for kernels compiled with the .Nm COMPAT_FREEBSD -option enabled. +option and the kern.emul.freebsd +.Xr sysctl 8 +enabled. .Pp A lot of programs are dynamically linked. This means that the diff --git a/share/man/man8/compat_hpux.8 b/share/man/man8/compat_hpux.8 index 3af02c56ee1..d4bf336a516 100644 --- a/share/man/man8/compat_hpux.8 +++ b/share/man/man8/compat_hpux.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_hpux.8,v 1.5 2003/08/06 12:06:55 jmc Exp $ +.\" $OpenBSD: compat_hpux.8,v 1.6 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_hpux.8,v 1.2 2001/12/16 23:47:19 wiz Exp $ .\" from: compat_linux.8,v 1.23 2001/10/07 10:12:05 mbw Exp .\" @@ -50,7 +50,9 @@ for kernels compiled with the .Nm COMPAT_HPUX and .Nm COMPAT_M68K4K -options enabled. +options and the kern.emul.hpux +.Xr sysctl 8 +enabled. HP-UX for m68k uses 4 KB page sizes, and .Ox for all m68k platforms now uses 8 KB page sizes. diff --git a/share/man/man8/compat_ibcs2.8 b/share/man/man8/compat_ibcs2.8 index 9798c19a3ee..e78ed1807c6 100644 --- a/share/man/man8/compat_ibcs2.8 +++ b/share/man/man8/compat_ibcs2.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_ibcs2.8,v 1.13 2003/08/06 12:06:55 jmc Exp $ +.\" $OpenBSD: compat_ibcs2.8,v 1.14 2003/08/23 19:26:25 tedu Exp $ .\" .\" Copyright (c) 1998 Scott Bartram .\" Copyright (c) 1995 Frank van der Linden @@ -47,6 +47,8 @@ Binaries are supported from SCO UNIX and other systems derived from UNIX System V Release 3. iBCS2 support is only well tested using SCO binaries. XENIX binaries are also supported although not as well tested. +This option is controlled by the kern.emul.ibcs2 +.Xr sysctl 8 . SVR4 binaries are supported by the .Nm COMPAT_SVR4 option. diff --git a/share/man/man8/compat_linux.8 b/share/man/man8/compat_linux.8 index 0a309d5a6ea..ec49af29974 100644 --- a/share/man/man8/compat_linux.8 +++ b/share/man/man8/compat_linux.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_linux.8,v 1.30 2003/08/06 12:06:55 jmc Exp $ +.\" $OpenBSD: compat_linux.8,v 1.31 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_linux.8,v 1.2 1995/10/16 20:17:59 fvdl Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -55,7 +55,9 @@ filesystem), and i386-specific calls, such as enabling virtual 8086 mode. The Linux compatibility feature is active for kernels compiled with the .Nm COMPAT_LINUX -option enabled. +option and kern.emul.linux +.Xr sysctl 8 +enabled. .Pp A lot of programs are dynamically linked. This means that the Linux shared libraries that the programs depend on diff --git a/share/man/man8/compat_osf1.8 b/share/man/man8/compat_osf1.8 index 14dc6ae59b1..0b1a354d3f3 100644 --- a/share/man/man8/compat_osf1.8 +++ b/share/man/man8/compat_osf1.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_osf1.8,v 1.5 2003/08/06 12:06:55 jmc Exp $ +.\" $OpenBSD: compat_osf1.8,v 1.6 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_osf1.8,v 1.8 2002/01/14 13:50:43 wiz Exp $ .\" .\" Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -50,8 +50,9 @@ libraries. Programs that make direct MACH system calls will not work. The OSF/1 compatibility feature is active for kernels compiled with the .Nm COMPAT_OSF1 -option enabled (see -.Xr options 4 ) . +option and kern.emul.osf1 +.Xr sysctl 8 +enabled. .Pp To run dynamically linked programs, the OSF/1 shared libraries, runtime linker, and certain configuration files found in diff --git a/share/man/man8/compat_sunos.8 b/share/man/man8/compat_sunos.8 index 51b74eb53bf..5103d1fedee 100644 --- a/share/man/man8/compat_sunos.8 +++ b/share/man/man8/compat_sunos.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_sunos.8,v 1.15 2003/06/26 20:12:25 jmc Exp $ +.\" $OpenBSD: compat_sunos.8,v 1.16 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_sunos.8,v 1.6 1995/06/11 23:05:17 pk Exp $ .\" .\" Copyright (c) 1994 Theo de Raadt @@ -39,7 +39,9 @@ Most executables will work. The SunOS compatibility feature is active for kernels compiled with the .Nm COMPAT_SUNOS -option enabled. +option and kern.emul.sunos +.Xr sysctl 8 +enabled. .Pp Compatibility with SunOS version 5 and later, better known as Solaris, is diff --git a/share/man/man8/compat_svr4.8 b/share/man/man8/compat_svr4.8 index 40b70179291..f49e5d7649f 100644 --- a/share/man/man8/compat_svr4.8 +++ b/share/man/man8/compat_svr4.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_svr4.8,v 1.14 2003/07/21 12:43:42 jmc Exp $ +.\" $OpenBSD: compat_svr4.8,v 1.15 2003/08/23 19:26:25 tedu Exp $ .\" $NetBSD: compat_svr4.8,v 1.1 1996/07/06 17:14:50 christos Exp $ .\" .\" Copyright (c) 1996 Christos Zoulas @@ -58,7 +58,9 @@ filesystem The SVR4 compatibility feature is active for kernels compiled with the .Nm COMPAT_SVR4 -option enabled. +option and kern.emul.svr4 +.Xr sysctl 8 +enabled. .Pp Most SVR4 programs are dynamically linked. This means that the shared libraries that the programs depend on diff --git a/share/man/man8/compat_ultrix.8 b/share/man/man8/compat_ultrix.8 index dc2f8b7393b..10f3a2b8622 100644 --- a/share/man/man8/compat_ultrix.8 +++ b/share/man/man8/compat_ultrix.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: compat_ultrix.8,v 1.15 2003/07/21 12:46:47 jmc Exp $ +.\" $OpenBSD: compat_ultrix.8,v 1.16 2003/08/23 19:26:25 tedu Exp $ .\" .\" Copyright (c) 1997 Jonathan Stone .\" All rights reserved. @@ -42,6 +42,8 @@ ULTRIX executables, respectively. However, the user is responsible for the legal issues of ensuring that they have a right to use any ULTRIX binaries on their machine. +Emulation is controlled by the kern.emul.ultrix +.Xr sysctl 8 . .Pp Most executables will work. The exceptions include programs that use |