mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-23 15:39:28 +07:00
rules: create /dev/cpu/<n>/cpuid world readable
I don't see any security implications, to be actually useful, /dev/cpu/<n>/cpuid should be world readable. The cpuid instruction can be called from userspace anyway, so there is nothing to hide. The device does not support any write operation, so 0444 should suffice. Signed-off-by: Andre Przywara <andre.przywara@amd.com>
This commit is contained in:
parent
19d7e87cc0
commit
57ec3a57f1
@ -94,7 +94,7 @@ SUBSYSTEM=="aoe", KERNEL=="err", MODE="0440"
|
||||
KERNEL=="tun", NAME="net/%k", MODE="0666"
|
||||
|
||||
# CPU
|
||||
KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid"
|
||||
KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid", MODE="0444"
|
||||
KERNEL=="msr[0-9]*", NAME="cpu/%n/msr"
|
||||
KERNEL=="microcode", NAME="cpu/microcode", MODE="0600"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user