小さい猫
|
199f5cc223
|
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
|
d1e7bad18f
|
kernel: version 15
|
2023-02-02 09:05:37 +07:00 |
|
tiann
|
a969af8159
|
relicense kernel source code to GPL-v2
|
2023-02-02 09:04:07 +08:00 |
|
f19
|
4f2b8b7077
|
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](https://github.com/F-19-F/android_kernel_oneplus_msm8998/commit/2993524f2fe7fbd2eea28883ec9f36e86de50f85)
* [allow init exec ksud under
nosuid](https://github.com/F-19-F/android_kernel_oneplus_msm8998/commit/3df9df42a659f489091445d813b8c0477215ae3a)
|
2023-02-01 19:48:36 +08:00 |
|
skbeh
|
46913671a8
|
kernel, ksud: collect binaries into /data/adb/ksu (#161)
|
2023-02-01 17:58:58 +08:00 |
|
weishu
|
62be9eb589
|
kernel: version 14
|
2023-01-31 20:55:25 +07:00 |
|
weishu
|
ab6d483c32
|
kernel: fix sepolicy rule which contains *
|
2023-01-31 20:51:02 +07:00 |
|
weishu
|
2d77f84736
|
kernel: bump version 13
|
2023-01-31 19:21:21 +07:00 |
|
weishu
|
b9e27621ee
|
kernel: support sepolicy
|
2023-01-31 18:54:31 +07:00 |
|
Ylarod
|
905c041a76
|
ci: common kernel build and embed ksud (#127)
|
2023-01-28 12:24:43 +08:00 |
|
weishu
|
cf5bcc09e8
|
kernel: version 12
|
2023-01-26 16:16:00 +07:00 |
|
weishu
|
413a8d0a2f
|
kernel: support selinux state transition
|
2023-01-26 16:05:14 +07:00 |
|
weishu
|
1852652029
|
kernel: add sepolicy calls
|
2023-01-26 16:05:14 +07:00 |
|
Ylarod
|
ee7065bc12
|
kernel: minor fix (#122)
|
2023-01-26 14:55:41 +08:00 |
|
Ylarod
|
8446f07a91
|
kernel: update debug warning (#121)
|
2023-01-26 14:32:52 +08:00 |
|
Ylarod
|
db600d5ea0
|
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
|
22b66b6672
|
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
|
06aaae1335
|
kernel: fix missing log tag (#117)
|
2023-01-25 22:24:00 +08:00 |
|
Ylarod
|
810087b2a7
|
kernel: bump version to 11
|
2023-01-25 21:55:47 +08:00 |
|
Ylarod
|
2f970f7ab8
|
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
|
47a736f567
|
kernel: allow to change manager in debug mode (#111)
|
2023-01-25 14:50:44 +08:00 |
|
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 https://github.com/gregkh/linux/commit/f3ac60671954c8d413532627b1be13a76f394c49
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 |
|