1697 Commits

Author SHA1 Message Date
tiann
da38815ce0
website: no need to bother sucompat now 2023-01-26 11:37:34 +08:00
Ylarod
db600d5ea0
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
22b66b6672
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
06aaae1335
kernel: fix missing log tag (#117) 2023-01-25 22:24:00 +08:00
Ylarod
810087b2a7
kernel: bump version to 11 2023-01-25 21:55:47 +08:00
Ylarod
2f970f7ab8
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
5fb8316e46
ksud: update help and add default pkg name (#115) 2023-01-25 20:45:49 +08:00
Huy Minh
57806df17e
website : vi_VN : Update non-GKI integration translate (#116) 2023-01-25 20:45:35 +08:00
tiann
0857cf8835
ksud: minor tweaks 2023-01-25 19:01:51 +08:00
weishu
64d78c31bc
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
47a736f567
kernel: allow to change manager in debug mode (#111) 2023-01-25 14:50:44 +08:00
Ylarod
423f4aaf1f
kernel: add missing header (#110) 2023-01-24 22:32:16 +08:00
weishu
1d55c987a6 kernel: bump version to 10 2023-01-24 19:49:08 +07:00
weishu
e5044b4b6f kernel: selinux support add new type and add builtin unconstrained file type 2023-01-24 19:48:41 +07:00
weishu
fbd7d0f90d kernel: enable sucompat iff KPROBES enabled, close #100 2023-01-24 14:38:33 +07:00
セリカ・シルフィル
87d05fbbdc
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
1475a85c58
ksud: dummy mount stdout and stderr 2023-01-24 15:06:50 +08:00
tiann
b4bc2e66e6
ksud: auto resize image based on module size 2023-01-24 15:00:31 +08:00
tiann
780a42d823
ksud: dummy mount output 2023-01-24 13:28:06 +08:00
tiann
3ca9537d8a
ksud: retry for mount 2023-01-24 13:26:40 +08:00
Ylarod
4c28932c4c
kernel: run ksu_kprobe_init if build as module (#109) 2023-01-24 08:42:25 +08:00
Abhiram
6bccd757fd
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
00630cb4f3
manager: Add monochrome themed icon on Android 12+ (#104) 2023-01-23 10:26:12 +08:00
Ylarod
254d19f8a3
Revert "README: Added the information for the support of Linux 4.9 (#103)"
This reverts commit f8583fbef09e7f8bac244ec49527b34d38f58b18.
2023-01-22 13:11:33 +08:00
SlightlyLookAround
f8583fbef0
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
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
Huy Minh
c27302136c
Website : vi_VN : Capitalize "guide" in Vietnamese (#101) 2023-01-21 22:41:52 +08:00
Abhiram
fbbe2166e6
[skip ci] bump actions/upload-artifact to v3 (#99) 2023-01-21 20:35:28 +08:00
weishu
6e02cbde8a
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
aced1088f7
Update link to workflow page (#97) 2023-01-21 17:59:31 +08:00
Ylarod
ec41eec1a0
website: fix id_ID 2023-01-21 15:34:36 +08:00
Anggit Febriantoro
505b5ea767
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
08165211eb
website: update vi_VN translation 2023-01-21 14:54:12 +08:00
Huy Minh
ec0158e2e8
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
b7bed72c6d
website: fix typo 2023-01-20 21:24:09 +08:00
tiann
553b26c1cb
website: fix title 2023-01-20 21:10:26 +08:00
tiann
58dc00c17c
website: fix faq 2023-01-20 21:05:43 +08:00
tiann
e79e4fa05e
website: add faq 2023-01-20 21:02:55 +08:00
Ylarod
95ea1b2dfb
website: bump vitepress to 1.0.0-alpha.40 2023-01-20 21:00:10 +08:00
Ylarod
a408a46168
website: add favicon 2023-01-20 18:49:39 +08:00
Ylarod
bc539569e1
website: add missing c 2023-01-20 18:42:28 +08:00
Ylarod
7a275e8e2a
website: fixup 2023-01-20 18:40:47 +08:00
tiann
87fcfdf9e6
website: instruction for non gki build 2023-01-20 18:31:22 +08:00
tiann
664981628a
website: Add instruction for non gki build 2023-01-20 18:28:15 +08:00
Ylarod
a255a5e3c1
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
c252492a42 kernel: add __init for init funcs 2023-01-19 16:38:53 +07:00
秋秋
b328fd96bc
ci: fix WSA ccache (#85) 2023-01-19 17:36:31 +08:00
weishu
2844df865b kernel: use rename lsm hook 2023-01-19 16:34:21 +07:00
weishu
da377a9fa9 kernel: fix unused-variable 2023-01-19 13:54:42 +07:00
weishu
deac6163d6 kernel: 1. use prctl lsm hook; 2. refine sucompat hook 2023-01-19 13:31:55 +07:00