Skip to content

Commit e07c8af

Browse files
committed
kernel: core_hook: try_umount for odm
1 parent fb41f0b commit e07c8af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/core_hook.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
605605

606606
// fixme: use `collect_mounts` and `iterate_mount` to iterate all mountpoint and
607607
// filter the mountpoint whose target is `/data/adb`
608+
try_umount("/odm", true, 0);
608609
try_umount("/system", true, 0);
609610
try_umount("/vendor", true, 0);
610611
try_umount("/product", true, 0);

0 commit comments

Comments
 (0)