(PTY_OPEN): Use sigaction, not sigsetmask.