Skip to content
Snippets Groups Projects
Commit 0ae33a8d authored by Igor Murashkin's avatar Igor Murashkin Committed by Gerrit Code Review
Browse files

Merge "zygote/dex2oat: Grant additional symlink permissions"

parents 5fad3d98 83c5612e
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ type dex2oat, domain; ...@@ -3,6 +3,8 @@ type dex2oat, domain;
type dex2oat_exec, exec_type, file_type; type dex2oat_exec, exec_type, file_type;
allow dex2oat dalvikcache_data_file:file write; allow dex2oat dalvikcache_data_file:file write;
# Read symlinks in /data/dalvik-cache
allow dex2oat dalvikcache_data_file:lnk_file read;
allow dex2oat installd:fd use; allow dex2oat installd:fd use;
# Read already open asec_apk_file file descriptors passed by installd. # Read already open asec_apk_file file descriptors passed by installd.
......
...@@ -24,6 +24,8 @@ allow zygote system_data_file:file r_file_perms; ...@@ -24,6 +24,8 @@ allow zygote system_data_file:file r_file_perms;
# Write to /data/dalvik-cache. # Write to /data/dalvik-cache.
allow zygote dalvikcache_data_file:dir create_dir_perms; allow zygote dalvikcache_data_file:dir create_dir_perms;
allow zygote dalvikcache_data_file:file create_file_perms; allow zygote dalvikcache_data_file:file create_file_perms;
# Create symlinks in /data/dalvik-cache
allow zygote dalvikcache_data_file:lnk_file create_file_perms;
# Write to /data/resource-cache # Write to /data/resource-cache
allow zygote resourcecache_data_file:dir rw_dir_perms; allow zygote resourcecache_data_file:dir rw_dir_perms;
allow zygote resourcecache_data_file:file create_file_perms; allow zygote resourcecache_data_file:file create_file_perms;
......
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