kernel: Greenlight the new prctl command

This commit is contained in:
ShirkNeko
2025-10-26 20:43:51 +08:00
parent f7fe0cf748
commit 324dc0844f
3 changed files with 2 additions and 19 deletions

View File

@@ -477,8 +477,7 @@ if (likely(ksu_is_current_proc_umounted())) { // prevent side channel attack in
}
#ifdef CONFIG_KSU_MANUAL_SU
is_manual_su_cmd = (arg2 == CMD_SU_ESCALATION_REQUEST ||
arg2 == CMD_ADD_PENDING_ROOT);
is_manual_su_cmd = (arg2 == CMD_SU_ESCALATION_REQUEST || arg2 == CMD_ADD_PENDING_ROOT || arg2 == CMD_GENERATE_AUTH_TOKEN );
#endif
// skip this private space support if uid below 100k