Make sigreturn processing slightly less special-case-y.