[ALPS04696977] Boot cleanup

[Detail]
Android Q has more restrictions, for example vendor cannot access
/data unless than (/data/vendor), etc...
Clean up boot fail items

MTK-Commit-Id: 44078402d526f7ef73ebfa31d95dbd24fa0f77af

Change-Id: I9b5b9dd2df253bad03e4b5fe1cab69404c9251ab
CR-Id: ALPS04696977
Feature: build process
This commit is contained in:
mtk10008 2020-01-18 10:17:13 +08:00
parent 7141af7483
commit dcf924b4d9

View File

@ -135,3 +135,14 @@ allow init proc_wmtdbg:file w_file_perms;
# Date : W18.20 # Date : W18.20
# Operation : mount soc vendor's partition when booting # Operation : mount soc vendor's partition when booting
allow init mnt_vendor_file:dir mounton; allow init mnt_vendor_file:dir mounton;
# Date : W19.28
# Purpose: Allow to setattr /proc/last_kmsg
allow init proc_last_kmsg:file setattr;
# Purpose: Allow to setattr for duraspeed.rc
allow init proc_cpu_loading:file setattr;
# Purpose: Allow to relabelto for selinux_android_restorecon
allow init boot_block_device:lnk_file relabelto;
allow init vbmeta_block_device:lnk_file relabelto;