diff options
author | John Reck <jreck@google.com> | 2015-05-15 07:47:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-05-15 07:48:33 -0700 |
commit | d7ad443cfd4e1315cdf45210bc94bb68e0564b8f (patch) | |
tree | 484dc4f2cb2b75cd0e335be6d392cd44d377e545 /linker | |
parent | 2a44cfbd7d64596795836e9ae6f6c642869d6d78 (diff) | |
download | bionic-d7ad443cfd4e1315cdf45210bc94bb68e0564b8f.zip bionic-d7ad443cfd4e1315cdf45210bc94bb68e0564b8f.tar.gz bionic-d7ad443cfd4e1315cdf45210bc94bb68e0564b8f.tar.bz2 |
Fix regression in crash reporting
Bug: 19532651
Partial revert of be0e43b77676338fd5e6a82c9cc2b6302d579de2
Change-Id: I99e220328aff985facb920ebcd84ac1a016759b5
Diffstat (limited to 'linker')
-rw-r--r-- | linker/debugger.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/linker/debugger.cpp b/linker/debugger.cpp index 357fbdc..46c97af 100644 --- a/linker/debugger.cpp +++ b/linker/debugger.cpp @@ -205,15 +205,6 @@ static bool have_siginfo(int signum) { } static void send_debuggerd_packet(siginfo_t* info) { - if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) { - // process has disabled core dumps and PTRACE_ATTACH, and does not want to be dumped. - // Honor that intention by not connecting to debuggerd and asking it - // to dump our internal state. - __libc_format_log(ANDROID_LOG_INFO, "libc", - "Suppressing debuggerd output because prctl(PR_GET_DUMPABLE)==0"); - return; - } - // Mutex to prevent multiple crashing threads from trying to talk // to debuggerd at the same time. static pthread_mutex_t crash_mutex = PTHREAD_MUTEX_INITIALIZER; |