patch-1.3.26 linux/arch/i386/kernel/signal.c
Next file: linux/drivers/block/genhd.c
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Sep 11 14:40:15 1995
- Orig file:
v1.3.25/linux/arch/i386/kernel/signal.c
- Orig date:
Thu Sep 7 17:17:16 1995
diff -u --recursive --new-file v1.3.25/linux/arch/i386/kernel/signal.c linux/arch/i386/kernel/signal.c
@@ -156,7 +156,7 @@
"btrl %1,%0"
:"=m" (current->signal),"=r" (signr)
:"0" (current->signal), "1" (signr));
- sa = current->sigaction + signr;
+ sa = current->sig->action + signr;
signr++;
if ((current->flags & PF_PTRACED) && signr != SIGKILL) {
current->exit_code = signr;
@@ -172,7 +172,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)
@@ -194,7 +194,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();
@@ -235,7 +235,7 @@
eip = regs->eip;
frame = (unsigned long *) regs->esp;
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