]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ptrace: reintroduce __ptrace_detach() as a callee of ptrace_exit()
authorOleg Nesterov <oleg@redhat.com>
Thu, 2 Apr 2009 23:58:13 +0000 (16:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Jun 2009 16:40:19 +0000 (09:40 -0700)
commit64cd4669da13c829635f0b668a6bd546ee472e01
treebfc465a4dc8538b54bbb9d078795ae63c7e00d79
parent07325c8e8ed1eedb283941860cafb64fd60b46cd
ptrace: reintroduce __ptrace_detach() as a callee of ptrace_exit()

commit b1b4c6799fb59e710454bfe0ab477cb8523a8667 upstream.

No functional changes, preparation for the next patch.

Move the "should we release this child" logic into the separate handler,
__ptrace_detach().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/exit.c