x86: tracehook_signal_handler
authorRoland McGrath <roland@redhat.com>
Sat, 15 Mar 2008 00:46:38 +0000 (17:46 -0700)
committerRoland McGrath <roland@redhat.com>
Sat, 26 Jul 2008 21:37:59 +0000 (14:37 -0700)
commit36a033082b5243d45d508c5ccd47a754edbc6821
tree5713fa16a1681092936409e3a372c27421778555
parenta048d3aff8b828b6c0fa7ddd90a531248ab4e0f9
x86: tracehook_signal_handler

This makes the x86 signal handling code use tracehook_signal_handler() in
place of calling into ptrace guts.  The call is moved after the sa_mask
processing, but there is no other change.  This cleanup doesn't matter to
existing debuggers, but is the sensible thing: have all facets of the
handler setup complete before the debugger inspects the task again.

Signed-off-by: Roland McGrath <roland@redhat.com>
arch/x86/kernel/signal_32.c
arch/x86/kernel/signal_64.c