[ALPS04160752] Add policy for installd

To address following denial with kernel-4.14

avc: denied { map } for pid=651 comm="Binder:651_1" path="/vendor/etc/selinux/vendor_file_contexts" dev="dm-1" ino=44 scontext=u:r:installd:s0 tcontext=u:object_r:vendor_configs_file:s0 tclass=file permissive=1

MTK-Commit-Id: 8af14b2b4ff87f37add600ed19a76b1a8cf9dd32

Change-Id: Ia40e6e70d57db6a2a875c3f7d7c69c0c298a36cb
CR-Id: ALPS04160752
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
This commit is contained in:
Lili Lin 2020-01-18 10:07:48 +08:00
parent ddebab7641
commit c09b4b0753

7
non_plat/installd.te Normal file
View File

@ -0,0 +1,7 @@
# ==================================
# MTK Policy Rule
# ==================================
# Kernel-4.14 migration, fix boot fail.
allow installd vendor_configs_file:file map;