kernel: Remove unsupported UID check from profile validation in allowlist.c
Co-authored-by: rsuntk <90097027+rsuntk@users.noreply.github.com>
This commit is contained in:
@@ -157,11 +157,6 @@ static bool profile_valid(struct app_profile *profile)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (forbid_system_uid(profile->current_uid)) {
|
|
||||||
pr_err("uid lower than 2000 is unsupported: %d\n", profile->current_uid);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (profile->version < KSU_APP_PROFILE_VER) {
|
if (profile->version < KSU_APP_PROFILE_VER) {
|
||||||
pr_info("Unsupported profile version: %d\n", profile->version);
|
pr_info("Unsupported profile version: %d\n", profile->version);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user