From: Oleg Nesterov Date: Thu, 2 Apr 2009 23:58:18 +0000 (-0700) Subject: forget_original_parent: split out the un-ptrace part X-Git-Tag: v2.6.30-rc1~326 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c626ae47c469abdfd30c6e42eff884931380d6;p=pandora-kernel.git forget_original_parent: split out the un-ptrace part By discussion with Roland. - Rename ptrace_exit() to exit_ptrace(), and change it to do all the necessary work with ->ptraced list by its own. - Move this code from exit.c to ptrace.c - Update the comment in ptrace_detach() to explain the rechecking of the child->ptrace. Signed-off-by: Oleg Nesterov Cc: "Eric W. Biederman" Cc: "Metzger, Markus T" Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed