[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: 8cbf5c73063c73463d25f6f14dc344fecbb7dc77

Change-Id: I540a6f2cfbaa87e1ffefbf9968a433dea2ccc50b
CR-Id: ALPS04696977
Feature: build process
This commit is contained in:
mtk10008 2020-01-18 10:17:25 +08:00
parent 2994db624c
commit 41e2472935

View File

@ -139,6 +139,8 @@ 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 write /proc/cpu/alignment
allow init proc_cpu_alignment:file w_file_perms;
# Purpose: Allow to relabelto for selinux_android_restorecon
allow init boot_block_device:lnk_file relabelto;