Skip to content

Commit

Permalink
Clean up umount targets (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraxp authored Jan 27, 2025
1 parent 1998dbc commit 7a71da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/core_hook.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7a71da0

Please sign in to comment.