diff options
author | Josh Gao <jmgao@google.com> | 2019-01-22 22:53:49 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-01-24 13:21:18 -0800 |
commit | ba40ff657f841c685d220ebdecbe8ba2c2ab1a8a (patch) | |
tree | 68d78c01718b37055199b5bd936c137cde7eb530 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 3ce06c7b0ad60cafece0fedd2cf88340eb6a6c22 (diff) |
Don't filter reserved signals in sigaction.
If a signal handler is blocking all of their signals, we should
probably respect that and not silently unblock bionic's reserved
signals for them. Otherwise, user code can deadlock, run out of stack,
etc. through no fault of their own, if one of the reserved signals
comes in while they've pivoted onto their signal stack.
Bug: http://b/122939726
Test: treehugger
Change-Id: I6425a3e7413edc16157b35dffe632e1ab1d76618
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions