mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
e1279c29c29ab7e9b0e2442eaadf1f3da8c3971f
This is a test program, this will probably be integrated into su daemon. This hides su by bind-mounting something (/system) over /sbin, so that there is no /sbin/su binary. Usage: hidesu /proc/<one pid of the namespace>/ns/mnt This uses the fact that when a program wants access to /sdcard, zygote does this using mount namespaces, so every program accessing /sdcard will be in a custom mount namespace, that can be modified.
Magisk
Static binaries included:
Languages
Kotlin
43.7%
Rust
31.2%
C++
17.5%
Shell
3.8%
Python
2.4%
Other
1.3%