Open wjy000 opened 4 years ago
大佬,安卓7.0原生系统,hook system_server 进程的时候,所有方法都hook失败,但是hook其他进程没问题,hook其他系统此进程也没问题,这是啥原因? 会不会和SElinux有关?
not enough capacity. Allocating... mmap failed, errno = Permission denied cannot hook method
会
就是SELinux的原因,除了自己编译rom去掉SELinux,目前我也没有找到通用的解决办法,头疼
selinux本就是为了防止恶意代码执行
可以参考magisk打补丁
大佬,安卓7.0原生系统,hook system_server 进程的时候,所有方法都hook失败,但是hook其他进程没问题,hook其他系统此进程也没问题,这是啥原因? 会不会和SElinux有关?
log
not enough capacity. Allocating... mmap failed, errno = Permission denied cannot hook method