]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:59 +0000 (19:04 -0700)
commitf88bca8aef0e5fe3d68ed52528df359fa1711ab4
tree1cdd19f00c584a8800ce0d3a5530b78d1cbd6e56
parent656a9e90f00ee470da78574002094c0bbbea431a
ptrace: reintroduce __ptrace_detach() as a callee of ptrace_exit()

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>
kernel/exit.c