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
This commit is contained in:
Ylarod
2023-01-14 21:45:34 +08:00
committed by GitHub
parent 50f44fff9e
commit 5e77d1cd5b
5 changed files with 43 additions and 3 deletions

View File

@@ -299,6 +299,10 @@ int kernelsu_init(void)
{
int rc = 0;
#ifdef CONFIG_KSU_DEBUG
pr_alert("You are running DEBUG version of KernelSU");
#endif
ksu_allowlist_init();
rc = register_kprobe(&kp);