Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-4 committed Apr 9, 2024
1 parent 33a9ff9 commit c797376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/jni/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ZygiskModule : public zygisk::ModuleBase
* postAppSpecialize is after seccomp setup.
* So we unshare here to create an app mount namespace.
*/
if (unshare(CLONE_NEWNS) == -1)
if (old_unshare(CLONE_NEWNS) == -1)
{
LOGE("unshare(CLONE_NEWNS) returned -1: %d (%s)", errno, strerror(errno));
return;
Expand Down

0 comments on commit c797376

Please sign in to comment.