Allow toggling unmount setting for all apps (#2450)

This fixes https://github.com/tiann/KernelSU/issues/2416.
This commit is contained in:
Wang Han
2025-02-18 11:07:52 +08:00
committed by rifsxd
parent 42896dfab1
commit a89985f33e
3 changed files with 9 additions and 7 deletions

View File

@@ -155,11 +155,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;