avc: denied { read write } for name="spi_xx" dev="tmpfs" ino=12025 scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 avc: denied { open } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=11733 scontext=u:r:untrusted_app:s0:c134,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=com.xxxx avc: denied { ioctl } for path="/dev/spi_xx" dev="tmpfs" ino=12025 ioctlcmd=0x440c scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 参考random_device
修改: system/sepolicy/prebuilts/api/26.0/nonplat_sepolicy.cil 修改: system/sepolicy/prebuilts/api/26.0/private/file_contexts 修改: system/sepolicy/prebuilts/api/26.0/public/device.te 修改: system/sepolicy/prebuilts/api/26.0/public/domain.te 修改: system/sepolicy/prebuilts/api/26.0/public/init.te 修改: system/sepolicy/prebuilts/api/27.0/nonplat_sepolicy.cil 修改: system/sepolicy/prebuilts/api/27.0/private/compat/26.0/26.0.cil 修改: system/sepolicy/prebuilts/api/27.0/private/file_contexts 修改: system/sepolicy/prebuilts/api/27.0/public/device.te 修改: system/sepolicy/prebuilts/api/27.0/public/domain.te 修改: system/sepolicy/prebuilts/api/27.0/public/init.te 修改: system/sepolicy/prebuilts/api/28.0/plat_pub_versioned.cil 修改: system/sepolicy/prebuilts/api/28.0/private/compat/26.0/26.0.cil 修改: system/sepolicy/prebuilts/api/28.0/private/compat/27.0/27.0.cil 修改: system/sepolicy/prebuilts/api/28.0/private/file_contexts 修改: system/sepolicy/prebuilts/api/28.0/public/device.te 修改: system/sepolicy/prebuilts/api/28.0/public/domain.te 修改: system/sepolicy/prebuilts/api/28.0/public/init.te 修改: system/sepolicy/prebuilts/api/28.0/vendor_sepolicy.cil 修改: system/sepolicy/prebuilts/api/29.0/plat_pub_versioned.cil 修改: system/sepolicy/prebuilts/api/29.0/private/compat/26.0/26.0.cil 修改: system/sepolicy/prebuilts/api/29.0/private/compat/27.0/27.0.cil 修改: system/sepolicy/prebuilts/api/29.0/private/compat/28.0/28.0.cil 修改: system/sepolicy/prebuilts/api/29.0/private/file_contexts 修改: system/sepolicy/prebuilts/api/29.0/public/device.te 修改: system/sepolicy/prebuilts/api/29.0/public/domain.te 修改: system/sepolicy/prebuilts/api/29.0/public/init.te 修改: system/sepolicy/prebuilts/api/30.0/private/compat/26.0/26.0.cil 修改: system/sepolicy/prebuilts/api/30.0/private/compat/27.0/27.0.cil 修改: system/sepolicy/prebuilts/api/30.0/private/compat/28.0/28.0.cil 修改: system/sepolicy/prebuilts/api/30.0/private/compat/29.0/29.0.cil 修改: system/sepolicy/prebuilts/api/30.0/private/file_contexts 修改: system/sepolicy/prebuilts/api/30.0/public/device.te 修改: system/sepolicy/prebuilts/api/30.0/public/domain.te 修改: system/sepolicy/prebuilts/api/30.0/public/init.te 修改: system/sepolicy/private/compat/26.0/26.0.cil 修改: system/sepolicy/private/compat/27.0/27.0.cil 修改: system/sepolicy/private/compat/28.0/28.0.cil 修改: system/sepolicy/private/compat/29.0/29.0.cil 修改: system/sepolicy/private/file_contexts 修改: system/sepolicy/public/device.te 修改: system/sepolicy/public/domain.te 修改: system/sepolicy/public/init.te