Commit Graph

13 Commits

Author SHA1 Message Date
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