From da36e5bcd5076a7403692e287aa02acb05ccc03b Mon Sep 17 00:00:00 2001 From: LoveSy Date: Thu, 2 Mar 2023 16:12:13 +0800 Subject: [PATCH] Make worker private --- native/src/core/bootstages.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/src/core/bootstages.cpp b/native/src/core/bootstages.cpp index eeea7aafb..cf3041974 100644 --- a/native/src/core/bootstages.cpp +++ b/native/src/core/bootstages.cpp @@ -47,6 +47,7 @@ static void mount_mirrors() { LOGI("* Prepare worker\n"); auto worker_dir = MAGISKTMP + "/" WORKERDIR; xmount("worker", worker_dir.data(), "tmpfs", 0, "mode=755"); + xmount(nullptr, worker_dir.data(), nullptr, MS_PRIVATE, nullptr); LOGI("* Mounting mirrors\n"); // recursively bind mount / to mirror dir