sigismasked
if (sigismasked(p, SIGTTIN) ||
!sigismasked(p, SIGTTOU)) {
int sigismasked(struct proc *, int);