Ylarod
9fe636cd47
kernel: fix missing log tag ( #117 )
2023-01-25 22:24:00 +08:00
Ylarod
b07b38c974
kernel: bump version to 11
2023-01-25 21:55:47 +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
Ylarod
ecfe4e9ebd
kernel: allow to change manager in debug mode ( #111 )
2023-01-25 14:50:44 +08:00
Ylarod
6ea1a36f27
kernel: add missing header ( #110 )
2023-01-24 22:32:16 +08:00
weishu
7edf478901
kernel: bump version to 10
2023-01-24 19:49:08 +07:00
weishu
a387fc601a
kernel: selinux support add new type and add builtin unconstrained file type
2023-01-24 19:48:41 +07:00
weishu
b3fb256445
kernel: enable sucompat iff KPROBES enabled, close #100
2023-01-24 14:38:33 +07:00
Ylarod
3cd2e0d40c
kernel: run ksu_kprobe_init if build as module ( #109 )
2023-01-24 08:42:25 +08:00
SlightlyLookAround
7be4d88752
kernel: Migrate the reference of task_stack() ( #102 )
...
- task_stack() had been separated when it was in Linux 4.11, so let's do
our migration when KernelSU facing the old version of kernel.
- See f3ac606719
Signed-off-by: Calling <KeternalGithub@163.com >
Signed-off-by: Calling <KeternalGithub@163.com >
2023-01-22 11:32:28 +08:00
weishu
58c1ebaad2
kernel: add __init for init funcs
2023-01-19 16:38:53 +07:00
weishu
c345438b7a
kernel: use rename lsm hook
2023-01-19 16:34:21 +07:00
weishu
029241e3f7
kernel: fix unused-variable
2023-01-19 13:54:42 +07:00
weishu
0b14cac87e
kernel: 1. use prctl lsm hook; 2. refine sucompat hook
2023-01-19 13:31:55 +07:00
weishu
2bbeba0359
kernel: fix typo
2023-01-18 18:57:37 +07:00
weishu
a9dd171f0d
kernel: unify workqueue
2023-01-18 18:37:27 +07:00
Ylarod
88161ba7af
kernel: add null check ( #84 )
2023-01-18 17:05:40 +08:00
Ylarod
5dee70a8fe
kernel: put original group_info ( #82 )
2023-01-18 07:59:26 +08:00
Ylarod
d2c6b9ae8e
kernel: fix panic in #79 ( #80 )
2023-01-17 21:51:19 +08:00
weishu
aa6ab8fcb9
kernel: don't use 0(root uid) as manager init uid
2023-01-17 13:49:30 +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
weishu
a0852cd7d1
kernel: fix init_groups not exist int 5.15
2023-01-16 16:33:51 +07:00
weishu
8180106ccf
kernel: fix am/pm error in app's su
2023-01-16 15:48:40 +07:00
weishu
610b6aba8b
kernel: setgroup to root for su
2023-01-16 15:43:14 +07:00
Ylarod
a1aa564406
kernel: fix typo
2023-01-16 12:42:40 +08:00
weishu
c70917b04c
kernel: version 9
2023-01-16 11:20:27 +07:00
weishu
d776da4df5
kernel: support ksud services
2023-01-16 11:19:59 +07:00
weishu
cbb1cb39ea
kernel: fix stack frame size exceeds
2023-01-16 10:21:10 +07:00
Scirese
d91e4027b5
kernel: make kernel correctly response CMD_GRANT_ROOT ( #73 )
2023-01-15 20:11:21 +08:00
Ylarod
6ad3f47dbd
[skip ci] minor fixup ( #72 )
...
1. update README_CN.md
2. indent fixup
2023-01-15 17:05:08 +08:00
chen2021-web
9150cfedd7
backport to 4.14 ( #59 )
2023-01-15 15:34:15 +08: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
Scirese
f590f95b99
[skip ci] kernel: allow root processes to get version ( #63 )
2023-01-14 21:52:57 +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
Ylarod
b9f8e01d62
kernel: export customized symbols ( #58 )
2023-01-14 10:43:16 +08:00
Ylarod
2815801ecd
kernel: add prefix for functions in sepolicy ( #49 )
...
* kernel: add prefix for functions in sepolicy
* ci: fix 5.15 compile error
2023-01-13 20:05:52 +08:00
セリカ・シルフィル
bf5bfd3836
Make setup script support non-GKI kernel ( #47 )
2023-01-12 17:09:55 +08:00
セリカ・シルフィル
395090ae3e
Fix error for some non-GKI kernel source code ( #45 )
...
Idea from @Dreamail
2023-01-12 15:11:51 +08:00
Ylarod
5de4ebfb71
kernel: fix warning ( #37 )
2023-01-11 05:22:58 +08:00
weishu
0caaf53c52
kernel: backport to 4.19 ( #36 )
2023-01-10 23:20:32 +08:00
Ylarod
9d19d9b9f0
kernel: improve include ( #35 )
2023-01-10 19:44:43 +08:00
weishu
cb78faaf22
kernel: fix typo for PT_PARAM_REG
2023-01-09 07:24:23 +07:00
weishu
2f0349ae70
kernel: fix syscall_work version
2023-01-07 20:11:33 +07:00
weishu
17268b5c00
kernel: syscall_work is introduced above 5.10
2023-01-07 20:07:16 +07:00
YuKongA
07176fdecb
kernel: CI build for 5.15.y ( #30 )
2023-01-07 16:39:19 +08:00
weishu
ece756faed
kernel: add PT_REGS_PARAM6
2023-01-06 21:51:09 +07:00
Huy Minh
4d099b9273
Kconfig : Make KSU depends on OVERLAY_FS ( #25 )
...
As KernelSU now support modules and mounting system as R/W using overlayfs, it's time to require overlayfs when trying to compile it.
2023-01-05 17:48:22 +08:00
weishu
0e847f1a81
kernel: change vold.rc to atrace.rc temporarily
2023-01-04 21:42:50 +07:00
weishu
a45fd72e5b
kernel: version -> 8
2023-01-04 13:43:53 +07:00
weishu
a66328ddaa
kernel: Add boot_completed init event
2023-01-04 13:43:37 +07:00