diff options
author | Josh Gao <jmgao@google.com> | 2016-03-08 15:27:15 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-03-09 14:56:37 -0800 |
commit | 61cf3f3e033d2d7d13b06e0ae009ff12db787860 (patch) | |
tree | 2f1cc24ed373d507ccfcf9f55651969b12c54a78 /libc/malloc_debug/malloc_debug.cpp | |
parent | 55dc0c5eea04b13465951ef0354f9541123b0f94 (diff) |
debuggerd: rethrow the full signal we receive, always.
The previous code assumed that returning would be sufficient to rethrow
signals like SIGSEGV. This is not true, for example, in the case where a
SIGSEGV is sent via kill(2). We were previously only sending the signal
to ourselves in some cases, because using kill(2) would lose information
in the siginfo_t argument. Use rt_tgsigqueueinfo(2) instead to preserve
its contents.
Bug: http://b/27367422
Change-Id: I1be822818d5905461979c7e12dc4e9c25049273b
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions