Commits
Wenbo.Zhu committed c56245ba24e
MA-12501 VTS test can't run on imx8q platform by using Android P. VTS check device info failed due to some selinux errors. Add related sepolicies as request. avc: denied { map } for pid=3488 comm="Binder:3488_2" path="/data/local/tmp/ CtsDeviceInfo.apk" dev="mmcblk1p12" ino=792 scontext=u:r:system_server:s0 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=0 avc: denied { getattr } for pid=4353 comm="getprop" path="/dev/__properties__/u: object_r:boottime_prop:s0" dev="tmpfs" ino=1284 scontext=u:r:shell:s0 tcontext=u:object_r:boottime_prop:s0 tclass=file permissive=1 avc: denied { getattr } for pid=4622 comm="getprop" path="/dev/__properties__/u: object_r:ctl_bootanim_prop:s0" dev="tmpfs" ino=1287 scontext=u:r:shell:s0 tcontext=u:object_r:ctl_bootanim_prop:s0 tclass=file permissive=1 avc: denied { open } for pid=4353 comm="getprop" path="/dev/__properties__/u: object_r:boottime_prop:s0" dev="tmpfs" ino=1284 scontext=u:r:shell:s0 tcontext=u:object_r:boottime_prop:s0 tclass=file permissive=1 avc: denied { map } for pid=4422 comm="app_process" path="/dev/event-log-tags" dev="tmpfs" ino=1499 scontext=u:r:shell:s0 tcontext=u:object_r:runtime_event_log_tags_file:s0 tclass=file permissive=1 Change-Id: I91cd8b0cbdec0d45d241d008dacb243613aa4a55 Signed-off-by: Wenbo.Zhu <wenbo.zhu_1@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5666 Reviewed-by: zhang sanshan <sanshan.zhang@nxp.com> (cherry picked from commit 1e49855a6e970fffe2dc149c01d6fc03a95a661f) Reviewed-on: http://androidsource.ap.freescale.net/project/5679 Reviewed-by: juan.hao <juan.hao@nxp.com>