selinux
文章平均质量分 73
都是弯弯绕
手机开发工程师
展开
-
android adb debug 之ro.adb.secure
原来在我们的PC机(以windows为例)上启动了adb.exe进程时,adb会在本地生成一对密钥adbkey(私钥)与adbkey.pub(公钥);根据弹框提示“Thecomputer'sRSAkeyfingerprintis:xxxx”,可以看出是一对RSA算法的密钥,其中公钥是用来发送给手机的;当你执行“adb shell”时,adb.exe会将当前PC的公钥(或者公钥的hash值)(fingerprint)发送给android设备;这时,如果android上已经保存了这台PC的公钥,则匹配...原创 2021-05-31 11:05:46 · 1909 阅读 · 0 评论 -
Android avc: denied 深入沟兑02(dac_read_search)
dac_read_search与规避neverallowThe dac_override denial issue means that the offending process is trying to access a file with the wrong user/group permissions.The correct solution almost never grants dac_override policy,becasue if this process is not in "原创 2021-04-09 19:37:40 · 1924 阅读 · 0 评论 -
Android avc: denied 修改方法
以下内容互联网拷贝[S]<36>[ 59.591056] type=1400 audit(177553.350:39): avc: denied { read write } for pid=410 comm="light@2.0-servi" name="brightness" dev="sysfs" ino=25578 scontext=u:r:hal_light_default:s0 tcontext=u:object_r:led_control:s0 tclass=file pe..原创 2020-08-19 16:24:56 · 3029 阅读 · 0 评论 -
Android avc: denied 深入沟兑01(ioctl)
1, ioctlcmd & ioctlavc: denied { ioctl } for comm="bmpdump" path="socket:[159003]" dev="sockfs" ino=159003 ioctlcmd=0x8946 scontext=u:r:unlogger_bmpdump:s0 tcontext=u:r:unlogger_bmpdump:s0 tclass=unix_dgram_socket permissive=004-08 13:45:44.194 ...原创 2021-04-09 19:23:41 · 2074 阅读 · 2 评论