kernel: Reworking Dynamic Manager Index Configuration

This commit is contained in:
ShirkNeko
2025-09-06 15:06:10 +08:00
parent 41d21e994c
commit 067ced4a8c
6 changed files with 81 additions and 19 deletions

View File

@@ -142,7 +142,7 @@ int ksu_get_manager_signature_index(uid_t uid)
// Check traditional manager first
if (ksu_manager_uid != KSU_INVALID_UID && uid == ksu_manager_uid) {
return 1;
return DYNAMIC_SIGN_INDEX;
}
if (!ksu_is_dynamic_manager_enabled()) {