Commits
Wenbo.Zhu committed 52f407d9ffb
MA-12506 Fix selinux error when boot up on imx6 platform Android P. Add sepolicies as request when boot up. Use label same_process_hal_file for eGalax_Touch_Screen.idc to enable touch screen. avc: denied { map } for pid=1 comm="init" path="/vendor/etc/selinux/ vendor_file_contexts" dev="dm-1" ino=27 scontext=u:r:kernel:s0 tcontext=u:object_r:vendor_configs_file:s0 tclass=file permissive=0 avc: denied { open } for pid=345 comm="InputReader" path="/vendor/usr/idc/ eGalax_Touch_Screen.idc" dev="dm-1" ino=18 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1 avc: denied { setattr } for pid=1 comm="init" name="state" dev="sysfs" ino=17619 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 Change-Id: I77e0087b79c61a56a2557e48d52aa26ca8af7b74 Signed-off-by: Wenbo.Zhu <wenbo.zhu_1@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5677 Reviewed-by: juan.hao <juan.hao@nxp.com> (cherry picked from commit 684092cc10c5c5fc0e4d161824f9bafbde2dad76) Reviewed-on: http://androidsource.ap.freescale.net/project/5680