commit | 34a0c208e7f808270e3e2189ae1a198b3fa8ed2e | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Thu Apr 02 18:30:22 2015 -0700 |
committer | Dimitry Ivanov <dimitry@google.com> | Fri Apr 03 17:14:19 2015 +0000 |
tree | e4b9eb58f934ed04bf1a3a82499c78fa7452bcd7 | |
parent | a68a7cf8f3a6fef22d71a14350176115cb13857f [diff] |
Delegate SIG_DFL on sigaction to libc. In the case when user registers SIG_DFL hanlder sigchainlib's handler tends to go into infinite loop because the function handling signals resets signal using by calling to signchain's own implementation. This cl fixes the problem by passing sigcations with SIG_DFL to the next sigaction (usually libc's). Bug: 19594886 Change-Id: I9eecf9afd1c7e6d1fe3cd1d4fc506383ecbebe04