Soo-Hwan Na 6d1ee60d67 kernel/selinux: Need to force include errno.h sometimes (#572)
- Seen with Linux 4.14 kernel with error message:

In file included from ../drivers/android/kernelsu/selinux/sepolicy.c:1:
In file included from ../drivers/android/kernelsu/selinux/sepolicy.h:6:
In file included from ../security/selinux/ss/policydb.h:30: In file
included from ../security/selinux/ss/avtab.h:26:
../security/selinux/include/security.h:240:10: error: use of undeclared
identifier 'EIDRM'
        return -EIDRM;
                ^
  CC      drivers/base/transport_class.o
  CC      kernel/rcu/update.o
../security/selinux/include/security.h:246:10: error: use of undeclared
identifier 'ENOENT'
        return -ENOENT;
                ^
2023-06-06 16:42:45 +08:00
2023-06-03 19:29:04 +08:00
2022-12-09 22:03:55 +08:00
2023-05-31 12:08:58 +08:00
2023-05-29 20:17:43 +08:00
2023-05-31 12:08:58 +08:00
2023-05-31 12:08:58 +08:00
2023-05-31 12:08:58 +08:00

English | 简体中文 | 繁體中文 | 日本語 | Portuguese-Brazil

KernelSU

A Kernel based root solution for Android devices.

Features

  1. Kernel-based su and root access management.
  2. Module system based on overlayfs.

Compatibility State

KernelSU officially supports Android GKI 2.0 devices(with kernel 5.10+), old kernels(4.14+) is also compatible, but you need to build kernel yourself.

WSA and containter-based Android should also work with KernelSU integrated.

And the current supported ABIs are : arm64-v8a and x86_64

Usage

Installation

Build

How to build?

Discussion

License

  • Files under kernel directory are GPL-2
  • All other parts except 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%