小さい猫
4a811576fc
fix some typos introduced in #166 ( #181 )
...
Signed-off-by: Ookiineko <chiisaineko@protonmail.com >
Co-authored-by: f19 <58457605+F-19-F@users.noreply.github.com >
Co-authored-by: Scirese <nuclearlight91@gmail.com >
2023-02-02 23:38:04 +08:00
weishu
895fc30fdf
kernel: version 15
2023-02-02 09:05:37 +07:00
tiann
74b186ed92
relicense kernel source code to GPL-v2
2023-02-02 09:04:07 +08: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
skbeh
d163200127
kernel, ksud: collect binaries into /data/adb/ksu ( #161 )
2023-02-01 17:58:58 +08:00
weishu
fc3b6871dd
kernel: version 14
2023-01-31 20:55:25 +07:00
weishu
7c9d24adbb
kernel: fix sepolicy rule which contains *
2023-01-31 20:51:02 +07:00
weishu
df8aec5b55
kernel: bump version 13
2023-01-31 19:21:21 +07:00
weishu
3603778a8c
kernel: support sepolicy
2023-01-31 18:54:31 +07:00
Ylarod
88cccf6ce5
ci: common kernel build and embed ksud ( #127 )
2023-01-28 12:24:43 +08:00
weishu
a2e57cbbf6
kernel: version 12
2023-01-26 16:16:00 +07:00
weishu
5995445e61
kernel: support selinux state transition
2023-01-26 16:05:14 +07:00
weishu
a548fa1771
kernel: add sepolicy calls
2023-01-26 16:05:14 +07:00
Ylarod
fa1b6f6d5b
kernel: minor fix ( #122 )
2023-01-26 14:55:41 +08:00
Ylarod
cdee2f87a1
kernel: update debug warning ( #121 )
2023-01-26 14:32:52 +08:00
Ylarod
443c5867cd
kernel: precise trigger timing of post-fs-data ( #118 )
...
* kernel: add report_event cmd
* ksud: report event
* kernel: trigger on_post_fs_data
* ksud: comment unused code
* [skip ci] run clang-format
Signed-off-by: Ylarod <me@ylarod.cn >
* ci: use custom key to sign official bootimgs
* format ksud
* reject non root
* remove
Signed-off-by: Ylarod <me@ylarod.cn >
2023-01-26 11:29:02 +08:00
Ylarod
21ecb29d41
kernel: opt allowlist persist and log ( #119 )
...
* kernel: persist on need
* kernel: opt log for ksu_allow_uid
2023-01-26 08:55:27 +08:00
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