diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-28 00:49:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-28 00:49:14 +0000 |
commit | 58d3179258bacbf670c6109272a1441e9802e70e (patch) | |
tree | 482d6d68699068fbc0427ac9b9fd0a66e397279a /etc/etc.i386 | |
parent | fadb80427f4372e43bf4afde3acf20b21a6a5045 (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.conf | 2 |
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 |