Skip to content
Snippets Groups Projects
Commit 9c7a0d8c authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Allow recovery to read thermal info" am: 462cf398 am: 8ee64187

am: 82696dd1

Change-Id: Ib04932a421523eb50c2e40bf24000ae58ac7a535
parents 36e725e5 82696dd1
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,10 @@ recovery_only(` ...@@ -92,6 +92,10 @@ recovery_only(`
allow recovery { cache_file cache_recovery_file }:dir create_dir_perms; allow recovery { cache_file cache_recovery_file }:dir create_dir_perms;
allow recovery { cache_file cache_recovery_file }:file create_file_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. # Read files on /oem.
r_dir_file(recovery, oemfs); r_dir_file(recovery, oemfs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment