Firefly开源社区

打印 上一主题 下一主题

[Linux] firefly rk3399 串口SELinux相关log打印不全

14

积分

0

威望

0

贡献

技术小白

积分
14

firefly rk3399 串口SELinux相关log打印不全

发表于 2019-10-9 18:35:53      浏览:3316 | 回复:1        打印      只看该作者   [复制链接] 楼主
测试用的firefly rk3399主板:http://wiki.t-firefly.com/zh_CN/Firefly-RK3399/started.html
测试用的firefly官方固件版本1: Firefly-RK3399_Android7.1.2_MP_190612.img
测试用的firefly官方固件版本2: Firefly-RK3399_Android7.1.2_MP_180706.img

问题现象:

开机抓取的串口log,SELinux相关log信息会有很多打印不完整(少部分打印是全的),具体见
下面贴的少部分log,硬件和软件都使用的是firefly的版本

[    3.568713] type=1400 audit(1358499004.936:36): avc: denied { read open } for pid=275 comm="audioserver" path="/system/bin/sh" dev="mmcblk1p10" ino=409 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[    3.569179] type=1400 audit(1358499004.936:37): avc: denied { execute_no_trans } for pid=275 comm="audioserver" path="/system/bin/sh" dev="mmcblk1p10" ino=409 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[    3.569369] type=1400 audit(1358499004.940:38): avc: denied { getattr } for pid=275 comm="sh" path="/system/bin/sh" dev="mmcblk1p10" ino=409 scontext=u:r:audioserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=f
[    3.569446] type=1400 audit(1358499004.946:39): avc: denied { getattr } for pid=275 comm="sh" path="/system/bin/toybox" dev="mmcblk1p10" ino=443 scontext=u:r:audioserver:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[    3.569516] type=1400 audit(1358499004.946:40): avc: denied { execute } for pid=275 comm="sh" name="toybox" dev="mmcblk1p10" ino=443 scontext=u:r:audioserver:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[    3.569586] type=1400 audit(1358499004.946:41): avc: denied { read open } for pid=275 comm="sh" path="/system/bin/toybox" dev="mmcblk1p10" ino=443 scontext=u:r:audioserver:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[    3.569692] type=1400 audit(1358499004.946:42): avc: denied { execute_no_trans } for pid=275 comm="sh" path="/system/bin/toybox" dev="mmcblk1p10" ino=443 scontext=u:r:audioserver:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=f
[    3.617938] type=1400 audit(1358499005.010:49): avc: denied { sys_ptrace } for pid=288 comm="fsu" capability=19 scontext=u:r:systemdaemon:s0 tcontext=u:r:systemdaemon:s0 tclass=capabil
[    3.618992] type=1400 audit(1358499005.010:50): avc: denied { read } for pid=288 comm="fsu" scontext=u:r:systemdaemon:s0 tcontext=u:r:audioserver:s0 tclass=f


请问,这个问题是什么原因导致?因为信息显示不完整,导致我们没法进行SELinux的相关权限配置。

谢谢!


回复

使用道具 举报

64

积分

0

威望

0

贡献

技术小白

积分
64
QQ
发表于 2019-12-30 17:41:55        只看该作者  沙发
您好,我遇到同样的问题,您现在解决了没?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表