diff options
author | Josh Gao <jmgao@google.com> | 2020-05-07 17:02:19 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-05-07 19:44:27 -0700 |
commit | 230328374018c7ca4e82a47ff4eb91dd2f79a5c3 (patch) | |
tree | c607e4accae1eb4fd8b72cd22cd69e4a3308fe6b /linker/linker_translate_path.cpp | |
parent | 4d0c40be89976f4713eb54957327306033bcbc07 (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
Diffstat (limited to 'linker/linker_translate_path.cpp')
0 files changed, 0 insertions, 0 deletions