From 1ce0fe382ab154425d17c07d2f72362bf9f97c0f Mon Sep 17 00:00:00 2001 From: Haiqing Jiang <hqjiang1988@gmail.com> Date: Fri, 27 Jul 2012 15:13:05 -0700 Subject: [PATCH] appdomain r/w apk_tmp_file and shell_data_file on android_cts enabled --- cts.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cts.te b/cts.te index 3600e944a..489be1a71 100644 --- a/cts.te +++ b/cts.te @@ -27,6 +27,10 @@ allow appdomain fs_type:dir_file_class_set getattr; allow appdomain shell_exec:file rx_file_perms; allow appdomain system_file:file rx_file_perms; +# Accesses to apk_tmp_file and shell_data_file +allow appdomain apk_tmp_file:file rw_file_perms; +allow appdomain shell_data_file:file r_file_perms; + # Read routing information. allow netdomain self:netlink_route_socket { create read write nlmsg_read }; -- GitLab