aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-07-16 22:55:24 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-16 13:13:16 +0000
commitca48b8b3cbd2ba47a94e3cbc6f2f69e82710a957 (patch)
tree9ef225f2078fd52b212dd31e92a654df356e17ea
parent5f45b90374512b9a64e7c77377089c130d3af1b5 (diff)
parent270be6e86a121922b3621cbeaab9d908e53d04cb (diff)
downloadsepolicy-ca48b8b3cbd2ba47a94e3cbc6f2f69e82710a957.tar.gz
Merge "dex2oat: fix forward-locked upgrades with unlabeled asecs"
-rw-r--r--dex2oat.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/dex2oat.te b/dex2oat.te
index 164e89c..2df9947 100644
--- a/dex2oat.te
+++ b/dex2oat.te
@@ -6,4 +6,7 @@ allow dex2oat dalvikcache_data_file:file write;
allow dex2oat installd:fd use;
# Read already open asec_apk_file file descriptors passed by installd.
+# Also allow reading unlabeled files, to allow for upgrading forward
+# locked APKs.
allow dex2oat asec_apk_file:file read;
+allow dex2oat unlabeled:file read;