From 9cdb7976f476b79b7d58701353448fd493f6da68 Mon Sep 17 00:00:00 2001 From: snake-4 <18491360+snake-4@users.noreply.github.com> Date: Sat, 17 Aug 2024 14:53:14 +0200 Subject: [PATCH] Removed mount ID regeneration --- module/jni/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/module/jni/main.cpp b/module/jni/main.cpp index 6a6e458..02f03e4 100644 --- a/module/jni/main.cpp +++ b/module/jni/main.cpp @@ -140,12 +140,6 @@ public: } doHideZygisk(); - - // [Why do we call unshare twice?] - // We call unshare twice to regenerate mount IDs. - // FDReopener handles the FD link problem mentioned in the unshare hook. - if (!new_mount_ns()) - return; }; }