summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-08-24 06:21:57 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-08-24 06:21:57 +0000
commit57a8da4451d266f1c20587632c1da7a7e62e375f (patch)
tree24a9c0dd48767e8c522a465fd825ea95721cec68 /etc
parentbabc2901341aa35231a3b32cd471bbc71da5514d (diff)
put emul sysctls in appropriate arch. also fix up the comments.
problems noted by fgsch@ and deraadt@
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.alpha/sysctl.conf2
-rw-r--r--etc/etc.hp300/sysctl.conf2
-rw-r--r--etc/etc.i386/sysctl.conf6
-rw-r--r--etc/etc.mac68k/sysctl.conf1
-rw-r--r--etc/etc.mvme68k/sysctl.conf2
-rw-r--r--etc/etc.sparc/sysctl.conf2
-rw-r--r--etc/etc.vax/sysctl.conf1
-rw-r--r--etc/sysctl.conf15
8 files changed, 17 insertions, 14 deletions
diff --git a/etc/etc.alpha/sysctl.conf b/etc/etc.alpha/sysctl.conf
index 5830d5f80a6..08ad51c1a1c 100644
--- a/etc/etc.alpha/sysctl.conf
+++ b/etc/etc.alpha/sysctl.conf
@@ -2,3 +2,5 @@
#machdep.unaligned_fix=0 # 0 - disable fixup of unaligned access
#machdep.unaligned_sigbus=0 # 0 - don't sigbus on unaligned access
#machdep.allowaperture=1 # see xf86(4)
+#kern.emul.netbsd=1 # enable running NetBSD Elf64 binaries
+#kern.emul.osf1=1 # enable running OSF/1 binaries
diff --git a/etc/etc.hp300/sysctl.conf b/etc/etc.hp300/sysctl.conf
index e69de29bb2d..dd7f62856cc 100644
--- a/etc/etc.hp300/sysctl.conf
+++ b/etc/etc.hp300/sysctl.conf
@@ -0,0 +1,2 @@
+#kern.emul.hpux=1 # enable running HP/UX binaries
+#kern.emul.sunos=1 # enable running SunOS binaries
diff --git a/etc/etc.i386/sysctl.conf b/etc/etc.i386/sysctl.conf
index fbea664aee0..781f888b938 100644
--- a/etc/etc.i386/sysctl.conf
+++ b/etc/etc.i386/sysctl.conf
@@ -4,3 +4,9 @@
#machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt
#machdep.userldt=1 # allow userland programs to play with ldt,
# required by some ports
+#kern.emul.aout=1 # enable running dynamic OpenBSD a.out bins
+#kern.emul.bsdos=1 # enable running BSD/OS binaries
+#kern.emul.freebsd=1 # enable running FreeBSD binaries
+#kern.emul.ibcs2=1 # enable running iBCS2 binaries
+#kern.emul.linux=1 # enable running Linux binaries
+#kern.emul.svr4=1 # enable running SVR4 binaries
diff --git a/etc/etc.mac68k/sysctl.conf b/etc/etc.mac68k/sysctl.conf
index e69de29bb2d..06256a46022 100644
--- a/etc/etc.mac68k/sysctl.conf
+++ b/etc/etc.mac68k/sysctl.conf
@@ -0,0 +1 @@
+#kern.emul.sunos=1 # enable running SunOS binaries
diff --git a/etc/etc.mvme68k/sysctl.conf b/etc/etc.mvme68k/sysctl.conf
index e69de29bb2d..dd7f62856cc 100644
--- a/etc/etc.mvme68k/sysctl.conf
+++ b/etc/etc.mvme68k/sysctl.conf
@@ -0,0 +1,2 @@
+#kern.emul.hpux=1 # enable running HP/UX binaries
+#kern.emul.sunos=1 # enable running SunOS binaries
diff --git a/etc/etc.sparc/sysctl.conf b/etc/etc.sparc/sysctl.conf
index 50e54ded7f6..8e573274d3b 100644
--- a/etc/etc.sparc/sysctl.conf
+++ b/etc/etc.sparc/sysctl.conf
@@ -1 +1,3 @@
#machdep.led_blink=1 # 1=On sparc, make led(s) blink
+#kern.emul.sunos=1 # enable running SunOS binaries
+#kern.emul.svr4=1 # enable running SVR4 binaries
diff --git a/etc/etc.vax/sysctl.conf b/etc/etc.vax/sysctl.conf
index e69de29bb2d..c9f4a049d1d 100644
--- a/etc/etc.vax/sysctl.conf
+++ b/etc/etc.vax/sysctl.conf
@@ -0,0 +1 @@
+#kern.emul.ultrix=1 # enable running Ultrix binaries
diff --git a/etc/sysctl.conf b/etc/sysctl.conf
index 5306d4dca0f..96f252069f2 100644
--- a/etc/sysctl.conf
+++ b/etc/sysctl.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: sysctl.conf,v 1.29 2003/08/23 19:33:08 tedu Exp $
+# $OpenBSD: sysctl.conf,v 1.30 2003/08/24 06:21:56 tedu Exp $
#
# This file contains a list of sysctl options the user wants set at
# boot time. See sysctl(3) and sysctl(8) for more information on
@@ -20,16 +20,3 @@
#net.inet.ip.mtudisc=0 # 0=disable tcp mtu discovery
#kern.usercrypto=1 # 1=enable userland use of /dev/crypto
#kern.splassert=2 # 2=enable and verbose error messages.
-# Emulations, uncomment to enable
-#kern.emul.aout=1
-#kern.emul.bsdos=1
-#kern.emul.freebsd=1
-#kern.emul.hpux=1
-#kern.emul.ibcs2=1
-#kern.emul.linux=1
-#kern.emul.netbsd=1
-#kern.emul.osf1=1
-#kern.emul.sunos=1
-#kern.emul.svr4=1
-#kern.emul.ultrix=1
-