signal: Switch from signal() to sigaction.