From aee5a18a8256f696b4dd0b799cd52b284e91dc28 Mon Sep 17 00:00:00 2001 From: Geremy Condra <gcondra@google.com> Date: Tue, 9 Jul 2013 22:36:47 -0700 Subject: [PATCH] Give zygote the ability to execute dalvik cache files. Change-Id: I129536c3d9f6359228165d8a5ec373780b312c86 --- zygote.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zygote.te b/zygote.te index 773318ea1..6fb17251a 100644 --- a/zygote.te +++ b/zygote.te @@ -18,7 +18,7 @@ allow zygote appdomain:process { getpgid setpgid }; allow zygote system_data_file:dir rw_dir_perms; allow zygote system_data_file:file create_file_perms; allow zygote dalvikcache_data_file:dir rw_dir_perms; -allow zygote dalvikcache_data_file:file create_file_perms; +allow zygote dalvikcache_data_file:file { create_file_perms x_file_perms }; # Execute dexopt. allow zygote system_file:file x_file_perms; # Control cgroups. -- GitLab