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
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
0b14cac87e
kernel: 1. use prctl lsm hook; 2. refine sucompat hook
2023-01-19 13:31:55 +07:00
Ylarod
a1aa564406
kernel: fix typo
2023-01-16 12:42:40 +08: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
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
weishu
0caaf53c52
kernel: backport to 4.19 ( #36 )
2023-01-10 23:20:32 +08:00
weishu
0e847f1a81
kernel: change vold.rc to atrace.rc temporarily
2023-01-04 21:42:50 +07:00
weishu
a66328ddaa
kernel: Add boot_completed init event
2023-01-04 13:43:37 +07:00
weishu
d2888f714c
kernel: use exec instead of init service
2023-01-03 09:21:21 +07:00
weishu
c4ad1545f8
kernel: make injected init service name random
2023-01-02 22:19:01 +07:00
weishu
a9192b7d63
kernel: unregister vfs_read hook to avoid read performance
2023-01-02 21:43:02 +07: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
c17aed0d02
kernel: improve selinux for su context
2022-12-22 22:10:17 +07:00
weishu
5ccaa58448
kernel: fix compile errors & warnings on android13-5.15 gki
2022-12-20 10:51:40 +07:00
Huy Minh
fbfed68034
kernel: Include task_stack.h in sucompat.c ( #6 )
...
Fixed the following error when compiling
ld.lld: error: undefined symbol: task_stack_page
>>> referenced by ld-temp.o
>>> vmlinux.o:(sh_user_path)
2022-12-19 20:38:20 +08:00
weishu
d69f760960
kernel: always disable seccomp
2022-12-19 17:14:38 +07:00
weishu
bb91686c3c
kernel: load_allow_list when /data prepared
2022-12-15 16:06:07 +07:00
weishu
2ae0af7be6
kernel: fix free kmem err
2022-12-14 16:41:47 +07:00
weishu
ccf0675f8a
kernel: fix memory leaks and x86_64 args
2022-12-14 16:26:53 +07:00
weishu
44af9c5d2b
kernel: add su compat mode
2022-12-14 14:55:29 +07:00