From 7a71da057ec3c9ba03c3ebb538343a6565d7a239 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Mon, 27 Jan 2025 19:35:33 +0800 Subject: [PATCH] Clean up umount targets (#2386) --- kernel/core_hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 12ee8159..95859e04 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -546,11 +546,11 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old) try_umount("/system", true, 0); try_umount("/vendor", true, 0); try_umount("/product", true, 0); + try_umount("/system_ext", true, 0); try_umount("/data/adb/modules", false, MNT_DETACH); // try umount ksu temp path try_umount("/debug_ramdisk", false, MNT_DETACH); - try_umount("/sbin", false, MNT_DETACH); return 0; }