linux/arch/m68k
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
..
amiga [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers 2006-01-12 09:09:05 -08:00
apollo [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup 2006-01-12 09:09:05 -08:00
atari [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers 2006-01-12 09:09:05 -08:00
bvme6000 [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
configs [PATCH] M68k: Mark Sun-3 NCR5380 SCSI broken 2005-06-12 20:43:22 -07:00
fpsp040 [PATCH] Add wording to m68k .S files to help clarify license info 2006-02-11 21:41:11 -08:00
hp300 [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup 2006-01-12 09:09:05 -08:00
ifpsp060 [PATCH] m68k: convert thread flags to use bit fields 2005-11-13 18:14:14 -08:00
kernel [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
lib [PATCH] m68k: clean up uaccess.h 2006-06-23 07:43:01 -07:00
mac [PATCH] m68k: m68k mac VIA2 fixes and cleanups 2006-06-23 07:43:01 -07:00
math-emu [PATCH] m68k: broken constraints on mulu.l 2006-01-12 09:09:01 -08:00
mm [PATCH] m68k: use proper defines for zone initialization 2006-06-23 07:43:01 -07:00
mvme16x [PATCH] RTC: Remove some duplicate BCD definitions 2006-03-28 09:16:01 -08:00
mvme147 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
q40 [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers 2006-01-12 09:09:05 -08:00
sun3 [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup 2006-01-12 09:09:05 -08:00
sun3x [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup 2006-01-12 09:09:05 -08:00
tools/amiga Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] M68k: Update defconfigs 2005-06-12 20:43:21 -07:00
Kconfig [PATCH] bitops: m68k: use generic bitops 2006-03-26 08:57:12 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00