Merge "Allow apps to read apex_art_data_file:dir"

This commit is contained in:
Martijn Coenen 2021-03-30 06:39:58 +00:00 committed by Gerrit Code Review
commit 932949ef0f

View file

@ -67,8 +67,10 @@ get_prop(appdomain, sqlite_log_prop)
allow appdomain font_data_file:file r_file_perms;
allow appdomain font_data_file:dir r_dir_perms;
# Enter /data/misc/apexdata/
allow appdomain apex_module_data_file:dir search;
# Read /data/misc/apexdata/com.android.art
allow appdomain { apex_art_data_file apex_module_data_file }:dir search;
allow appdomain apex_art_data_file:dir r_dir_perms;
allow appdomain apex_art_data_file:file r_file_perms;
# Allow access to tombstones if an fd to one is given to you.