求助:[mtk-selinux] factory模式下sepolicy问题
factory模式下check system路径下所有文件,出现sepolicy问题,在lstat所有system/bin和system/vendor/bin下可执行文件都有如下报错,尝试在factory.te中添加allow factory hostapd_exec:file getattr 并没有生效,而且exec类型文件太多了,我无法每个都添加权限,求大神指点
........................
avc: denied { getattr } for path="/system/bin/hostapd" dev="mmcblk0p20" ino=204 scontext=u:r:factory:s0 tcontext=u:object_r:hostapd_exec:s0 tclass=file permissive=0
........................
avc: denied { getattr } for path="/system/bin/installd" dev="mmcblk0p20" ino=217 scontext=u:r:factory:s0 tcontext=u:object_r:installd_exec:s0 tclass=file permissive=0