Android SELinux AVC约束违规

问题描述

我该如何解决这种违规行为?

#!!!! This avc is a constraint violation.  You would need to modify the attributes of either the source or target types to allow this access.
#Constraint rule: 
#   mlsconstrain chr_file { write setattr append unlink link rename } ((t2 == app_data_file -Fail-)  or (l1 eq l2 -Fail-)  or (t1 == mlstrustedsubject -Fail-)  or (t2 == mlstrustedobject -Fail-) ); Constraint DENIED

#   Possible cause is the source level (s0:c79,c256,c512,c768) and target level (s0) are different.

错误是由设备驱动程序访问DRM设备引起的 允许untrusted_app drm_device:chr_file写入;

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)