diff options
author | Jeff Hao <jeffhao@google.com> | 2015-08-28 03:57:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-08-28 03:57:22 +0000 |
commit | c2eb12b24c0c8b265745d049c0bed9f9fd1e4241 (patch) | |
tree | 09c64d3c45e0350889822719f29254703c580eb2 | |
parent | 4008b6c627d9cd1bbbacd315a4e1d3456bb3b41c (diff) | |
parent | 9f0af9ec26df20cdd6d19db5d23c9656cdc1fa83 (diff) | |
download | sepolicy-c2eb12b24c0c8b265745d049c0bed9f9fd1e4241.tar.gz |
am 9f0af9ec: Merge "zygote/dex2oat: Grant additional symlink permissions" into lmp-sprout-dev
* commit '9f0af9ec26df20cdd6d19db5d23c9656cdc1fa83':
zygote/dex2oat: Grant additional symlink permissions
-rw-r--r-- | dex2oat.te | 2 | ||||
-rw-r--r-- | zygote.te | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,8 @@ type dex2oat, domain; type dex2oat_exec, exec_type, file_type; 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; # Read already open asec_apk_file file descriptors passed by installd. @@ -27,6 +27,8 @@ allow zygote keychain_data_file:file r_file_perms; # Write to /data/dalvik-cache. allow zygote dalvikcache_data_file:dir create_dir_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 allow zygote resourcecache_data_file:dir rw_dir_perms; allow zygote resourcecache_data_file:file create_file_perms; |