mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05: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");
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user