From 31fd0451d0d65d8706078373c884bccbb4c9934b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 5 Mar 2023 21:01:40 +0100 Subject: Made the Signal workaround more generic, so it can be used by Termux user --- src/libtools/signals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtools') diff --git a/src/libtools/signals.c b/src/libtools/signals.c index f8aa6cb8..0bb9767f 100755 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -847,7 +847,7 @@ void my_box64signalhandler(int32_t sig, siginfo_t* info, void * ucntx) #endif int Locks = unlockMutex(); uint32_t prot = getProtection((uintptr_t)addr); - #ifdef RK3588 + #ifdef BAD_SIGNAL // try to see if the si_code makes sense // the RK3588 tend to need a special Kernel that seems to have a weird behaviour sometimes if((sig==SIGSEGV) && (addr) && (info->si_code == 1) && prot&(PROT_READ|PROT_WRITE|PROT_EXEC)) { -- cgit 1.4.1