summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2018-04-03 20:46:11 -0700
committerRyan Prichard <rprichard@google.com>2018-04-03 21:57:24 -0700
commita1bc826c375c25a4b385fa724c580838635fa262 (patch)
tree19a43e95d30d81634330cd8cb9c6138ca427c3a6 /libc/malloc_hooks/malloc_hooks.cpp
parent6c3f97d2360ba1a2b2be160003fa3b4dd7b33ae1 (diff)
Fix race in spawn.signal_stress test
The default behavior for a real-time signal is to terminate the process. If the child we fork sends a SIGRTMIN signal before we've set up the ScopedSignalHandler for it, then the parent is terminated. Test: adb shell /data/nativetest64/bionic-unit-tests-static/bionic-unit-tests-static --gtest_filter=spawn.signal_stress --gtest_repeat=1000 Bug: b/77554047 Change-Id: Ib44cbea8ccf506644405d8f426d9ad24e77cfa33
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions