Clean up umount targets (#2386)

This commit is contained in:
Wang Han
2025-01-27 19:35:33 +08:00
committed by GitHub
parent 1998dbcb55
commit 7a71da057e

View File

@@ -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;
}