summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-05-04 17:12:57 -0700
committerJosh Gao <jmgao@google.com>2017-05-10 17:30:00 -0700
commit92abfb41f3c96272268c065029275b39297d82a7 (patch)
tree0e20c1ca01f9674f38a683eef6c2d1f3297f28c0 /trusty/coverage/coverage.cpp
parent5f68b422bd26a2f017bd72b2796967952e07b30d (diff)
debuggerd_handler: use syscall(__NR_get[pt]id) instead of get[pt]id.
bionic's cached values for getpid/gettid can be invalid if the crashing process manually invoked clone to create a thread or process, which will lead the crash_dump refusing to do anything, because it sees the actual values. Use the getpid/gettid syscalls directly to ensure correct values on this end. Bug: http://b/37769298 Test: debuggerd_test Change-Id: I0b1e652beb1a66e564a48b88ed7fa971d61c6ff9 (cherry picked from commit 2e7b8e2d1aff139895127a93c020bddb98a0f26e)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions