Skip to content
Snippets Groups Projects
Commit aa6308fc authored by David Brazdil's avatar David Brazdil Committed by Jeff Vander Stoep
Browse files

dumpstate: Change SELinux policy to allow reading /data/misc/profiles

(cherry picked from commit cf63957d)

This is needed in order to include profile files in bugreports.

Bug: 28610953
Change-Id: I025189a4ac66b936711fdb4e20b10c2b0a7427d1
parent bff98015
No related branches found
No related tags found
No related merge requests found
...@@ -147,6 +147,14 @@ allow dumpstate cache_recovery_file:file r_file_perms; ...@@ -147,6 +147,14 @@ allow dumpstate cache_recovery_file:file r_file_perms;
allow dumpstate recovery_data_file:dir r_dir_perms; allow dumpstate recovery_data_file:dir r_dir_perms;
allow dumpstate recovery_data_file:file r_file_perms; allow dumpstate recovery_data_file:file r_file_perms;
# Access /data/misc/profiles/{cur,ref}/
userdebug_or_eng(`
allow dumpstate user_profile_data_file:dir r_dir_perms;
allow dumpstate user_profile_data_file:file r_file_perms;
allow dumpstate user_profile_foreign_dex_data_file:dir r_dir_perms;
allow dumpstate user_profile_foreign_dex_data_file:file r_file_perms;
')
# Access /data/misc/logd # Access /data/misc/logd
userdebug_or_eng(` userdebug_or_eng(`
allow dumpstate misc_logd_file:dir r_dir_perms; allow dumpstate misc_logd_file:dir r_dir_perms;
......
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