diff --git a/public/recovery.te b/public/recovery.te index d6aef1c58b0cadd48b7a208b7f644a0eb1f195ea..784596dd002bab47f63dca85e24376f357ec5b58 100644 --- a/public/recovery.te +++ b/public/recovery.te @@ -92,6 +92,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);