]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: Clarify scope of attribute access
authorGuenter Roeck <linux@roeck-us.net>
Mon, 19 Apr 2021 17:59:48 +0000 (10:59 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 20 Apr 2021 13:50:14 +0000 (06:50 -0700)
commit35c243cef90007e1bb8b8627b3540f3061b6f229
tree18db8b29399c5902c3c4b48aa590993224556636
parentca71f083cf7d648e2fa0ea52c677c59c692ca503
hwmon: Clarify scope of attribute access

Hardware monitoring sysfs attributes are used and displayed by unrestricted
userspace applications. Standard attributes therefore have to be world
readable, since otherwise those userspace applications would either have
to run as super-user or display an error. None of those makes sense.
Clarify the expected scope of attribute access in the ABI document.

Cc: Naveen Krishna Chatradhi <nchatrad@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/sysfs-interface.rst