summaryrefslogtreecommitdiff
path: root/etc/etc.i386
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-03-28 00:49:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-03-28 00:49:14 +0000
commit58d3179258bacbf670c6109272a1441e9802e70e (patch)
tree482d6d68699068fbc0427ac9b9fd0a66e397279a /etc/etc.i386
parentfadb80427f4372e43bf4afde3acf20b21a6a5045 (diff)
Add a sysctl to option USER_LDT, to control its behaviour, which will be
disabled by default. Enable with sysctl -w machdep.userldt=1 This will allow people to use the few ports that require this functionality to work without requiring the user to recompile a kernel. The option USER_LDT remains in order to not increase size on the installation media. It is now enabled in GENERIC. Per espie@'s idea, but my diff was much simpler than his; ok deraadt@
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/sysctl.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/etc.i386/sysctl.conf b/etc/etc.i386/sysctl.conf
index c06bca8922b..fbea664aee0 100644
--- a/etc/etc.i386/sysctl.conf
+++ b/etc/etc.i386/sysctl.conf
@@ -2,3 +2,5 @@
#machdep.apmwarn=10 # battery % when apm status messages enabled
#machdep.apmhalt=0 # 1=powerdown hack, try if halt -p doesn't work
#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