Merge "Allow dexoptanalyzer to read /apex/apex-info-list.xml" into sc-dev

This commit is contained in:
Nicolas Geoffray 2021-06-22 10:37:57 +00:00 committed by Android (Google) Code Review
commit b17a5ae970
2 changed files with 6 additions and 0 deletions

View file

@ -51,3 +51,6 @@ allow dexoptanalyzer system_data_file:lnk_file { getattr };
# Allow query ART device config properties
get_prop(dexoptanalyzer, device_config_runtime_native_prop)
get_prop(dexoptanalyzer, device_config_runtime_native_boot_prop)
# Allow dexoptanalyzer to read /apex/apex-info-list.xml
allow dex2oat apex_info_file:file r_file_perms;

View file

@ -51,3 +51,6 @@ allow dexoptanalyzer system_data_file:lnk_file { getattr };
# Allow query ART device config properties
get_prop(dexoptanalyzer, device_config_runtime_native_prop)
get_prop(dexoptanalyzer, device_config_runtime_native_boot_prop)
# Allow dexoptanalyzer to read /apex/apex-info-list.xml
allow dex2oat apex_info_file:file r_file_perms;