From bbb05b292aaebf674105ee7239ac612cedbfb88a Mon Sep 17 00:00:00 2001 From: rifsxd Date: Fri, 14 Feb 2025 19:45:19 +0600 Subject: [PATCH] kernel: do not umount modules by default --- kernel/allowlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index 443ce430..4c4924b5 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -76,8 +76,8 @@ static void init_default_profiles() default_root_profile.namespaces = 0; strcpy(default_root_profile.selinux_domain, KSU_DEFAULT_SELINUX_DOMAIN); - // This means that we will umount modules by default! - default_non_root_profile.umount_modules = true; + // This means that we will not umount modules by default! So the user needs to umount modules manually from manager. + default_non_root_profile.umount_modules = false; } struct perm_data {