kernel: Add CONFIG_KSU_MANUAL_SU configuration

- Use random passphrase protection for manual su functionality
This commit is contained in:
ShirkNeko
2025-09-29 06:50:39 +08:00
parent a9a10466b3
commit 78e0dc6da2
7 changed files with 54 additions and 6 deletions

View File

@@ -24,8 +24,10 @@
#define CMD_IS_SU_ENABLED 14
#define CMD_ENABLE_SU 15
#ifdef CONFIG_KSU_MANUAL_SU
#define CMD_SU_ESCALATION_REQUEST 50
#define CMD_ADD_PENDING_ROOT 51
#endif
#define CMD_GET_FULL_VERSION 0xC0FFEE1A