Commit Graph

17 Commits

Author SHA1 Message Date
weishu a9dd171f0d kernel: unify workqueue 2023-01-18 18:37:27 +07:00
weishu aa6ab8fcb9 kernel: don't use 0(root uid) as manager init uid 2023-01-17 13:49:30 +07:00
weishu 7da5189377 kernel: add uid observer, correctly prune uid allowlist when app is installed/uninstalled. 2023-01-17 12:44:38 +07:00
Ylarod 6ad3f47dbd [skip ci] minor fixup (#72)
1. update README_CN.md
2. indent fixup
2023-01-15 17:05:08 +08:00
Ylarod c4cfd45f2c kernel: add CONFIG_KSU_DEBUG (#19)
* Kconfig: add KSU_DEBUG

* print alert on debug mode

* allow shell by default

* store signature to var on debug mode

* format

* export as module_param

* rename apk_sign to kernelsu
2023-01-14 21:45:34 +08:00
weishu 95656d61ad misc: code format(use kernel code stype: https://www.kernel.org/doc/html/v6.1/process/coding-style.html 2022-12-27 18:21:10 +07:00
weishu 5f1d813635 kernel: add selinux rules for allowlist 2022-12-23 08:15:35 +07:00
weishu fa4362ddd6 kernel: avoding other root process being kprobed 2022-12-21 20:50:55 +07:00
weishu 5ccaa58448 kernel: fix compile errors & warnings on android13-5.15 gki 2022-12-20 10:51:40 +07:00
Nullptr 7194c7b3df Fix su file not found after su (#5) 2022-12-19 19:37:26 +08:00
weishu bb91686c3c kernel: load_allow_list when /data prepared 2022-12-15 16:06:07 +07:00
weishu 44af9c5d2b kernel: add su compat mode 2022-12-14 14:55:29 +07:00
weishu 84ebb6800a kernel: don't setenforce if kernel is already permissive 2022-12-12 22:19:17 +07:00
weishu 5fd16bd7cf kernel: fix selinux when load/save allowlist 2022-12-12 13:50:47 +07:00
weishu b1a33f869b kernel: make allowlist available cross boot 2022-12-12 11:17:51 +07:00
weishu c7af4720fc kernel: fmt 2022-12-11 22:00:44 +07:00
tiann 2f6031ad67 Init 2022-12-09 22:04:40 +08:00