From 03cee0b8d4b1f44a5eac30c44d4d4032005f0658 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Tue, 14 Mar 2023 19:11:52 +0800 Subject: [PATCH] Remove meaningless umount in magiskinit This is no longer required since we redirect to /data/magiskinit --- native/src/init/twostage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/native/src/init/twostage.cpp b/native/src/init/twostage.cpp index 1d1599b61..2a484c786 100644 --- a/native/src/init/twostage.cpp +++ b/native/src/init/twostage.cpp @@ -34,7 +34,6 @@ void LegacySARInit::first_stage_prep() { bool SecondStageInit::prepare() { umount2("/init", MNT_DETACH); - umount2("/proc/self/exe", MNT_DETACH); unlink("/data/init"); // Make sure init dmesg logs won't get messed up