mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-03 20:05:13 +00:00
core: use a new tmpfs as worker
This commit is contained in:
parent
849b284da5
commit
4fb539c110
@ -253,7 +253,7 @@ void MagiskInit::setup_tmp(const char *path) {
|
||||
chdir(path);
|
||||
|
||||
// Prepare worker
|
||||
xmount(WORKERDIR, WORKERDIR, nullptr, MS_BIND, nullptr);
|
||||
xmount("magisk", WORKERDIR, "tmpfs", 0, "mode=755");
|
||||
|
||||
// Use isolated devpts if kernel support
|
||||
if (access("/dev/pts/ptmx", F_OK) == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user