Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
add openat hook
Browse files Browse the repository at this point in the history
  • Loading branch information
b14aa178 committed Apr 28, 2021
1 parent 00deb17 commit 14fb841
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.lsposed.lspatch.loader.util.XLog;
import org.lsposed.lspatch.loader.util.XpatchUtils;
import org.lsposed.lspatch.share.Constants;
import org.lsposed.lspd.nativebridge.SigBypass;
import org.lsposed.lspd.yahfa.hooker.YahfaHooker;

import java.io.IOException;
Expand Down Expand Up @@ -214,6 +215,9 @@ private static void doHook() throws IllegalAccessException, ClassNotFoundExcepti
if (fetchSigbypassLv() >= Constants.SIGBYPASS_LV_PM) {
byPassSignature();
}
if (fetchSigbypassLv() >= Constants.SIGBYPASS_LV_PM_OPENAT) {
SigBypass.enableOpenatHook();
}
}

private static int cacheSigbypassLv = -1;
Expand Down
2 changes: 1 addition & 1 deletion mmp
Submodule mmp updated from 773d6f to efe730

0 comments on commit 14fb841

Please sign in to comment.