summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorSiddeswar Aluganti <salugant@codeaurora.org>2017-11-16 16:41:34 -0800
committerSoumil Shah <soumil_92@codeaurora.org>2017-12-21 19:23:54 -0800
commit7c638f79d11e3e8a42c39b26470812ffcb9a64eb (patch)
tree7f9fe7e60f91b0badb013458efb6cd4066d0195b /debuggerd/handler/debuggerd_handler.cpp
parentbf7c17ca53fa46fb451ff457ef904a3699ba460f (diff)
Workaround to get full backtrace when userspace dies.
Change-Id: I5f139a78558051b8b3a8887928cc7fe5df4df800
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
-rw-r--r--debuggerd/handler/debuggerd_handler.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/debuggerd/handler/debuggerd_handler.cpp b/debuggerd/handler/debuggerd_handler.cpp
index d6b6d58d8..5a2bb3f99 100644
--- a/debuggerd/handler/debuggerd_handler.cpp
+++ b/debuggerd/handler/debuggerd_handler.cpp
@@ -482,11 +482,6 @@ static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void* c
// and then wait for it to finish.
futex_wait(&thread_info.pseudothread_tid, child_pid);
- // Restore PR_SET_DUMPABLE to its original value.
- if (prctl(PR_SET_DUMPABLE, orig_dumpable) != 0) {
- fatal_errno("failed to restore dumpable");
- }
-
// Signals can either be fatal or nonfatal.
// For fatal signals, crash_dump will PTRACE_CONT us with the signal we
// crashed with, so that processes using waitpid on us will see that we