From 65cf6ac63226ad51fc6d8ccc6e27634291981ea7 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Thu, 12 Jun 2025 15:54:55 +0800 Subject: [PATCH] kernel: Remove unsupported UID check from profile validation in allowlist.c Co-authored-by: rsuntk <90097027+rsuntk@users.noreply.github.com> --- kernel/allowlist.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index c0b16c18..0c29e803 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -157,11 +157,6 @@ static bool profile_valid(struct app_profile *profile) 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) { pr_info("Unsupported profile version: %d\n", profile->version); return false;