Reland "[res] Allow accessing idmap files in all zygotes"

This reverts commit 7ee66a0391.

Reason for revert: The change is supposed to be a noop, trying it as a separate CL now

Change-Id: I0a1befb0015f39596423da7049040de6be18db65
This commit is contained in:
Yurii Zubrytskyi 2024-02-20 20:49:37 +00:00 committed by Gerrit Code Review
parent 7ee66a0391
commit 9128735f1f
2 changed files with 8 additions and 0 deletions

View file

@ -93,6 +93,10 @@ get_prop(app_zygote, device_config_runtime_native_boot_prop)
# Allow app_zygote to access odsign verification status
get_prop(app_zygote, odsign_prop)
# /data/resource-cache
allow app_zygote resourcecache_data_file:file r_file_perms;
allow app_zygote resourcecache_data_file:dir r_dir_perms;
#####
##### Neverallow
#####

View file

@ -93,6 +93,10 @@ get_prop(webview_zygote, device_config_runtime_native_boot_prop)
# Allow webview_zygote to access odsign verification status
get_prop(zygote, odsign_prop)
# /data/resource-cache
allow webview_zygote resourcecache_data_file:file r_file_perms;
allow webview_zygote resourcecache_data_file:dir r_dir_perms;
#####
##### Neverallow
#####