Commits
wenbo.zhu committed 470bfc7d911
MA-12717 Clean selinux errors on android automotive. Add sepolicies as request when operate automotive. avc: denied { search } for name="graphics" dev="tmpfs" ino=6840 scontext=u:r:system_server:s0 tcontext=u:object_r:graphics_device:s0 tclass=dir permissive=0 avc: denied { read } for name="fb0" dev="tmpfs" ino=11384 scontext=u:r:system_server:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1 avc: denied { open } for path="/dev/graphics/fb0" dev="tmpfs" ino=11384 scontext=u:r:system_server:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1 avc: denied { ioctl } for path="/dev/graphics/fb0" dev="tmpfs" ino=11384 ioctlcmd=0x4600 scontext=u:r:system_server:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1 avc: denied { read append } for pid=1993 comm="bluetooth@1.0-s" name="bt_fw_version.txt" dev="mmcblk0p12" ino=228019 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r: bluetooth_data_file:s0 tclass=file permissive=1 avc: denied { getattr } for pid=2358 comm="pool-2-thread-1" path="/sys/devices/ platform/5b010000.usdhc/mmc_host/mmc0/mmc0:0001/life_time" dev="sysfs" ino=20438 scontext=u:r:carservice_app:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { map } for pid=4471 comm="dex2oat" path="/dev/event-log-tags" dev="tmpfs" ino=16440 scontext=u:r:dex2oat:s0 tcontext=u:object_r:runtime_event_log_tags_file:s0 tclass=file permissive=1 avc: denied { read } for pid=4746 comm="android.hardwar" name="name" dev="sysfs" ino=22876 scontext=u:r:hal_evs_driver:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { open } for pid=4746 comm="android.hardwar" path="/sys/devices/platform/camera/video4linux/vid eo5/name" dev="sysfs" ino=22876 scontext=u:r:hal_evs_driver:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 avc: denied { getattr } for pid=4746 comm="android.hardwar" path="/sys/devices/platform/camera/video4linux/ video5/name" dev="sysfs" ino=22876 scontext=u:r:hal_evs_driver:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 Change-Id: Id546ac80fe8e2265592dad168567948c824a4daa Signed-off-by: wenbo.zhu <wenbo.zhu_1@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/5995 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com>