kernel-ark/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.c [PARISC] Misc. janitorial work 2006-04-21 22:20:32 +00:00
drivers.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
entry.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
firmware.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
hardware.c [PARISC] Fix Dino reporting on J2240 2006-01-10 21:53:14 -05:00
head.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
hpmc.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00
inventory.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
irq.c [PARISC] Make redirecting irq messages less noisy 2005-11-17 16:29:50 -05:00
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pa7300lc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
pci.c [PARISC] Clean up compiler warning in pci.c 2006-01-22 20:26:43 -05:00
pdc_chassis.c [PARISC] Clarify pdc_stable license terms 2006-03-30 17:48:41 +00:00
pdc_cons.c [PARISC] Update pdc console from parisc tree 2005-10-21 22:50:06 -04:00
perf_asm.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
perf_images.h [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
perf.c [PARISC] I/O-Space must be ioremap_nocache()'d 2006-03-30 17:48:42 +00:00
process.c [PATCH] kill include/linux/platform.h, default_idle() cleanup 2006-03-24 07:33:21 -08:00
processor.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
ptrace.c [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
real2.S [PARISC] Properly specify section alignment for real2.S 2005-10-21 22:56:53 -04:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
signal32.c [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal32.h [PARISC] Arch-specific compat signals 2006-01-22 20:57:42 -05:00
signal.c [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
smp.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
sys32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_parisc32.c [PATCH] consolidate sys32/compat_adjtimex 2006-03-26 08:56:57 -08:00
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 [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
topology.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
traps.c [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
unaligned.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
unwind.c [PARISC] Add __read_mostly section for parisc 2006-01-10 20:35:03 -05:00
vmlinux.lds.S [PARISC] Further work for multiple page sizes 2006-04-21 22:20:34 +00:00