aboutsummaryrefslogtreecommitdiffstats
path: root/installd.te
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-04-25 13:59:52 -0700
committerJeff Sharkey <jsharkey@google.com>2014-04-25 17:12:53 -0700
commit6838cd54e70869643c54cd0a530defbe4dafca41 (patch)
tree998740d6fed7dd22c667b6a19285fa52fe8c847f /installd.te
parent6736bac21870bdc8bb6098ddffdb70103f7bc2a3 (diff)
downloadandroid_external_sepolicy-6838cd54e70869643c54cd0a530defbe4dafca41.tar.gz
android_external_sepolicy-6838cd54e70869643c54cd0a530defbe4dafca41.tar.bz2
android_external_sepolicy-6838cd54e70869643c54cd0a530defbe4dafca41.zip
Let installd dexopt OEM apps.
avc: denied { search } for pid=118 comm="installd" name="/" dev="mmcblk0p12" ino=2 scontext=u:r:installd:s0 tcontext=u:object_r:oemfs:s0 tclass=dir Bug: 13340779 Change-Id: Id42f45080ba2c736921691dadfdfa429cf006663
Diffstat (limited to 'installd.te')
-rw-r--r--installd.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/installd.te b/installd.te
index a2b0687..9712881 100644
--- a/installd.te
+++ b/installd.te
@@ -16,6 +16,8 @@ allow installd data_file_type:dir { relabelfrom relabelto };
allow installd data_file_type:{ file_class_set } { getattr unlink };
allow installd apk_data_file:file r_file_perms;
allow installd apk_tmp_file:file r_file_perms;
+allow installd oemfs:dir r_dir_perms;
+allow installd oemfs:file r_file_perms;
allow installd system_file:file x_file_perms;
allow installd cgroup:dir create_dir_perms;
# Check validity of SELinux context before use.