diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2003-03-09 22:49:48 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2003-03-09 22:49:48 +0000 |
commit | 84cc6161ca8402c45ca489e45b21766f09d0dfbf (patch) | |
tree | 283f6c00a6821b7e8c0e76e1fc3107a1aa03b087 /lib/libc/posix1e/acl_delete.c | |
parent | 2abe88edc138f2f3133b9137f8f8ea1f6538d0d1 (diff) | |
download | FreeBSD-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 'lib/libc/posix1e/acl_delete.c')
0 files changed, 0 insertions, 0 deletions