summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2003-03-09 22:49:48 +0000
committerdwmalone <dwmalone@FreeBSD.org>2003-03-09 22:49:48 +0000
commit84cc6161ca8402c45ca489e45b21766f09d0dfbf (patch)
tree283f6c00a6821b7e8c0e76e1fc3107a1aa03b087 /sys/ia64
parent2abe88edc138f2f3133b9137f8f8ea1f6538d0d1 (diff)
downloadFreeBSD-src-84cc6161ca8402c45ca489e45b21766f09d0dfbf.zip
FreeBSD-src-84cc6161ca8402c45ca489e45b21766f09d0dfbf.tar.gz
Add a a sysctl, hw.kbd.keymap_restrict_change, which acts a bit
like secure level but which restricts changes to the keymap. Its values impose the following restrictions: 0: No restriction - this is the default. 1: Only root can change restricted keys (like boot, panic, ...) 2: Only root can change restricted keys and regular keys. Other users still can change accents and function keys. 3: Only root can change restricted keys, regular keys and accents. 4: Only root can change any of the keymap (restricted keys, regular keys, accents and function keys). Unfortunately, the keyboard's accent map is cleared when a new keymap is loaded, which makes the distinction between level 3 and level 4 less useful. The MAC guys might like to make this a policy? No objections from: -audit about 6 moths ago
Diffstat (limited to 'sys/ia64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud