kernel: Add functionality to generate and validate authentication tokens for cmd_su

This commit is contained in:
ShirkNeko
2025-10-26 19:54:20 +08:00
parent 1ea6af52a0
commit 1b0f96cc70
4 changed files with 222 additions and 59 deletions

View File

@@ -27,6 +27,7 @@
#ifdef CONFIG_KSU_MANUAL_SU
#define CMD_SU_ESCALATION_REQUEST 50
#define CMD_ADD_PENDING_ROOT 51
#define CMD_GENERATE_AUTH_TOKEN 52
#endif
#define CMD_GET_FULL_VERSION 0xC0FFEE1A