Merge "Allow recovery to read thermal info" am: 462cf398a0
am: 8ee641877c
Change-Id: I6c035c3e696531297ff8a3c09045acf6d2c98cd0
This commit is contained in:
commit
82696dd19b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user