It would get selinux violation in kernel 4.14. To fix that, add the policy, vendor_configs_file:file map. selinux violation log: avc: denied { map } for pid=633 comm="vold_prepare_su" path="/vendor/etc/selinux/vendor_file_contexts" dev="dm-1" ino=44 scontext=u:r:vold_prepare_subdirs:s0 tcontext=u:object_r:vendor_configs_file:s0 MTK-Commit-Id: 4b9d7e588a26e9557b15aee36351fb9baa169861 Change-Id: Ie41809a378e0d9f1f71f2e87ab23565a68d62fb7 CR-Id: ALPS04160752 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
11 lines
267 B
Plaintext
Executable File
11 lines
267 B
Plaintext
Executable File
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
|
|
# volume manager
|
|
|
|
# Date : WK18.42
|
|
# Operation : Migration
|
|
# Purpose : kernel-4.14 migration
|
|
allow vold_prepare_subdirs vendor_configs_file:file map;
|