android_kernel_xiaomi_sm8350/arch/v850/kernel
Laurent MEYER d09042da72 [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes
- 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>
2006-06-23 07:43:05 -07:00
..
anna-rom.ld
anna.c
anna.ld
as85ep1-rom.ld
as85ep1.c
as85ep1.ld
asm-offsets.c
bug.c
entry.S
fpga85e2c.c
fpga85e2c.ld
gbus_int.c
head.S
highres_timer.c
init_task.c
intv.S
irq.c
ma.c
mach.c
mach.h
Makefile
me2.c
memcons.c
module.c
process.c [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
procfs.c
ptrace.c
rte_cb_leds.c
rte_cb_multi.c
rte_cb.c
rte_ma1_cb-rom.ld
rte_ma1_cb.c
rte_ma1_cb.ld
rte_mb_a_pci.c
rte_me2_cb.c
rte_me2_cb.ld
rte_nb85e_cb-multi.ld
rte_nb85e_cb.c
rte_nb85e_cb.ld
semaphore.c
setup.c
signal.c [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
sim85e2.c
sim85e2.ld
sim.c
sim.ld
simcons.c
syscalls.c
teg.c
time.c
v850_ksyms.c [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00
v850e2_cache.c
v850e_cache.c
v850e_intc.c
v850e_timer_d.c
v850e_utils.c
vmlinux.lds.S [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() 2006-03-20 13:42:58 -08:00