summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc.c b/src/libc.c
index 7d24275..9bc9b8f 100644
--- a/src/libc.c
+++ b/src/libc.c
@@ -202,6 +202,10 @@ bionic_sigaction(int sig, const struct bionic_sigaction *restrict act, struct bi
{
verbose("%d, %p, %p", sig, (void*)act, (void*)oact);
+ // THREAD_SIGNAL on android used by libbacktrace
+ if (sig == 33)
+ sig = SIGRTMIN;
+
struct sigaction goact = {0}, gact = {0};
if (act) {
gact.sa_handler = act->bsa_handler;