summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-05-07 17:02:19 -0700
committerJosh Gao <jmgao@google.com>2020-05-12 01:42:18 -0700
commit53783514325872d274523642af4b80135a1a86ec (patch)
treee0d75d754e500242c79ff60b752542e66d7d9147 /libc/malloc_debug/malloc_debug.cpp
parentb47eeab23214c87970248d5c99931fd4cf0ca0a8 (diff)
Track whether a thread is currently vforked.
Our various fd debugging facilities get extremely confused by a vforked process closing file descriptors in preparation to exec: fdsan can abort, and fdtrack will delete backtraces for any file descriptors that get closed. Keep track of whether we're in a vforked child in order to be able to detect this. Bug: http://b/153926671 Test: 32/64-bit bionic-unit-tests on blueline, x86_64 emulator Change-Id: I8a082fd06bfdfef0e2a88dbce350b6f667f7df9f (cherry picked from commit 230328374018c7ca4e82a47ff4eb91dd2f79a5c3)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions