ptrace_signal subroutine
authorRoland McGrath <roland@redhat.com>
Fri, 18 Apr 2008 01:44:38 +0000 (18:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Apr 2008 15:17:57 +0000 (08:17 -0700)
commit18c98b65279c00c3c983a4525161207f1aa6a04b
tree21ddeaf029407a08a81843bf35aeb338b2d67dd7
parent0e04388f0189fa1f6812a8e1cb6172136eada87e
ptrace_signal subroutine

This breaks out the ptrace handling from get_signal_to_deliver into a
new subroutine.  The actual code there doesn't change, and it gets
inlined into nearly identical compiled code.  This makes the function
substantially shorter and thus easier to read, and it nicely isolates
the ptrace magic.

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c