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
deac6163d6
kernel: 1. use prctl lsm hook; 2. refine sucompat hook
2023-01-19 13:31:55 +07:00
Ylarod
fb73a7f83e
kernel: fix typo
2023-01-16 12:42:40 +08: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
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
weishu
0e0a812a9c
kernel: backport to 4.19 ( #36 )
2023-01-10 23:20:32 +08:00
weishu
35d6e27cd5
kernel: change vold.rc to atrace.rc temporarily
2023-01-04 21:42:50 +07:00
weishu
91ec16310c
kernel: Add boot_completed init event
2023-01-04 13:43:37 +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
weishu
ae18ab2b5e
kernel: inject userspace init events
2023-01-01 23:54:54 +07:00
weishu
b427c86ab3
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
3196731545
kernel: improve selinux for su context
2022-12-22 22:10:17 +07:00
weishu
758c8eb845
kernel: fix compile errors & warnings on android13-5.15 gki
2022-12-20 10:51:40 +07:00
Huy Minh
96139986b3
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
223f5588df
kernel: always disable seccomp
2022-12-19 17:14:38 +07:00
weishu
91f3b3ef1c
kernel: load_allow_list when /data prepared
2022-12-15 16:06:07 +07:00
weishu
fc497546cc
kernel: fix free kmem err
2022-12-14 16:41:47 +07:00
weishu
c6300ccf94
kernel: fix memory leaks and x86_64 args
2022-12-14 16:26:53 +07:00
weishu
e9ed28077f
kernel: add su compat mode
2022-12-14 14:55:29 +07:00