分类 Security 下的文章

SELinux: fix an issue about "context_to_sid returned 12"

前方用户提了个故障说手机发热低电下重启后发现有SD掉卡提示,Android_N/Kernel_3.18,离线日志找了半天,logcat日志里发现:434 439 E vold : Failed to pclose /system/bin/sgdisk --android-dump /dev/block/vold/disk:179:64 : Success 434...阅读全文

SELinux: 如何快速验证file_contexts

system/core/fs_mgr里加入一个resize工具,有权限问题log如下:[ 19.952455] audit: type=1400 audit(83369.909:5): avc: denied { execute_no_trans } for pid=283 comm="init" path="/system/bin...阅读全文