mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-12 15:26:44 +01:00
parent
b35c2a0abf
commit
cf1d7504f4
1 changed files with 2 additions and 9 deletions
|
@ -18,19 +18,12 @@ profile sensors @{exec_path} {
|
||||||
/etc/sensors.d/{,*} r,
|
/etc/sensors.d/{,*} r,
|
||||||
/etc/sensors3.conf r,
|
/etc/sensors3.conf r,
|
||||||
|
|
||||||
|
@{sys}/bus/i2c/devices/ r,
|
||||||
@{sys}/class/hwmon/ r,
|
@{sys}/class/hwmon/ r,
|
||||||
@{sys}/class/i2c-adapter/ r,
|
@{sys}/class/i2c-adapter/ r,
|
||||||
@{sys}/devices/**/hwmon*/{,**/} r,
|
|
||||||
@{sys}/devices/**/hwmon*/{in[0-9]_label,in[0-9]_min,in[0-9]_max} r,
|
|
||||||
@{sys}/devices/**/hwmon*/{name,temp*,*_input} r,
|
|
||||||
@{sys}/devices/**/hwmon*/**/{name,temp*,*_input} r,
|
|
||||||
@{sys}/devices/**/hwmon/hwmon@{int}/power@{int}_crit r,
|
|
||||||
@{sys}/devices/**/hwmon/hwmon@{int}/fan@{int}_{label,max,min} r,
|
|
||||||
@{sys}/devices/{,platform/*.{i2c,hdmi}/}i2c-@{int}/name r,
|
@{sys}/devices/{,platform/*.{i2c,hdmi}/}i2c-@{int}/name r,
|
||||||
@{sys}/devices/@{pci}/name r,
|
@{sys}/devices/@{pci}/name r,
|
||||||
@{sys}/devices/platform/**/power_supply/**/hwmon@{int}/curr1_max r,
|
@{sys}/devices/**/hwmon*/** r,
|
||||||
@{sys}/devices/virtual/hwmon/hwmon@{int}/ r,
|
|
||||||
@{sys}/devices/virtual/hwmon/hwmon@{int}/{name,temp*} r,
|
|
||||||
|
|
||||||
# file_inherit
|
# file_inherit
|
||||||
deny @{PROC}/@{pid}/net/dev r,
|
deny @{PROC}/@{pid}/net/dev r,
|
||||||
|
|
Loading…
Reference in a new issue