aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu2018-04-20 14:52:45 -0500
committerGerrit Code Review2018-04-20 14:52:45 -0500
commitebddc5993f1b52e72b3606a2eb50cca249d890bd (patch)
treedc37c5496c2441bd080d3eea10de0798230ec3a4
parente03074b4d1a11464da502a9622cc2587ae33a64b (diff)
parent7d474279976191b6438974d9dbe2318daa4c92af (diff)
downloadsystem-sepolicy-ebddc5993f1b52e72b3606a2eb50cca249d890bd.tar.gz
system-sepolicy-ebddc5993f1b52e72b3606a2eb50cca249d890bd.tar.xz
system-sepolicy-ebddc5993f1b52e72b3606a2eb50cca249d890bd.zip
Merge "Allow dumpstate to read the update_engine logs"
-rw-r--r--public/dumpstate.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/dumpstate.te b/public/dumpstate.te
index 88071577..2602552b 100644
--- a/public/dumpstate.te
+++ b/public/dumpstate.te
@@ -189,6 +189,10 @@ allow dumpstate cache_recovery_file:file r_file_perms;
189allow dumpstate recovery_data_file:dir r_dir_perms; 189allow dumpstate recovery_data_file:dir r_dir_perms;
190allow dumpstate recovery_data_file:file r_file_perms; 190allow dumpstate recovery_data_file:file r_file_perms;
191 191
192#Access /data/misc/update_engine_log
193allow dumpstate update_engine_log_data_file:dir r_dir_perms;
194allow dumpstate update_engine_log_data_file:file r_file_perms;
195
192# Access /data/misc/profiles/{cur,ref}/ 196# Access /data/misc/profiles/{cur,ref}/
193userdebug_or_eng(` 197userdebug_or_eng(`
194 allow dumpstate user_profile_data_file:dir r_dir_perms; 198 allow dumpstate user_profile_data_file:dir r_dir_perms;