Commit Graph

1393 Commits

Author SHA1 Message Date
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
Ylarod
af75ade553 website: add missing c 2023-01-20 18:42:28 +08:00
Ylarod
b8ea60f6f1 website: fixup 2023-01-20 18:40:47 +08:00
tiann
efc2e30868 website: instruction for non gki build 2023-01-20 18:31:22 +08:00
tiann
a43ae5da92 website: Add instruction for non gki build 2023-01-20 18:28:15 +08:00
Ylarod
50f33292a8 website: add zh_CN translation (#88)
* website: bump vitepress to 1.0.0-alpha.38

* i18n: add zh-CN translation
2023-01-20 10:55:38 +08:00
weishu
58c1ebaad2 kernel: add __init for init funcs 2023-01-19 16:38:53 +07:00
秋秋
b6a820f421 ci: fix WSA ccache (#85) 2023-01-19 17:36:31 +08:00
weishu
c345438b7a kernel: use rename lsm hook 2023-01-19 16:34:21 +07:00
weishu
029241e3f7 kernel: fix unused-variable 2023-01-19 13:54:42 +07:00
weishu
0b14cac87e kernel: 1. use prctl lsm hook; 2. refine sucompat hook 2023-01-19 13:31:55 +07:00
weishu
2bbeba0359 kernel: fix typo 2023-01-18 18:57:37 +07:00
weishu
a9dd171f0d kernel: unify workqueue 2023-01-18 18:37:27 +07:00
Ylarod
88161ba7af kernel: add null check (#84) 2023-01-18 17:05:40 +08:00
Ylarod
5dee70a8fe kernel: put original group_info (#82) 2023-01-18 07:59:26 +08:00