patch-1.3.26 linux/arch/alpha/kernel/signal.c
Next file: linux/arch/i386/config.in
Previous file: linux/arch/alpha/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed Sep 13 10:08:38 1995
- Orig file:
v1.3.25/linux/arch/alpha/kernel/signal.c
- Orig date:
Sun Sep 3 12:26:49 1995
diff -u --recursive --new-file v1.3.25/linux/arch/alpha/kernel/signal.c linux/arch/alpha/kernel/signal.c
@@ -229,7 +229,7 @@
while ((signr = current->signal & mask) != 0) {
signr = ffz(~signr);
clear_bit(signr, ¤t->signal);
- sa = current->sigaction + signr;
+ sa = current->sig->action + signr;
signr++;
if ((current->flags & PF_PTRACED) && signr != SIGKILL) {
current->exit_code = signr;
@@ -246,7 +246,7 @@
current->signal |= _S(signr);
continue;
}
- sa = current->sigaction + signr - 1;
+ sa = current->sig->action + signr - 1;
}
if (sa->sa_handler == SIG_IGN) {
if (signr != SIGCHLD)
@@ -268,7 +268,7 @@
continue;
current->state = TASK_STOPPED;
current->exit_code = signr;
- if (!(current->p_pptr->sigaction[SIGCHLD-1].sa_flags &
+ if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags &
SA_NOCLDSTOP))
notify_parent(current);
schedule();
@@ -315,7 +315,7 @@
pc = regs->pc;
frame = (struct sigcontext_struct *) rdusp();
signr = 1;
- sa = current->sigaction;
+ sa = current->sig->action;
for (mask = 1 ; mask ; sa++,signr++,mask += mask) {
if (mask > handler_signal)
break;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this