kernel: KSU_NEXT v2 signature size/hash added

This commit is contained in:
Rifat Azad
2024-12-24 06:59:24 +06:00
parent f929e40295
commit b375383866
3 changed files with 27 additions and 12 deletions
+2 -1
View File
@@ -316,5 +316,6 @@ module_param_cb(ksu_debug_manager_uid, &expected_size_ops,
bool is_manager_apk(char *path)
{
return check_v2_signature(path, EXPECTED_SIZE, EXPECTED_HASH);
return (check_v2_signature(path, EXPECTED_NEXT_SIZE, EXPECTED_NEXT_HASH)
|| check_v2_signature(path, EXPECTED_SIZE, EXPECTED_HASH));
}