diff options
author | Josh Gao <jmgao@google.com> | 2017-01-20 12:51:11 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-01-20 12:55:07 -0800 |
commit | 42fd74bd1f95356732ccd9f3e7ec2befd194fb32 (patch) | |
tree | 1569a3ba10a350249bb81bc657a62cb3be32630e /debuggerd/handler/debuggerd_handler.cpp | |
parent | 1e7cdf3c7d2733f71a659c215100876168162083 (diff) |
crash_dump: don't abort if we fail to attach a sibling.
A TOCTOU race can occur between listing threads and attaching them.
Don't abort and leave the process in a stopped state when this happens.
Bug: http://b/34472671
Test: while true; do debuggerd -b `pidof audioserver`; done
Change-Id: Ib1632c3423fddf506b5c7874223c82fada78a85e
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions