diff --git a/public/recovery.te b/public/recovery.te index 1ec19c5ada5299a37cb4289f3746d3efd74b8795..6bbc2ab86bd7c2994839ca42c2019f3062a023bc 100644 --- a/public/recovery.te +++ b/public/recovery.te @@ -90,6 +90,10 @@ recovery_only(` allow recovery { cache_file cache_recovery_file }:dir create_dir_perms; allow recovery { cache_file cache_recovery_file }:file create_file_perms; + # Read /sys/class/thermal/*/temp for thermal info. + allow recovery sysfs_thermal:dir search; + allow recovery sysfs_thermal:file r_file_perms; + # Read files on /oem. r_dir_file(recovery, oemfs);