-
Notifications
You must be signed in to change notification settings - Fork 133
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
About Closing SELinux #8
Comments
Because you are in a permissive domain. You need |
OK.I see a lot of chcon conmand in the script named Start-Root,so it is the reason that u:r:magisk:S0 is a permissive domain, Right? And we can execute chcon command only if we are already in a permissive domain, that's why we need to set vendor_modprobe onto permissive domain first. |
Yes.
Yes. |
Hi, here is my reprodued exploit on Pixel 6:
I noticed that we need to manually execute setenforce 0 after using magisk to escalate to ROOT.
But in mymod.c, I see that the KO file already has the code to set SELINUX to Permissive mode.
Why do we need to manually set setenforce to 0 when selinux is already set to permissive in the KO file?
The text was updated successfully, but these errors were encountered: