android_kernel_xiaomi_sm8350/arch/parisc/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
..
asm-offsets.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
binfmt_elf32.c
cache.c [PARISC] Misc. janitorial work 2006-04-21 22:20:32 +00:00
drivers.c
entry.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
firmware.c
hardware.c
head.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
hpmc.S
init_task.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
inventory.c
irq.c
Makefile
module.c
pa7300lc.c
pacache.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
parisc_ksyms.c [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00
pci-dma.c
pci.c
pdc_chassis.c
pdc_cons.c
perf_asm.S
perf_images.h
perf.c [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
process.c
processor.c
ptrace.c
real2.S
semaphore.c
setup.c
signal32.c
signal32.h
signal.c [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
smp.c
sys32.h
sys_parisc32.c
sys_parisc.c [PARISC] Add new entries to the syscall table 2006-04-21 22:20:35 +00:00
syscall_table.S [PARISC] Add new entries to the syscall table 2006-04-21 22:20:35 +00:00
syscall.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
time.c
topology.c
traps.c
unaligned.c
unwind.c
vmlinux.lds.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00