例:type=1400 audit(1388534400.286:4): avc: denied {open } for pid=1362 comm="surfaceflinger" path="/dev/mali" dev="tmpfs" ino=4278 scontext=u:r: surfaceflinger :s0 tcontext=u:objec t_r: device :s0 tclass= chr_file
根据提示添加策略到对应的.te文件中
allow surfaceflinger device:chr_file { open };