mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-21 15:48:30 +00:00
Make worker private
This commit is contained in:
parent
4ed9f57fdc
commit
da36e5bcd5
@ -47,6 +47,7 @@ static void mount_mirrors() {
|
|||||||
LOGI("* Prepare worker\n");
|
LOGI("* Prepare worker\n");
|
||||||
auto worker_dir = MAGISKTMP + "/" WORKERDIR;
|
auto worker_dir = MAGISKTMP + "/" WORKERDIR;
|
||||||
xmount("worker", worker_dir.data(), "tmpfs", 0, "mode=755");
|
xmount("worker", worker_dir.data(), "tmpfs", 0, "mode=755");
|
||||||
|
xmount(nullptr, worker_dir.data(), nullptr, MS_PRIVATE, nullptr);
|
||||||
|
|
||||||
LOGI("* Mounting mirrors\n");
|
LOGI("* Mounting mirrors\n");
|
||||||
// recursively bind mount / to mirror dir
|
// recursively bind mount / to mirror dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user