summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-01-13 17:57:14 -0800
committerJosh Gao <jmgao@google.com>2016-01-14 15:06:37 -0800
commit7c89f9e955ddd79312113f83cb4c210a68a940aa (patch)
treed9d7660fe4e280ee2fb395ae3300cb2860ac04dc /libutils/ProcessCallStack.cpp
parent047597b3fc345ee657ff1f00ad87521cf4ae455f (diff)
debuggerd: fix several bugs caused by fork/setuid change.
Previously, we weren't PTRACE_ATTACHing to all of the threads of a process, and we were also trying to do it after forking and dropping privileges. This patch ensures that all ptrace attaching/detaching happens in one place, before forking/exiting respectively. Bug: http://b/26443860 Bug: http://b/26436605 Bug: http://b/26436486 Change-Id: Id94e0c1d9d56c051d0dd281d895aaa3285079198
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions