[PATCH] fix ->signal->live leak in copy_process()
authorOleg Nesterov <oleg@tv-sign.ru>
Sat, 29 Oct 2005 15:37:40 +0000 (19:37 +0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Oct 2005 17:28:13 +0000 (10:28 -0700)
commit8d027de54c77d38eedc9b331c7a2a39807d34691
treecfa290c7ca6b63f33b2b4624695596f38bcda2fd
parent47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929
[PATCH] fix ->signal->live leak in copy_process()

exit_signal() (called from copy_process's error path) should decrement
->signal->live, otherwise forking process will miss 'group_dead' in
do_exit().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c