read access to the hwmon directory

This commit is contained in:
Roman Beslik 2025-03-26 10:21:15 +02:00 committed by Alex
parent 921503f514
commit 647d22ab9f

View file

@ -23,7 +23,7 @@ profile sensors @{exec_path} {
@{sys}/class/i2c-adapter/ r,
@{sys}/devices/{,platform/*.{i2c,hdmi}/}i2c-@{int}/name r,
@{sys}/devices/@{pci}/name r,
@{sys}/devices/**/hwmon*/** r,
@{sys}/devices/**/hwmon*/{,**} r,
# file_inherit
deny @{PROC}/@{pid}/net/dev r,