weishu
91db0b3248
kernel: allow use without git submodule
2023-02-06 15:30:58 +07:00
weishu
eb0cac3522
kernel: make sure KernelSU is a submodule to avoding incorrect git version
2023-02-05 16:31:50 +07:00
weishu
1b2a6fb6bc
kernel: unify version
2023-02-03 23:01:02 +07:00
f19
b085db50dc
kernel: backport to 4.4 ( #166 )
...
These changes make KernelSU work on kernel4.4
[link](https://github.com/F-19-F/android_kernel_oneplus_msm8998 ).
LINUX_VERSION_CODE macro changes have been vertied on 4.4 4.9 4.14.
For kernel 4.4,just pick two commits
* [introduce
KernelSU](2993524f2f )
* [allow init exec ksud under
nosuid](3df9df42a6 )
2023-02-01 19:48:36 +08:00
Ylarod
88cccf6ce5
ci: common kernel build and embed ksud ( #127 )
2023-01-28 12:24:43 +08:00
Ylarod
3d07b7285b
kernel: refact ( #113 )
...
* refact
* sort inlude
* update
* unregister execve kprobe
* update log
* don't unregister if not in kprobe
* opt for no kprobe
* opt for no kprobe
* stop debug
* don't forget to call ksu_uid_observer_exit
* rename core to core_hook
* direct call do_persistent_allow_list
* add prefix
* use getter, add warn
* add wrapper
* run clang-format
clang-format --style="{BasedOnStyle: InheritParentConfig, SortIncludes: true}" -i kernel/**/*.[ch]
* try fix wsa x64 build
2023-01-25 21:53:19 +08:00
weishu
0b14cac87e
kernel: 1. use prctl lsm hook; 2. refine sucompat hook
2023-01-19 13:31:55 +07:00
weishu
7da5189377
kernel: add uid observer, correctly prune uid allowlist when app is installed/uninstalled.
2023-01-17 12:44:38 +07:00
Ylarod
9cf907ee46
[skip ci] kernel: allow override EXPECTED_* by env ( #67 )
...
The original one can only override by `make EXPECTED_SIZE=123 EXPECTED_HASH=123`
2023-01-15 08:29:29 +08:00
Ylarod
c4cfd45f2c
kernel: add CONFIG_KSU_DEBUG ( #19 )
...
* Kconfig: add KSU_DEBUG
* print alert on debug mode
* allow shell by default
* store signature to var on debug mode
* format
* export as module_param
* rename apk_sign to kernelsu
2023-01-14 21:45:34 +08:00
SsageParuders
db153671c8
kernel: add ccflags ( #11 )
...
make `Mixing declarations and code is a C99 extension` disappear
2022-12-20 14:04:14 +08:00
Ylarod
fcafc23a01
Add ci for manager and userspace ( #2 )
...
* kernel: move EXPECTED_* macro to Makefile
* manager: add sign configs
* tools: add check_v2
* CI: build manager
* CI: build userspace
2022-12-15 12:22:43 +08:00
weishu
44af9c5d2b
kernel: add su compat mode
2022-12-14 14:55:29 +07:00
tiann
2f6031ad67
Init
2022-12-09 22:04:40 +08:00