d09042da72
- When setting a sighandler using sigaction() call, if the flag SA_ONSTACK is set and no alternate stack is provided via sigaltstack(), the kernel still try to install the alternate stack. This behavior is the opposite of the one which is documented in Single Unix Specifications V3. - Also when setting an alternate stack using sigaltstack() with the flag SS_DISABLE, the kernel try to install the alternate stack on signal delivery. These two use cases makes the process crash at signal delivery. Signed-off-by: Laurent Meyer <meyerlau@fr.ibm.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: David Howells <dhowells@redhat.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
alphanum.c | ||
asm-offsets.c | ||
dma.c | ||
early_printk.c | ||
entry.S | ||
fpu.c | ||
head.S | ||
init_task.c | ||
irq_intc.c | ||
irq.c | ||
led.c | ||
Makefile | ||
module.c | ||
pci_sh5.c | ||
pci_sh5.h | ||
pci-dma.c | ||
pcibios.c | ||
process.c | ||
ptrace.c | ||
semaphore.c | ||
setup.c | ||
sh_ksyms.c | ||
signal.c | ||
switchto.S | ||
sys_sh64.c | ||
syscalls.S | ||
time.c | ||
traps.c | ||
unwind.c | ||
vmlinux.lds.S |