Commit Graph

59 Commits

Author SHA1 Message Date
Ylarod e9b90c0d05 ksud: add post_mount stage (#864) 2023-08-16 11:39:32 +08:00
weishu 836acc61c3 ksud: restore selinux context for unlabeled module files on boot. fix #817 2023-08-03 12:00:28 +08:00
weishu 99e3eb8adc ksud: don't follow link when restore file context 2023-08-03 12:00:28 +08:00
weishu 6eac1ad1fe ksud: support common & module boot-completed.sh 2023-07-31 19:50:53 +08:00
weishu cd23980358 ksud: fix common post-fs-data.d may not execute if no modules are enabled 2023-07-24 13:39:51 +08:00
weishu 33f357cb23 ksud: uninstall module at next boot. close #740 2023-07-11 21:25:51 +08:00
weishu f99e1406dd ci: fix rustfmt failed (#748) 2023-07-11 12:23:56 +08:00
weishu bec4c7f6de ksud: load profile sepolicy rules when boot 2023-07-01 16:50:10 +08:00
weishu ebef9da37b ksud: remove unused command 2023-07-01 15:31:53 +08:00
weishu 7ab0583a0d ksud: respect the skip_mount flag of module 2023-06-22 17:00:02 +08:00
5ec1cff 80dd192bbc ksud: fix bind mount failed again (#395)
This fixes https://github.com/Dr-TSNG/ZygiskOnKernelSU/issues/18
2023-04-17 12:05:13 +08:00
tiann ff585d4dc1 ksud: fix clippy 2023-04-16 22:14:53 +08:00
tiann 415c799040 ksud: catch bootlog when post-fs-data 2023-04-15 17:45:20 +08:00
5ec1cff 049736d6cb ksud: refactor module mount (#384) 2023-04-14 22:30:34 +08:00
tiann f46634bc07 ksud: add error context to log 2023-04-12 13:17:13 +08:00
tiann 5d9eacfdb5 ksud: don't umount stock overlayfs, just remount it 2023-04-11 16:24:02 +08:00
Ylarod cd069d8e31 ksud: ensure ksud context when install (#356)
Incorrect se context will make module system broken
2023-04-07 12:46:59 +08:00
Ylarod 8c93e03504 ksud: add /data/adb/ksu/bin to PATH (#343) 2023-04-05 11:47:35 +08:00
tiann f7783ce51f ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann 36e40746e6 ksud: Disable modules when magisk installed 2023-03-01 11:41:53 +08:00
tiann f64614b189 ksud: fix mount and remount order 2023-02-26 11:44:08 +08:00
tiann ab65cf27c2 Revert "ksud: make it buildable without git installed"
This reverts commit 677f8a9c44.
2023-02-24 11:53:04 +08:00
tiann 677f8a9c44 ksud: make it buildable without git installed 2023-02-24 11:41:39 +08:00
tiann 2bc1435f2a ksud: remove original file after copy 2023-02-22 00:08:18 +08:00
tiann c3c4a25996 ksud: copy file when rename failed 2023-02-21 23:52:04 +08:00
tiann 28b677da23 ksud: fmt 2023-02-21 20:24:10 +08:00
tiann 1fd381af13 ksud: restore stock mount after overlay mount. close #233 2023-02-21 20:22:00 +08:00
tiann cfc457fa10 ksud: fmt 2023-02-21 13:09:03 +08:00
tiann 4a66b0ce37 ksud: fix incorrect umask 2023-02-21 13:06:37 +08:00
tiann 3560b78c7c ksud: support module disable in safemode 2023-02-13 23:33:56 +08:00
tiann 30e7a71a9f ksud: fix vendor only overlay not working 2023-02-12 18:29:27 +08:00
tiann 3f24bb9251 ksud: Fix module operation order 2023-02-08 12:26:33 +08:00
tiann f2647c6469 ksud: Fix confliction with stock system overlayfs 2023-02-08 12:14:31 +08:00
tiann 465921260b ksud: don't mount module when in safe mode 2023-02-06 08:58:02 +08:00
skbeh 9e34996c3b ksud: fix issues found by clippy (#167)
These issues are mostly found by `cargo clippy -- -W clippy::pedantic`.
2023-02-03 09:45:07 +08:00
skbeh 5088703ec3 ksud: compress embed assets (#186) 2023-02-03 09:31:32 +08:00
tiann 3b4973dcaa ksud: opti module mount 2023-02-02 21:56:08 +08:00
tiann 207d12313b ksud: Fix module may mount failed 2023-02-02 14:02:02 +08:00
tiann 840294fa7e ksud: support common post-fs-data.d and service.d 2023-02-02 08:39:26 +08:00
tiann f3480d372e ksud: fix post-fs-data.sh and service.sh may be not executed 2023-02-01 20:28:38 +08:00
tiann 4c8681d52c ksud: use logcat log 2023-02-01 20:28:38 +08:00
tiann 9d192d5f2b ksud: make it compilable for non-android 2023-02-01 19:04:33 +08:00
tiann 3a29aa2135 ksud: some refactor 2023-02-01 18:33:38 +08:00
tiann 721c332901 ksud: format code 2023-02-01 17:59:16 +08:00
skbeh d163200127 kernel, ksud: collect binaries into /data/adb/ksu (#161) 2023-02-01 17:58:58 +08:00
tiann 82bc853ada ksud: support module sepolicy.rule 2023-01-31 21:58:59 +08:00
skbeh 783093384a ksud: replace some utils with rust libraries (#142) 2023-01-30 12:57:25 +08:00
tiann 5bad34458a ksud: fix broken /system/vendor when it is a symlink 2023-01-29 21:27:29 +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
tiann cd0227352a ksud: support ext partition overlay 2023-01-16 16:06:39 +08:00