例: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 };
该博客内容涉及Android系统中SELinux安全策略,具体是surfaceflinger服务尝试打开/dev/mali设备被拒绝。文章讨论了如何为这个特定场景添加相应的允许策略到.te文件中,以解决权限问题。
1006

被折叠的 条评论
为什么被折叠?



