Skip to content

Commit

Permalink
Enable profman pretty printing
Browse files Browse the repository at this point in the history
Bug: 28748264
Change-Id: I848c448e43d48d245d998ff22547bc67a640ab96
  • Loading branch information
David Sehr committed Jun 6, 2016
1 parent ed413a8 commit bb8a352
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profman.te
Expand Up @@ -4,6 +4,12 @@ type profman_exec, exec_type, file_type;

allow profman user_profile_data_file:file { getattr read write lock };

# Dumping profile info opens the application APK file for pretty printing.
allow profman asec_apk_file:file { read };
allow profman apk_data_file:file { read };
allow profman oemfs:file { read };
# Reading an APK opens a ZipArchive, which unpack to tmpfs.
allow profman tmpfs:file { read };
allow profman profman_dump_data_file:file { write };

allow profman installd:fd use;
Expand Down

0 comments on commit bb8a352

Please sign in to comment.