Mount temp dir at /debug_ramdisk (#1226)

This commit is contained in:
Nullptr
2023-12-23 21:05:26 +08:00
committed by GitHub
parent 6472b14a59
commit 706cd1e73e
4 changed files with 23 additions and 0 deletions

View File

@@ -569,6 +569,7 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
try_umount("/vendor", true, 0);
try_umount("/product", true, 0);
try_umount("/data/adb/modules", false, MNT_DETACH);
try_umount("/debug_ramdisk", false, MNT_DETACH);
return 0;
}