kernel: Add the ability to manually elevate privileges for programs using prctl by specifying UID or PID.

This commit is contained in:
ShirkNeko
2025-09-28 19:33:08 +08:00
parent e552163d9e
commit 65d5d6a494
5 changed files with 172 additions and 0 deletions

View File

@@ -24,6 +24,8 @@
#define CMD_IS_SU_ENABLED 14
#define CMD_ENABLE_SU 15
#define CMD_SU_ESCALATION_REQUEST 50
#define CMD_GET_FULL_VERSION 0xC0FFEE1A
#define CMD_ENABLE_KPM 100