patch-2.1.51 linux/arch/m68k/kernel/signal.c
Next file: linux/arch/mips/Makefile
Previous file: linux/arch/m68k/kernel/ptrace.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Aug 16 09:51:07 1997
- Orig file:
v2.1.50/linux/arch/m68k/kernel/signal.c
- Orig date:
Tue May 13 22:41:02 1997
diff -u --recursive --new-file v2.1.50/linux/arch/m68k/kernel/signal.c linux/arch/m68k/kernel/signal.c
@@ -441,7 +441,7 @@
regs->pc -= 2;
}
}
- notify_parent(current);
+ notify_parent(current, SIGCHLD);
schedule();
if (!(signr = current->exit_code)) {
discard_frame:
@@ -489,7 +489,7 @@
current->exit_code = signr;
if (!(current->p_pptr->sig->action[SIGCHLD-1].sa_flags &
SA_NOCLDSTOP))
- notify_parent(current);
+ notify_parent(current, SIGCHLD);
schedule();
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov