chiark / gitweb /
rules: create /dev/cpu/<n>/cpuid world readable
authorAndre Przywara <andre.przywara@amd.com>
Thu, 23 Apr 2009 22:29:53 +0000 (00:29 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 23 Apr 2009 22:29:53 +0000 (00:29 +0200)
commit57ec3a57f1caa0e325e5ac8a7f54761148b36b1b
tree677f78e845c54c451ad3a1c6c1a17675b6465f9b
parent19d7e87cc0ef364fb13a18411cb165b2427b3529
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>
rules/rules.d/50-udev-default.rules