Ylarod
423f4aaf1f
kernel: add missing header ( #110 )
2023-01-24 22:32:16 +08:00
weishu
1d55c987a6
kernel: bump version to 10
2023-01-24 19:49:08 +07:00
weishu
e5044b4b6f
kernel: selinux support add new type and add builtin unconstrained file type
2023-01-24 19:48:41 +07:00
weishu
fbd7d0f90d
kernel: enable sucompat iff KPROBES enabled, close #100
2023-01-24 14:38:33 +07:00
Ylarod
4c28932c4c
kernel: run ksu_kprobe_init if build as module ( #109 )
2023-01-24 08:42:25 +08:00
SlightlyLookAround
fe11fcd6c6
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
c252492a42
kernel: add __init for init funcs
2023-01-19 16:38:53 +07:00
weishu
2844df865b
kernel: use rename lsm hook
2023-01-19 16:34:21 +07:00
weishu
da377a9fa9
kernel: fix unused-variable
2023-01-19 13:54:42 +07:00
weishu
deac6163d6
kernel: 1. use prctl lsm hook; 2. refine sucompat hook
2023-01-19 13:31:55 +07:00
weishu
448fcc07e7
kernel: fix typo
2023-01-18 18:57:37 +07:00
weishu
830c27361e
kernel: unify workqueue
2023-01-18 18:37:27 +07:00
Ylarod
5b2efd65b1
kernel: add null check ( #84 )
2023-01-18 17:05:40 +08:00
Ylarod
2724c6211a
kernel: put original group_info ( #82 )
2023-01-18 07:59:26 +08:00
Ylarod
3d5effb678
kernel: fix panic in #79 ( #80 )
2023-01-17 21:51:19 +08:00
weishu
2a1e91cb34
kernel: don't use 0(root uid) as manager init uid
2023-01-17 13:49:30 +07:00
weishu
ab36e1fa0c
kernel: add uid observer, correctly prune uid allowlist when app is installed/uninstalled.
2023-01-17 12:44:38 +07:00
weishu
bf3edfd0ef
kernel: fix init_groups not exist int 5.15
2023-01-16 16:33:51 +07:00
weishu
710b933b08
kernel: fix am/pm error in app's su
2023-01-16 15:48:40 +07:00
weishu
ece66a3c38
kernel: setgroup to root for su
2023-01-16 15:43:14 +07:00
Ylarod
fb73a7f83e
kernel: fix typo
2023-01-16 12:42:40 +08:00
weishu
2222a999b9
kernel: version 9
2023-01-16 11:20:27 +07:00
weishu
00b1d7538d
kernel: support ksud services
2023-01-16 11:19:59 +07:00
weishu
886c7d97a6
kernel: fix stack frame size exceeds
2023-01-16 10:21:10 +07:00
Scirese
4f99d865cb
kernel: make kernel correctly response CMD_GRANT_ROOT ( #73 )
2023-01-15 20:11:21 +08:00
Ylarod
a30aab1da6
[skip ci] minor fixup ( #72 )
...
1. update README_CN.md
2. indent fixup
2023-01-15 17:05:08 +08:00
chen2021-web
2359b16526
backport to 4.14 ( #59 )
2023-01-15 15:34:15 +08:00
Ylarod
c3f462d260
[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
0b86cd69fc
[skip ci] kernel: allow root processes to get version ( #63 )
2023-01-14 21:52:57 +08:00
Ylarod
5e77d1cd5b
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
50f44fff9e
kernel: export customized symbols ( #58 )
2023-01-14 10:43:16 +08:00
Ylarod
177d6dba15
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
セリカ・シルフィル
954e06bbcc
Make setup script support non-GKI kernel ( #47 )
2023-01-12 17:09:55 +08:00
セリカ・シルフィル
bf87b134de
Fix error for some non-GKI kernel source code ( #45 )
...
Idea from @Dreamail
2023-01-12 15:11:51 +08:00
Ylarod
848712e417
kernel: fix warning ( #37 )
2023-01-11 05:22:58 +08:00
weishu
0e0a812a9c
kernel: backport to 4.19 ( #36 )
2023-01-10 23:20:32 +08:00
Ylarod
26f80b7107
kernel: improve include ( #35 )
2023-01-10 19:44:43 +08:00
weishu
a2ec618c49
kernel: fix typo for PT_PARAM_REG
2023-01-09 07:24:23 +07:00
weishu
43bea50605
kernel: fix syscall_work version
2023-01-07 20:11:33 +07:00
weishu
94d0d5ac6b
kernel: syscall_work is introduced above 5.10
2023-01-07 20:07:16 +07:00
YuKongA
0c6de7a1ed
kernel: CI build for 5.15.y ( #30 )
2023-01-07 16:39:19 +08:00
weishu
36aff66835
kernel: add PT_REGS_PARAM6
2023-01-06 21:51:09 +07:00
Huy Minh
89288a0c59
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
35d6e27cd5
kernel: change vold.rc to atrace.rc temporarily
2023-01-04 21:42:50 +07:00
weishu
d7cfa6b669
kernel: version -> 8
2023-01-04 13:43:53 +07:00
weishu
91ec16310c
kernel: Add boot_completed init event
2023-01-04 13:43:37 +07:00
weishu
d3d6601006
kernel: version -> 7
2023-01-03 09:21:46 +07:00
weishu
b3f7d1f070
kernel: use exec instead of init service
2023-01-03 09:21:21 +07:00
weishu
5229b8158e
kernel: make injected init service name random
2023-01-02 22:19:01 +07:00
weishu
2e8645b50e
kernel: unregister vfs_read hook to avoid read performance
2023-01-02 21:43:02 +07:00