Skip to content

Commit

Permalink
Removed mount ID regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-4 committed Aug 17, 2024
1 parent 6172b38 commit 9cdb797
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions module/jni/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ class ZygiskModule : public zygisk::ModuleBase
}

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;
};
}

Expand Down

0 comments on commit 9cdb797

Please sign in to comment.