Skip to content
Snippets Groups Projects
Commit b7d0ae3a authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "sepolicy: allow system apps to access ASEC"

parents 2c759185 c06ed8f7
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,9 @@ allow system_app logd_prop:property_service set; ...@@ -45,6 +45,9 @@ allow system_app logd_prop:property_service set;
allow system_app anr_data_file:dir ra_dir_perms; allow system_app anr_data_file:dir ra_dir_perms;
allow system_app anr_data_file:file create_file_perms; allow system_app anr_data_file:file create_file_perms;
# Settings need to access app name and icon from asec
allow system_app asec_apk_file:file r_file_perms;
allow system_app system_app_service:service_manager add; allow system_app system_app_service:service_manager add;
allow system_app keystore:keystore_key { allow system_app keystore:keystore_key {
......
...@@ -32,7 +32,6 @@ allow untrusted_app app_data_file:file { rx_file_perms execmod }; ...@@ -32,7 +32,6 @@ allow untrusted_app app_data_file:file { rx_file_perms execmod };
allow untrusted_app tun_device:chr_file rw_file_perms; allow untrusted_app tun_device:chr_file rw_file_perms;
# ASEC # ASEC
allow untrusted_app asec_apk_file:dir { getattr };
allow untrusted_app asec_apk_file:file r_file_perms; allow untrusted_app asec_apk_file:file r_file_perms;
# Execute libs in asec containers. # Execute libs in asec containers.
allow untrusted_app asec_public_file:file { execute execmod }; allow untrusted_app asec_public_file:file { execute execmod };
......
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