commit | fb539a48849fa31cc5b1f3eec40fd8f30cae982b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Mar 20 16:23:41 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Mar 23 20:09:08 2017 -0700 |
tree | d18b41d7f7b79d69301828eb41ec2adbcd155345 | |
parent | 904445581279b1e976dfbd8ad3a3379b74ee7789 [diff] |
sigchain: make SIG_DFL handling less broken. Abort with a message instead of reraising the signal, which will just reenter the signal handler when we return. Before the libsigchain rewrite, we would try to call SIG_IGN (i.e. 1) as a function, with no error reporting, this improves it to an error message. Bug: http://b/32631264 Bug: http://b/36262089 Test: none Change-Id: Ie0ba58b301dea48eaf3223a83883cd4af3d1576f