Skip to content

Commit 7a71da0

Browse files
authored
Clean up umount targets (#2386)
1 parent 1998dbc commit 7a71da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/core_hook.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,11 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
546546
try_umount("/system", true, 0);
547547
try_umount("/vendor", true, 0);
548548
try_umount("/product", true, 0);
549+
try_umount("/system_ext", true, 0);
549550
try_umount("/data/adb/modules", false, MNT_DETACH);
550551

551552
// try umount ksu temp path
552553
try_umount("/debug_ramdisk", false, MNT_DETACH);
553-
try_umount("/sbin", false, MNT_DETACH);
554554

555555
return 0;
556556
}

0 commit comments

Comments
 (0)