From d3e765333bace5b6a88d61c34577740137a41ff5 Mon Sep 17 00:00:00 2001 From: opa334 Date: Fri, 27 Dec 2024 22:01:13 +0100 Subject: [PATCH] Add flag to force disable forkfix rebind --- BaseBin/forkfix/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseBin/forkfix/src/main.c b/BaseBin/forkfix/src/main.c index 33d3b25e7..e87b2a210 100644 --- a/BaseBin/forkfix/src/main.c +++ b/BaseBin/forkfix/src/main.c @@ -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