diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-07-30 15:54:29 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-07-30 15:54:29 +0300 |
commit | 2af136ce5a822e0b995bb8dd055092f842693d57 (patch) | |
tree | 8042da98cfc2588b309965240529ebe963a8e39a /src | |
parent | 507dcc03f21510232cc1e540256e0d66d3239921 (diff) |
libc: Handle THREAD_SIGNAL correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/libc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |