Skip to content

Commit 0b29cf2

Browse files
aviraxpLeCmnGend
authored andcommitted
Clean up umount targets (tiann#2386) +
1 parent dacf702 commit 0b29cf2

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
@@ -960,11 +960,11 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
960960
ksu_try_umount("/system", true, 0);
961961
ksu_try_umount("/vendor", true, 0);
962962
ksu_try_umount("/product", true, 0);
963+
ksu_try_umount("/system_ext", true, 0);
963964
ksu_try_umount("/data/adb/modules", false, MNT_DETACH);
964965

965966
// try umount ksu temp path
966967
ksu_try_umount("/debug_ramdisk", false, MNT_DETACH);
967-
ksu_try_umount("/sbin", false, MNT_DETACH);
968968
#endif
969969

970970
return 0;

0 commit comments

Comments
 (0)