]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47fb9b504c088e99610d29cb35cf68ff7b6dd314
tree21ddeaf029407a08a81843bf35aeb338b2d67dd7
parentab4e76c20fd0483caf175913e787dd70464f3fb3
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