Skip to content

Commit

Permalink
Add flag to force disable forkfix rebind
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Dec 27, 2024
1 parent 5e36ba8 commit d3e7653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseBin/forkfix/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void apply_fork_hook(void)
__attribute__((constructor)) static void initializer(void)
{
#ifdef __arm64e__
if (__builtin_available(iOS 16.0, *)) { /* fall through */ }
if (__builtin_available(iOS 16.0, *) || getenv("FORKFIX_DISABLE_REBIND")) { /* fall through */ }
else if (fork_reimpl_init(forkfix___fork)) return;
#endif

Expand Down

0 comments on commit d3e7653

Please sign in to comment.