We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a64ec commit 9711950Copy full SHA for 9711950
kernel/core_hook.c
@@ -1299,14 +1299,13 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
1299
// filter the mountpoint whose target is `/data/adb`
1300
try_umount("/odm", true, 0);
1301
try_umount("/system", true, 0);
1302
- try_umount("/system_ext", true, 0);
1303
try_umount("/vendor", true, 0);
1304
try_umount("/product", true, 0);
+ try_umount("/system_ext", true, 0);
1305
try_umount("/data/adb/modules", false, MNT_DETACH);
1306
1307
// try umount ksu temp path
1308
try_umount("/debug_ramdisk", false, MNT_DETACH);
1309
- try_umount("/sbin", false, MNT_DETACH);
1310
1311
// try umount hosts file
1312
try_umount("/system/etc/hosts", false, MNT_DETACH);
0 commit comments