Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0系统system_progress hook 失败问题 #121

Open
wjy000 opened this issue Jan 11, 2020 · 4 comments
Open

7.0系统system_progress hook 失败问题 #121

wjy000 opened this issue Jan 11, 2020 · 4 comments

Comments

@wjy000
Copy link

wjy000 commented Jan 11, 2020

大佬,安卓7.0原生系统,hook system_server 进程的时候,所有方法都hook失败,但是hook其他进程没问题,hook其他系统此进程也没问题,这是啥原因? 会不会和SElinux有关?

log

not enough capacity. Allocating...
mmap failed, errno = Permission denied
cannot hook method

@ghost
Copy link

ghost commented Jan 13, 2020

@wjy000
Copy link
Author

wjy000 commented Jan 13, 2020

就是SELinux的原因,除了自己编译rom去掉SELinux,目前我也没有找到通用的解决办法,头疼

@ghost
Copy link

ghost commented Jan 13, 2020

selinux本就是为了防止恶意代码执行

@rover12421
Copy link

可以参考magisk打补丁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants