Merge "[ALPS04696977] Boot cleanup" into alps-trunk-q0.basic

Change-Id: I09561e879d0f0a6ee806d2f29e67d21e05da2a05
MTK-Commit-Id: 0f80c7aff9d129bf769c82cb4084aedfbfe33f52
This commit is contained in:
Tehsin Lin 2020-01-18 10:17:29 +08:00 committed by Gerrit Code Review
commit fe23144194

View File

@ -139,6 +139,8 @@ allow init mnt_vendor_file:dir mounton;
# Date : W19.28 # Date : W19.28
# Purpose: Allow to setattr /proc/last_kmsg # Purpose: Allow to setattr /proc/last_kmsg
allow init proc_last_kmsg:file setattr; 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 # Purpose: Allow to relabelto for selinux_android_restorecon
allow init boot_block_device:lnk_file relabelto; allow init boot_block_device:lnk_file relabelto;