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

Merge "Allow recovery to read thermal info on sailfish" am: 5ab5cfba am:...

Merge "Allow recovery to read thermal info on sailfish" am: 5ab5cfba am: afa8120a am: 16118451
am: d5c8c6b6

Change-Id: I5b20d4028cc1a1f9d1b3d7b9bf84109198e64781
parents 03e92f14 d5c8c6b6
No related branches found
No related tags found
No related merge requests found
...@@ -93,8 +93,7 @@ recovery_only(` ...@@ -93,8 +93,7 @@ recovery_only(`
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. # Read /sys/class/thermal/*/temp for thermal info.
allow recovery sysfs_thermal:dir search; r_dir_file(recovery, sysfs_thermal)
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