diff options
author | Elliott Hughes <enh@google.com> | 2017-11-28 19:58:00 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-11-29 18:36:38 -0800 |
commit | 7bfacaabf250d8aed5de82e8091b3251bd8dd53f (patch) | |
tree | d7f131953ebc2112db639e19dad7f152faa7f155 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 0a25aa60a2a7cc6b681dd2e31321000cedbff77e (diff) |
Fix posix_spawn signal defaulting.
Add a new stress test, and fix the code to pass it. We need to ensure that
we reset signal handlers for caught signals before unblocking signals in
the child, we need to ensure that this happens even if you haven't passed
a pthread_spawn_attr_t, and we need to ensure that this happens if you
pass in an empty sigdefault set.
Bug: http://b/68707996
Test: ran tests
Change-Id: I348e9b17b1bdf221591da42c0ada133d98471d66
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions