Added remount function and changed bind mount...

prefix.
This commit is contained in:
snake-4
2024-04-14 16:23:38 +02:00
parent ac910f0ebe
commit 6e333581fb
2 changed files with 27 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ using zygisk::AppSpecializeArgs;
using zygisk::ServerSpecializeArgs;
void do_unmount();
void do_remount();
DCL_HOOK_FUNC(static int, unshare, int flags)
{
@@ -84,6 +85,7 @@ public:
}
do_unmount();
do_remount();
}
void preServerSpecialize(ServerSpecializeArgs *args) override