/* Restart the system call the same way as
if the process were not traced. */
struct k_sigaction *ka =
- ¤t->sig->action[signr-1];
+ ¤t->sighand->action[signr-1];
int has_handler =
(ka->sa.sa_handler != SIG_IGN &&
ka->sa.sa_handler != SIG_DFL);
}
}
- ka = ¤t->sig->action[signr-1];
+ ka = ¤t->sighand->action[signr-1];
if (ka->sa.sa_handler == SIG_IGN) {
if (signr != SIGCHLD)
continue;
case SIGSTOP:
current->state = TASK_STOPPED;
current->exit_code = signr;
- if (!(current->parent->sig->action[SIGCHLD-1]
- .sa.sa_flags & SA_NOCLDSTOP))
+ if (!(current->parent->sighand->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDSTOP))
notify_parent(current, SIGCHLD);
schedule();
continue;