81a3857 Deduplicated sigaction() boilerplate (Thomas Snider)
Tree-SHA512: 705b73f285a3d76504ba01476e072fdce67731b65f309bb04e4bbd765556c37e127cb769b475de2d68b33f50d7737fb136aefa0fa7c725a11ad16a47b9d0365f
Backport Core PR 10057
https://github.com/bitcoin/bitcoin/pull/10057/files