Reuse tmpfs for magic mount

As we already have a tmpfs (magisktmp), we can reuse them for
magic mount
This commit is contained in:
LoveSy
2023-01-20 03:46:35 +08:00
committed by John Wu
parent 3517e6d752
commit 4318ab5cd2
4 changed files with 26 additions and 16 deletions

View File

@@ -311,6 +311,7 @@ void MagiskInit::setup_tmp(const char *path) {
xmkdir(INTLROOT, 0755);
xmkdir(MIRRDIR, 0);
xmkdir(BLOCKDIR, 0);
xmkdir(WORKERDIR, 0);
mount_rules_dir();