feat(profiles): replace old [0-9]* glob by @{int}

Beware some [0-9]* glob are actually not proper @{int}.
This commit is contained in:
Alexandre Pujol 2023-08-18 17:09:53 +01:00
parent 8ea4491a56
commit 275d6b6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
368 changed files with 637 additions and 636 deletions

View file

@ -24,14 +24,14 @@ profile sensors @{exec_path} {
@{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[0-9]*/power[0-9]*_crit r,
@{sys}/devices/**/hwmon/hwmon@{int}/power[0-9]*_crit r,
@{sys}/devices/{,platform/*.{i2c,hdmi}/}i2c-[0-9]*/name r,
@{sys}/devices/pci[0-9]*/**/name r,
@{sys}/devices/platform/**/power_supply/**/hwmon[0-9]*/curr1_max r,
@{sys}/devices/platform/**/power_supply/**/hwmon@{int}/curr1_max r,
@{sys}/devices/virtual/hwmon/hwmon[0-9]* r,
@{sys}/devices/virtual/hwmon/hwmon[0-9]*/ r,
@{sys}/devices/virtual/hwmon/hwmon[0-9]*/{name,temp*} r,
@{sys}/devices/virtual/hwmon/hwmon[0-9]*/fan[0-9]_label r,
@{sys}/devices/virtual/hwmon/hwmon@{int}/ r,
@{sys}/devices/virtual/hwmon/hwmon@{int}/{name,temp*} r,
@{sys}/devices/virtual/hwmon/hwmon@{int}/fan[0-9]_label r,
# file_inherit
deny @{PROC}/@{pid}/net/dev r,