diff options
author | David Howells <dhowells@redhat.com> | 2006-01-06 00:11:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:33 -0800 |
commit | 8efc0ab50edbac5c65191b8a58dfdab3741b7901 (patch) | |
tree | 3598a874f715e89d475a9bc8a435a1096f19c58d /arch/frv/kernel/sleep.S | |
parent | 7ee1dd3fee22f15728f545d266403fc977e1eb99 (diff) | |
download | op-kernel-dev-8efc0ab50edbac5c65191b8a58dfdab3741b7901.zip op-kernel-dev-8efc0ab50edbac5c65191b8a58dfdab3741b7901.tar.gz |
[PATCH] frv: fix signal handling
The attached patch makes FRV signal handling work properly:
(1) After do_notify_resume() has been called, the work flags must be checked
again (there may be another signal to deliver or the process might require
rescheduling for instance).
(2) After the signal frame is set up on the userspace stack, ptrace() should
be given an opportunity to single-step into the signal handler.
(3) The error state from setting up a signal frame should be passed back up
the call chain.
(4) The segfault handler shouldn't be preemptively reset in the arch if we
fail to deliver a SEGV signal: force_sig() will take care of that.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv/kernel/sleep.S')
0 files changed, 0 insertions, 0 deletions