Hi3751V560_SELinux
setenforce Enforcing setenforce Permissive(或“setenforce 0”) getenforce
V560:demo本身的:
[ 13.765161] type=1400 audit(1628821512.905:4): avc: denied { read } for pid=1926 comm="system_server" name="ifindex" dev="sysfs" ino=11113 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 device/hisilicon/bigfish/external/sepolicy/vendor/system_server.te: #failed:添加失败 #libsepol.report_failure: neverallow on line 31 of system/sepolicy/private/domain.te (or line 26696 of policy.conf) violated by allow system_server sysfs:file { read }; #libsepol.check_assertions: 1 neverallow failures occurred #allow system_server sysfs:file { read }; [ 15.340019] type=1400 audit(1628821514.447:7): av