forked from luck/tmp_suning_uos_patched
8efc0ab50e
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> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
break.S | ||
cmode.S | ||
debug-stub.c | ||
dma.c | ||
entry-table.S | ||
entry.S | ||
frv_ksyms.c | ||
futex.c | ||
gdb-io.c | ||
gdb-io.h | ||
gdb-stub.c | ||
head-mmu-fr451.S | ||
head-uc-fr401.S | ||
head-uc-fr451.S | ||
head-uc-fr555.S | ||
head.inc | ||
head.S | ||
init_task.c | ||
irq-mb93091.c | ||
irq-mb93093.c | ||
irq-mb93493.c | ||
irq-routing.c | ||
irq.c | ||
kernel_thread.S | ||
local.h | ||
Makefile | ||
pm-mb93093.c | ||
pm.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
sleep.S | ||
switch_to.S | ||
sys_frv.c | ||
sysctl.c | ||
time.c | ||
traps.c | ||
uaccess.c | ||
vmlinux.lds.S |