kernel: Simplified manual SU command processing for code

This commit is contained in:
ShirkNeko
2025-10-27 15:14:35 +08:00
parent 1644f22c98
commit a21b18c5de
4 changed files with 117 additions and 86 deletions

View File

@@ -25,9 +25,7 @@
#define CMD_ENABLE_SU 15
#ifdef CONFIG_KSU_MANUAL_SU
#define CMD_SU_ESCALATION_REQUEST 50
#define CMD_ADD_PENDING_ROOT 51
#define CMD_GENERATE_AUTH_TOKEN 52
#define CMD_MANUAL_SU_REQUEST 50
#endif
#define CMD_GET_FULL_VERSION 0xC0FFEE1A