Skip to content

Commit 69ae3db

Browse files
aviraxpbackslashxx
authored andcommitted
Clean up umount targets (tiann#2386)
1 parent 0f30c83 commit 69ae3db

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
@@ -555,11 +555,11 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
555555
try_umount("/system", true, 0);
556556
try_umount("/vendor", true, 0);
557557
try_umount("/product", true, 0);
558+
try_umount("/system_ext", true, 0);
558559
try_umount("/data/adb/modules", false, MNT_DETACH);
559560

560561
// try umount ksu temp path
561562
try_umount("/debug_ramdisk", false, MNT_DETACH);
562-
try_umount("/sbin", false, MNT_DETACH);
563563

564564
return 0;
565565
}

0 commit comments

Comments
 (0)