3 Commits

Author SHA1 Message Date
Lili Lin
c09b4b0753 [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
2020-01-18 10:07:48 +08:00
mtk12101
b086e609ac [ALPS03825066] Remove unused sepolicy
[Detail] Because "ro.vendor.net.upload.benchmark.default"
is unlabeled property, so all use it will have name of
vendor_default_prop

[Solution] Need owner to relabel the property of
"ro.vendor.net.upload.benchmark.default"

MTK-Commit-Id: 3a772e2b252536c9bbe9829b75f3464c2df68248

Change-Id: I42f341bf01cea16a16a0e73d13e0c03b5c270dad
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:50:11 +08:00
mtk12101
9cbf8fb766 [ALPS03825066] Fix boot fail
[Detail] System processes have no permission to access
vendor_default_prop

[Solution] Add get vendor_default_prop rule for system
processes

MTK-Commit-Id: ad4fb4d8ae4fb38767c16b82ce9d8351f5f59702

Change-Id: I31cf13db6b50a3cff193aa0a34bc1130e5b18942
CR-Id: ALPS03825066
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:48:37 +08:00