weishu
|
94d0d5ac6b
|
kernel: syscall_work is introduced above 5.10
|
2023-01-07 20:07:16 +07:00 |
|
YuKongA
|
0c6de7a1ed
|
kernel: CI build for 5.15.y (#30)
|
2023-01-07 16:39:19 +08:00 |
|
weishu
|
36aff66835
|
kernel: add PT_REGS_PARAM6
|
2023-01-06 21:51:09 +07:00 |
|
Huy Minh
|
89288a0c59
|
Kconfig : Make KSU depends on OVERLAY_FS (#25)
As KernelSU now support modules and mounting system as R/W using overlayfs, it's time to require overlayfs when trying to compile it.
|
2023-01-05 17:48:22 +08:00 |
|
weishu
|
35d6e27cd5
|
kernel: change vold.rc to atrace.rc temporarily
|
2023-01-04 21:42:50 +07:00 |
|
weishu
|
d7cfa6b669
|
kernel: version -> 8
|
2023-01-04 13:43:53 +07:00 |
|
weishu
|
91ec16310c
|
kernel: Add boot_completed init event
|
2023-01-04 13:43:37 +07:00 |
|
weishu
|
d3d6601006
|
kernel: version -> 7
|
2023-01-03 09:21:46 +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
|
00b4025325
|
kernel: become_manager return true iff it is manager
|
2022-12-29 16:15:45 +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
|
342910771b
|
kernel: support xperms for sepolicy
|
2022-12-27 17:43:58 +07:00 |
|
weishu
|
7b3f3d4965
|
kernel: fix sepolicy db size incorrect
|
2022-12-27 15:55:54 +07:00 |
|
weishu
|
0661dda164
|
kernel: fix wrong args
|
2022-12-26 15:08:17 +07:00 |
|
Ylarod
|
4c9942dd3f
|
🚨 [kernel] remove warnings (#20)
|
2022-12-24 09:18:38 +08:00 |
|
tiann
|
82161dec80
|
kernel: fix path leak
|
2022-12-23 12:35:25 +07:00 |
|
weishu
|
7b60a1e5f8
|
kernel: improve manager validation
|
2022-12-23 11:47:27 +07:00 |
|
weishu
|
33096754dd
|
kernel: fix compile err
|
2022-12-23 10:46:19 +07:00 |
|
weishu
|
2a891a478c
|
kernel: version -> 5
|
2022-12-23 09:00:50 +07:00 |
|
weishu
|
87d1158313
|
kernel: don't apply rules for permissive/disabled selinux
|
2022-12-23 08:59:57 +07:00 |
|
weishu
|
fa59434753
|
kernel: add selinux rules for allowlist
|
2022-12-23 08:15:35 +07:00 |
|
weishu
|
dcb1d38a37
|
kernel: fix seccomp, this is actually a fix of previous commit
|
2022-12-22 22:20:12 +07:00 |
|
weishu
|
3196731545
|
kernel: improve selinux for su context
|
2022-12-22 22:10:17 +07:00 |
|
weishu
|
301406d051
|
kernel: fix seccomp. it may crash in https://elixir.bootlin.com/linux/v5.10.161/source/kernel/seccomp.c#L1079
|
2022-12-22 22:04:18 +07:00 |
|
Ylarod
|
e6d40afe76
|
💚 kernel: fix ci build (#16)
|
2022-12-22 09:53:45 +08:00 |
|
weishu
|
47b0f7bdeb
|
kernel: manager's parent must be zygote(uid=0)
|
2022-12-21 21:05:16 +07:00 |
|
weishu
|
9aacf2a64d
|
kernel: avoding other root process being kprobed
|
2022-12-21 20:50:55 +07:00 |
|
weishu
|
78fc250778
|
kernel: version -> 4
|
2022-12-21 19:19:07 +07:00 |
|
Huy Minh
|
5053e20778
|
kernel: switch to syscall_work if CONFIG_GENERIC_ENTRY is enabled (#12)
From Kernel 5.11 it migrate to syscall_work instead of tif_*, so check for CONFIG_GENERIC_ENTRY and use syscall_work instead of TIF_SECCOMP
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2382193.html
|
2022-12-20 14:54:42 +08:00 |
|
SsageParuders
|
92a3be8af9
|
kernel: add ccflags (#11)
make `Mixing declarations and code is a C99 extension` disappear
|
2022-12-20 14:04:14 +08:00 |
|
weishu
|
758c8eb845
|
kernel: fix compile errors & warnings on android13-5.15 gki
|
2022-12-20 10:51:40 +07:00 |
|
SsageParuders
|
c5da14ae4b
|
need to import namespace (#7)
use some symbols, such as filp_open , from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it
|
2022-12-20 10:21:57 +08: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 |
|
Nullptr
|
85d4cbd92d
|
Fix su file not found after su (#5)
|
2022-12-19 19:37:26 +08:00 |
|
Huy Minh
|
c19869c1cc
|
Kconfig : Make KSU depends on KPROBES (#4)
|
2022-12-19 18:19:58 +08:00 |
|
weishu
|
223f5588df
|
kernel: always disable seccomp
|
2022-12-19 17:14:38 +07:00 |
|
weishu
|
be91d4edaf
|
kernel: emit compile error when KPROBES disabled
|
2022-12-19 12:12:57 +07:00 |
|
weishu
|
91f3b3ef1c
|
kernel: load_allow_list when /data prepared
|
2022-12-15 16:06:07 +07:00 |
|
Ylarod
|
8e89b90b80
|
Add ci for manager and userspace (#2)
* kernel: move EXPECTED_* macro to Makefile
* manager: add sign configs
* tools: add check_v2
* CI: build manager
* CI: build userspace
|
2022-12-15 12:22:43 +08: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 |
|
weishu
|
280660125f
|
kernel: don't setenforce if kernel is already permissive
|
2022-12-12 22:19:17 +07:00 |
|
weishu
|
0d8785ec78
|
kernel: support x86_64
|
2022-12-12 13:51:09 +07:00 |
|
weishu
|
304581cab4
|
kernel: fix selinux when load/save allowlist
|
2022-12-12 13:50:47 +07:00 |
|
weishu
|
820d84e512
|
kernel: make allowlist available cross boot
|
2022-12-12 11:17:51 +07:00 |
|
weishu
|
730a522f87
|
kernel: fmt
|
2022-12-11 22:00:44 +07:00 |
|