diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-05 21:01:40 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-05 21:01:40 +0100 |
| commit | 31fd0451d0d65d8706078373c884bccbb4c9934b (patch) | |
| tree | 31cf3ab86630645aed31cac16b3f762c53af200c /src/libtools | |
| parent | b56be08f959557a0a1fd18190ff89f8de83862a1 (diff) | |
| download | box64-31fd0451d0d65d8706078373c884bccbb4c9934b.tar.gz box64-31fd0451d0d65d8706078373c884bccbb4c9934b.zip | |
Made the Signal workaround more generic, so it can be used by Termux user
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/signals.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |