4qwerty7 1b67c1b153 kernel: fix null pointer dereference for some case (#1075)
#973 __never_use_envp 被改名为 envp 并使用。

这导致 GKI 版本一旦代码运行到
[213](344c08bb79/kernel/ksud.c (L213))
行(或许只有 WSA 等类似情况会跑到这?),就会触发一个空指针解引用。

此PR意在修复此问题,且已在WSA上测试。
2023-10-24 07:00:52 +08:00
2023-10-23 17:25:39 +08:00
2023-10-21 13:21:33 +08:00
2023-10-22 23:39:11 +08:00
2022-12-09 22:03:55 +08:00
2023-10-09 22:53:21 +08:00

English | Español | 简体中文 | 繁體中文 | 日本語 | Polski | Portuguese-Brazil | Türkçe | Русский | Tiếng Việt | Indonesia | עברית | हिंदी

KernelSU

A Kernel-based root solution for Android devices.

Features

  1. Kernel-based su and root access management.
  2. Module system based on overlayfs.
  3. 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

License

  • Files under the kernel directory are GPL-2
  • All other parts except the kernel directory are GPL-3

Credits

Description
No description provided
Readme GPL-3.0 60 MiB
Languages
Kotlin 67.1%
C 20%
Rust 11.1%
Shell 0.9%
Makefile 0.4%
Other 0.4%