1b67c1b1534c00cbcd222e87fa807eaef6efa172
在 #973 __never_use_envp 被改名为 envp 并使用。
这导致 GKI 版本一旦代码运行到
[213](344c08bb79/kernel/ksud.c (L213))
行(或许只有 WSA 等类似情况会跑到这?),就会触发一个空指针解引用。
此PR意在修复此问题,且已在WSA上测试。
English | Español | 简体中文 | 繁體中文 | 日本語 | Polski | Portuguese-Brazil | Türkçe | Русский | Tiếng Việt | Indonesia | עברית | हिंदी
KernelSU
A Kernel-based root solution for Android devices.
Features
- Kernel-based
suand root access management. - Module system based on overlayfs.
- App Profile: Lock up the root power in a cage.
Compatibility State
KernelSU officially supports Android GKI 2.0 devices (kernel 5.10+). Older kernels (4.14+) are also compatible, but the kernel will have to be built manually.
With this, WSA, ChromeOS, and container-based Android are all supported.
Currently, only arm64-v8a and x86_64 are supported.
Usage
Translation
To help translate KernelSU or improve existing translations, please use Weblate.
Discussion
- Telegram: @KernelSU
License
Credits
- kernel-assisted-superuser: the KernelSU idea.
- Magisk: the powerful root tool.
- genuine: apk v2 signature validation.
- Diamorphine: some rootkit skills.
Languages
Kotlin
67.1%
C
20%
Rust
11.1%
Shell
0.9%
Makefile
0.4%
Other
0.4%