do not change dead_task->exit_signal
authorOleg Nesterov <oleg@redhat.com>
Wed, 22 Jun 2011 21:10:11 +0000 (23:10 +0200)
committerOleg Nesterov <oleg@redhat.com>
Mon, 27 Jun 2011 18:30:10 +0000 (20:30 +0200)
commitd4f7c511c1c2a67eb287987cf1ce9554149030e6
tree0756b300e8f558a923782a9ccea9a8b532e39159
parente550f14dc6322e794d4e70825f63c9c99177ae8b
do not change dead_task->exit_signal

__ptrace_detach() and do_notify_parent() set task->exit_signal = -1
to mark the task dead. This is no longer needed, nobody checks
exit_signal to detect the EXIT_DEAD task.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
kernel/ptrace.c
kernel/signal.c