From: Tejun Heo Date: Wed, 23 Mar 2011 09:37:00 +0000 (+0100) Subject: ptrace: Kill tracehook_notify_jctl() X-Git-Tag: v3.0-rc1~382^2~17^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edf2ed153bcae52de70db00a98b0e81a5668e563;p=pandora-kernel.git ptrace: Kill tracehook_notify_jctl() tracehook_notify_jctl() aids in determining whether and what to report to the parent when a task is stopped or continued. The function also adds an extra requirement that siglock may be released across it, which is currently unused and quite difficult to satisfy in well-defined manner. As job control and the notifications are about to receive major overhaul, remove the tracehook and open code it. If ever necessary, let's factor it out after the overhaul. * Oleg spotted incorrect CLD_CONTINUED/STOPPED selection when ptraced. Fixed. Signed-off-by: Tejun Heo Cc: Oleg Nesterov Cc: Roland McGrath --- Reading git-diff-tree failed