kernel-ark/arch/i386/kernel
Roland McGrath 7c1def1652 [PATCH] i386: never block forced SIGSEGV
This problem was first noticed on PPC and has already been fixed there.
But the exact same issue applies to other platforms in the same way.  The
signal blocking for sa_mask and the handled signal takes place after the
handler setup.  When the stack is bogus, the handler setup forces a
SIGSEGV.  But then this will be blocked, and returning to user mode will
fault again and iterate.  This patch fixes the problem by checking whether
signal handler setup failed, and not doing the signal-blocking if so.  This
copies what was done in the ppc code.  I think all architectures' signal
handler setup code follows this pattern and needs the change.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-23 09:45:09 -07:00
..
acpi
cpu [CPUFREQ] Typos. 2005-05-31 19:03:52 -07:00
timers [PATCH] Platform SMIs and their interferance with tsc based delay calibration 2005-06-23 09:45:08 -07:00
apic.c
apm.c [PATCH] apm.c: ignore_normal_resume is set a bit too late 2005-06-14 07:19:35 -07:00
asm-offsets.c
bootflag.c
cpuid.c [PATCH] class: convert arch/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
dmi_scan.c
doublefault.c
early_printk.c
efi_stub.S
efi.c
entry.S
head.S
i386_ksyms.c
i387.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c
kprobes.c
ldt.c
Makefile [PATCH] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time 2005-06-08 16:21:13 -07:00
mca.c
microcode.c
module.c
mpparse.c
msr.c [PATCH] class: convert arch/* to use the new class api instead of class_simple 2005-06-20 15:15:09 -07:00
nmi.c
numaq.c
pci-dma.c
process.c
ptrace.c
quirks.c
reboot_fixups.c
reboot.c
scx200.c
semaphore.c
setup.c [PATCH] sparsemem memory model for i386 2005-06-23 09:45:05 -07:00
sigframe.h
signal.c [PATCH] i386: never block forced SIGSEGV 2005-06-23 09:45:09 -07:00
smp.c
smpboot.c
srat.c
summit.c
sys_i386.c
syscall_table.S [PATCH] VM: early zone reclaim 2005-06-21 18:46:14 -07:00
sysenter.c
time_hpet.c
time.c
trampoline.S
traps.c [PATCH] smp_processor_id() cleanup 2005-06-21 18:46:13 -07:00
vm86.c
vmlinux.lds.S
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S
vsyscall.S