You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
kernel: remove unnecessary umount calls for configuration directories (evil modifications)
This commit is contained in:
@@ -648,12 +648,6 @@ int ksu_handle_setuid(struct cred *new, const struct cred *old)
|
||||
try_umount("/apex/com.android.art/bin/dex2oat64", false, MNT_DETACH);
|
||||
try_umount("/apex/com.android.art/bin/dex2oat32", false, MNT_DETACH);
|
||||
|
||||
// try umount misc configs
|
||||
try_umount("/system/etc", false, MNT_DETACH);
|
||||
try_umount("/product/etc", false, MNT_DETACH);
|
||||
try_umount("/system/etc/sysconfig", false, MNT_DETACH);
|
||||
try_umount("/product/etc/sysconfig", false, MNT_DETACH);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user