diff options
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/thermal-engine.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te index 1798c16..4ad4f10 100644 --- a/sepolicy/thermal-engine.te +++ b/sepolicy/thermal-engine.te @@ -1,3 +1,6 @@ allow thermal-engine { sysfs_batteryinfo sysfs_usb_supply }:file r_file_perms; allow thermal-engine sysfs_batteryinfo:file write; allow thermal-engine { sysfs_batteryinfo sysfs_usb_supply }:dir search; + +# Allow thermal-engine to read files in /sys +r_dir_file(thermal-engine, sysfs) |