Commit Graph

257 Commits

Author SHA1 Message Date
weishu
a548fa1771 kernel: add sepolicy calls 2023-01-26 16:05:14 +07:00
tiann
b4233f4a27 manager: fix ksud installation failed at first boot. 2023-01-26 15:51:59 +08:00
tiann
f89635e628 ksud: fix compile for non-android 2023-01-26 15:05:20 +08:00
Ylarod
fa1b6f6d5b kernel: minor fix (#122) 2023-01-26 14:55:41 +08:00
Ylarod
cdee2f87a1 kernel: update debug warning (#121) 2023-01-26 14:32:52 +08:00
Ylarod
21a2c5a5fb ci: use custom key to sign official bootimgs (#120)
We can get pub key hash by 
```
avbtool info_image --image boot.img
```
2023-01-26 13:40:07 +08:00
tiann
6df752468f manager: remove libksu 2023-01-26 12:36:25 +08:00
tiann
196cb84571 ksud: add su 2023-01-26 12:28:55 +08:00
tiann
d98b507c47 ksud: make other os build happy 2023-01-26 12:12:25 +08:00
tiann
b11beddf5c website: fix symbol 2023-01-26 11:50:15 +08:00
tiann
44244b6e8c website: no need to bother sucompat now 2023-01-26 11:37:34 +08: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
21ecb29d41 kernel: opt allowlist persist and log (#119)
* kernel: persist on need

* kernel: opt log for ksu_allow_uid
2023-01-26 08:55:27 +08:00
Ylarod
9fe636cd47 kernel: fix missing log tag (#117) 2023-01-25 22:24:00 +08:00
Ylarod
b07b38c974 kernel: bump version to 11 2023-01-25 21:55:47 +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
Ylarod
675c7114bc ksud: update help and add default pkg name (#115) 2023-01-25 20:45:49 +08:00
Huy Minh
d5fcf7653f website : vi_VN : Update non-GKI integration translate (#116) 2023-01-25 20:45:35 +08:00
tiann
8463f1df08 ksud: minor tweaks 2023-01-25 19:01:51 +08:00
weishu
5f9f382c65 ksud: support set-manager (#114)
* ksud: support set-manager

* ksud: rework apk sign

Co-authored-by: Ylarod <me@ylarod.cn>
2023-01-25 17:55:08 +08:00
Ylarod
ecfe4e9ebd kernel: allow to change manager in debug mode (#111) 2023-01-25 14:50:44 +08:00
Ylarod
6ea1a36f27 kernel: add missing header (#110) 2023-01-24 22:32:16 +08:00
weishu
7edf478901 kernel: bump version to 10 2023-01-24 19:49:08 +07:00
weishu
a387fc601a kernel: selinux support add new type and add builtin unconstrained file type 2023-01-24 19:48:41 +07:00
weishu
b3fb256445 kernel: enable sucompat iff KPROBES enabled, close #100 2023-01-24 14:38:33 +07:00
セリカ・シルフィル
b401c32840 website:Remind readers how to resolve dependencies for KPROBES (#106)
website:Remind readers how to resolve  dependencies for KPROBES

Power by DeepL and Google Translate
2023-01-24 15:10:44 +08:00
tiann
96fd9034b4 ksud: dummy mount stdout and stderr 2023-01-24 15:06:50 +08:00
tiann
59a35c0140 ksud: auto resize image based on module size 2023-01-24 15:00:31 +08:00
tiann
db38f8b368 ksud: dummy mount output 2023-01-24 13:28:06 +08:00
tiann
5b9b620bc0 ksud: retry for mount 2023-01-24 13:26:40 +08:00
Ylarod
3cd2e0d40c kernel: run ksu_kprobe_init if build as module (#109) 2023-01-24 08:42:25 +08:00
Abhiram
7b6c028292 Add support for predictive back gesture (#105)
Reference: https://developer.android.com/guide/navigation/predictive-back-gesture#opt-predictive
2023-01-23 18:39:38 +08:00
AngelaCool
91c9a6c93b manager: Add monochrome themed icon on Android 12+ (#104) 2023-01-23 10:26:12 +08:00
Ylarod
90a9aa2ff8 Revert "README: Added the information for the support of Linux 4.9 (#103)"
This reverts commit f915b4e488.
2023-01-22 13:11:33 +08:00
SlightlyLookAround
f915b4e488 README: Added the information for the support of Linux 4.9 (#103)
- And Linux 4.14 is same. See the disscusion of https://www.coolapk.com/feed/42545715.

Signed-off-by: Calling <KeternalGithub@163.com>

Signed-off-by: Calling <KeternalGithub@163.com>
2023-01-22 12:23:39 +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
Huy Minh
848594b747 Website : vi_VN : Capitalize "guide" in Vietnamese (#101) 2023-01-21 22:41:52 +08:00
Abhiram
ac346b0ac4 [skip ci] bump actions/upload-artifact to v3 (#99) 2023-01-21 20:35:28 +08:00
weishu
7c738a9658 Add SELinux status (#98)
* manager: Get SELinux status and display it at home

Signed-off-by: xiaoleGun <1592501605@qq.com>
Co-authored-by: xiaoleGun <1592501605@qq.com>
2023-01-21 18:58:33 +08:00
Abhiram
360301e870 Update link to workflow page (#97) 2023-01-21 17:59:31 +08:00
Ylarod
803f586c84 website: fix id_ID 2023-01-21 15:34:36 +08:00
Anggit Febriantoro
36a332b009 website: add id_ID translation (#96)
* website: add id_ID translation

* website: fix leftover id_ID translation
2023-01-21 15:32:55 +08:00
Ylarod
2932cd82ac website: update vi_VN translation 2023-01-21 14:54:12 +08:00
Huy Minh
9565f272bb website: add vi_VN translation (#91)
Signed-off-by: hmtheboy154 <buingoc67@gmail.com>

Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
2023-01-21 06:37:36 +08:00
tiann
66b10ce575 website: fix typo 2023-01-20 21:24:09 +08:00
tiann
86a157e8d7 website: fix title 2023-01-20 21:10:26 +08:00
tiann
b9d95aebbd website: fix faq 2023-01-20 21:05:43 +08:00
tiann
c13f40b97a website: add faq 2023-01-20 21:02:55 +08:00
Ylarod
d7254aa3a8 website: bump vitepress to 1.0.0-alpha.40 2023-01-20 21:00:10 +08:00
Ylarod
7488392b57 website: add favicon 2023-01-20 18:49:39 +08:00