48 Commits

Author SHA1 Message Date
weishu
5180e4add4 compile success for libsepl in kernel 2022-12-21 19:17:36 +07:00
Ylarod
06d0430e52
👷 [CI] Update build-kernel.yml (#13) 2022-12-21 20:13:16 +08:00
Nullptr
e111602784
misc: create build-kernel.yml (#9)
* misc: create build-kernel.yml

* misc: pack boot.img
2022-12-21 17:39:21 +08:00
tiann
28ce468e73
misc: don't trigger ci on irrelative path 2022-12-20 17:14:07 +08: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
tiann
04c2febe55
manager: fix crash when app granted root is uninstalled. 2022-12-19 12:57:47 +08:00
tiann
745a073455
manager: only build x86_64 and arm64 libs 2022-12-16 11:06:34 +08:00
Ylarod
a90c93c97a
docs: change url of build instruction (#3) 2022-12-15 22:21:05 +08:00
weishu
91f3b3ef1c kernel: load_allow_list when /data prepared 2022-12-15 16:06:07 +07:00
tiann
c4b32332d2
manager: lazy load app name and icon 2022-12-15 15:15:30 +08:00
tiann
21e2306a50
misc: fix ci 2022-12-15 14:25:46 +08:00
tiann
5c2ae65ad8
manager: rename build artifacts 2022-12-15 12:48:33 +08: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
tiann
6b84b7ed4d
v0.1.3 v0.1.3 2022-12-14 22:35:53 +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
tiann
2934ec1718
manager: add all apps in superuser list 2022-12-14 16:31:54 +08: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
tiann
a30507dfcc
userspace: add x86_64 build 2022-12-12 14:52:39 +08: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
tiann
a0d91bcf8b
manager: fix package visibility 2022-12-11 20:56:52 +08:00
tiann
da4ebee980
userspace: don't use static lib 2022-12-11 20:02:30 +08:00
tiann
fc3b94cbaa
v0.1.2 2022-12-11 00:46:24 +08:00
tiann
86b384eefc
manager: fix SuperUser list key conflicts 2022-12-11 00:08:35 +08:00
tiann
39188606dc
misc: README 2022-12-10 23:50:08 +08:00
weishu
d052043267 misc: add kernel setup script 2022-12-10 22:43:21 +07:00
tiann
b2e6f5cace
manager: ui changes 2022-12-10 23:40:31 +08:00
tiann
e77ac86e95
manager: fix dialog text color 2022-12-10 22:55:09 +08:00
tiann
57b1eb44f8
misc: ignore 2022-12-10 22:13:56 +08:00
tiann
210d36f91c
kernel: use release sign 2022-12-10 22:13:38 +08:00
tiann
11372653a1
v0.1.1 2022-12-10 22:03:18 +08:00
tiann
2f09767110
[manager]: Add icon 2022-12-10 22:02:39 +08:00
tiann
c90e9fcc95
[manager]: show status of kernel 2022-12-10 21:54:34 +08:00
tiann
1c1c7e0352
[manager]: Use MD3 2022-12-10 21:14:43 +08:00
tiann
51c84400cf
Init 2022-12-09 22:04:40 +08:00
weishu
fa71c6cfe1
Initial commit 2022-12-09 22:03:55 +08:00