]> err.no Git - linux-2.6/commit
tracehook: tracehook_signal_handler
authorRoland McGrath <roland@redhat.com>
Sat, 26 Jul 2008 02:45:50 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:09 +0000 (12:00 -0700)
commitc45aea27617d6a1e0aacddc3b0233f704222fcbd
tree9406cbb5f3ca0029b2f6ef44a951fb7d21fe93f9
parentfa8e26ccd485216fc45c8c2dd1ec3b7ef1a0a2f8
tracehook: tracehook_signal_handler

This defines tracehook_signal_handler() as a hook for the arch signal
handling code to call.  It gives ptrace the opportunity to stop for a
pseudo-single-step trap immediately after signal handler setup is done.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/tracehook.h