aboutsummaryrefslogtreecommitdiffstats
path: root/app.te
diff options
context:
space:
mode:
authorrepo sync <gcondra@google.com>2013-05-08 14:16:08 -0700
committerrepo sync <gcondra@google.com>2013-05-08 14:18:33 -0700
commit11153ef34928ab9d13658606695cba192aa03e21 (patch)
tree3e2241a3465fcfe1418ff4795eac285ada03474a /app.te
parent2cb928ba4ecc6e267bf88d8f0085b9236f2a151c (diff)
downloadandroid_external_sepolicy-11153ef34928ab9d13658606695cba192aa03e21.tar.gz
android_external_sepolicy-11153ef34928ab9d13658606695cba192aa03e21.tar.bz2
android_external_sepolicy-11153ef34928ab9d13658606695cba192aa03e21.zip
Add rules for asec containers.
Change-Id: I91f6965dafad54e98e2f7deda956e86acf7d0c96
Diffstat (limited to 'app.te')
-rw-r--r--app.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.te b/app.te
index eaede55..c91f566 100644
--- a/app.te
+++ b/app.te
@@ -191,3 +191,7 @@ allow { appdomain isolated_app } system_data_file:lnk_file getattr;
# Allow all applications to read downloaded files
allow appdomain download_file:file r_file_perms;
file_type_auto_trans(appdomain, download_file, download_file)
+
+# ASEC
+allow untrusted_app asec_apk_file:dir { getattr };
+allow untrusted_app asec_apk_file:file r_file_perms; \ No newline at end of file