小さい猫
|
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 |
|
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
|
7c9d24adbb
|
kernel: fix sepolicy rule which contains *
|
2023-01-31 20:51:02 +07:00 |
|
weishu
|
3603778a8c
|
kernel: support sepolicy
|
2023-01-31 18:54:31 +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
|
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
|
9fe636cd47
|
kernel: fix missing log tag (#117)
|
2023-01-25 22:24:00 +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
|
a387fc601a
|
kernel: selinux support add new type and add builtin unconstrained file type
|
2023-01-24 19:48:41 +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
|
8180106ccf
|
kernel: fix am/pm error in app's su
|
2023-01-16 15:48:40 +07: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 |
|
セリカ・シルフィル
|
395090ae3e
|
Fix error for some non-GKI kernel source code (#45)
Idea from @Dreamail
|
2023-01-12 15:11:51 +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 |
|
YuKongA
|
07176fdecb
|
kernel: CI build for 5.15.y (#30)
|
2023-01-07 16:39:19 +08:00 |
|
weishu
|
808f4b8875
|
kernel: inject userspace init events
|
2023-01-01 23:54:54 +07:00 |
|
weishu
|
95656d61ad
|
misc: code format(use kernel code stype: https://www.kernel.org/doc/html/v6.1/process/coding-style.html
|
2022-12-27 18:21:10 +07:00 |
|
weishu
|
d9a2356edc
|
kernel: support xperms for sepolicy
|
2022-12-27 17:43:58 +07:00 |
|
weishu
|
f610e321d2
|
kernel: fix sepolicy db size incorrect
|
2022-12-27 15:55:54 +07:00 |
|
Ylarod
|
ba1ae8d7ff
|
🚨 [kernel] remove warnings (#20)
|
2022-12-24 09:18:38 +08:00 |
|
weishu
|
2bdd7c3868
|
kernel: fix compile err
|
2022-12-23 10:46:19 +07:00 |
|
weishu
|
e44b1c2a95
|
kernel: don't apply rules for permissive/disabled selinux
|
2022-12-23 08:59:57 +07:00 |
|
weishu
|
5f1d813635
|
kernel: add selinux rules for allowlist
|
2022-12-23 08:15:35 +07:00 |
|
weishu
|
c17aed0d02
|
kernel: improve selinux for su context
|
2022-12-22 22:10:17 +07:00 |
|
weishu
|
fa4362ddd6
|
kernel: avoding other root process being kprobed
|
2022-12-21 20:50:55 +07: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 |
|
weishu
|
84ebb6800a
|
kernel: don't setenforce if kernel is already permissive
|
2022-12-12 22:19:17 +07:00 |
|
weishu
|
b1a33f869b
|
kernel: make allowlist available cross boot
|
2022-12-12 11:17:51 +07:00 |
|
tiann
|
2f6031ad67
|
Init
|
2022-12-09 22:04:40 +08:00 |
|