linux/arch/arm/kernel
Steven Rostedt 69be8f1896 [PATCH] convert signal handling of NODEFER to act like other Unix boxes.
It has been reported that the way Linux handles NODEFER for signals is
not consistent with the way other Unix boxes handle it.  I've written a
program to test the behavior of how this flag affects signals and had
several reports from people who ran this on various Unix boxes,
confirming that Linux seems to be unique on the way this is handled.

The way NODEFER affects signals on other Unix boxes is as follows:

1) If NODEFER is set, other signals in sa_mask are still blocked.

2) If NODEFER is set and the signal is in sa_mask, then the signal is
still blocked. (Note: this is the behavior of all tested but Linux _and_
NetBSD 2.0 *).

The way NODEFER affects signals on Linux:

1) If NODEFER is set, other signals are _not_ blocked regardless of
sa_mask (Even NetBSD doesn't do this).

2) If NODEFER is set and the signal is in sa_mask, then the signal being
handled is not blocked.

The patch converts signal handling in all current Linux architectures to
the way most Unix boxes work.

Unix boxes that were tested:  DU4, AIX 5.2, Irix 6.5, NetBSD 2.0, SFU
3.5 on WinXP, AIX 5.3, Mac OSX, and of course Linux 2.6.13-rcX.

* NetBSD was the only other Unix to behave like Linux on point #2. The
main concern was brought up by point #1 which even NetBSD isn't like
Linux.  So with this patch, we leave NetBSD as the lonely one that
behaves differently here with #2.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-29 10:03:11 -07:00
..
apm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
armksyms.c [PATCH] ARM: 2791/1: Add CRCs for aliased ARM symbols 2005-07-06 23:06:05 +01:00
arthur.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-offsets.c [PATCH] ARM: pt_regs offsets 2005-04-26 15:18:59 +01:00
bios32.c [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
calls.S [ARM] Add syscall stubs for inotify and ioprio system calls 2005-08-15 10:57:08 +01:00
compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma-isa.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ecard.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
entry-armv.S [ARM SMP] Clear the exclusive monitor on ARMv6 CPUs on context switch 2005-08-10 14:52:52 +01:00
entry-common.S [PATCH] ARM: make entry*.S includes more logical 2005-04-26 15:21:02 +01:00
entry-header.S [PATCH] ARM SMP: convert alignment enable 2005-05-31 18:02:00 +01:00
fiq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.S [PATCH] ARM: Make the magic values in head.S more obvious 2005-07-01 11:56:55 +01:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c [PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4 2005-06-25 19:39:45 +01:00
isa.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iwmmxt.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] ARM: Remove obsolete arch/arm/kernel/arch.c 2005-06-20 12:56:40 +01:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
ptrace.c [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
ptrace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] ARM: Change 'param_offset' to 'boot_params' 2005-07-04 10:43:36 +01:00
signal.c [PATCH] convert signal handling of NODEFER to act like other Unix boxes. 2005-08-29 10:03:11 -07:00
signal.h [PATCH] ARM: Move signal return code into vector page 2005-06-22 20:26:05 +01:00
smp.c [ARM SMP] Ensure secondary CPUs have a clean TLB 2005-07-28 20:32:47 +01:00
sys_arm.c [PATCH] ARM: Fix kernel stack offset calculations 2005-05-05 13:11:00 +01:00
time.c [PATCH] ARM: Add VST idle loop call 2005-06-27 14:04:05 +01:00
traps.c [PATCH] qualifiers in return types - easy cases 2005-08-23 18:43:45 -07:00
vmlinux.lds.S [PATCH] ARM: Fix kernel stack offset calculations 2005-05-05 13:11:00 +01:00