From 41e2472935a45a125f15457d741974feef4c26a9 Mon Sep 17 00:00:00 2001 From: mtk10008 Date: Sat, 18 Jan 2020 10:17:25 +0800 Subject: [PATCH] [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 --- non_plat/init.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/non_plat/init.te b/non_plat/init.te index 9155201..b93dcbf 100644 --- a/non_plat/init.te +++ b/non_plat/init.te @@ -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;