Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.

Commit

Permalink
Clean up umount targets (tiann#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraxp authored and rcmiku committed Jan 28, 2025
1 parent 82691fe commit d4bde33
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 @@ -554,11 +554,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 d4bde33

Please sign in to comment.