]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sigaction should clear all signals on SIG_IGN, not just < 32
authorGeorge Anzinger <george@mvista.com>
Sun, 8 Jan 2006 09:02:48 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:53 +0000 (20:13 -0800)
commit71fabd5e4835309b4feca6209122ce56c595c461
tree7d9467a4f9678d2271f82d48ec075a316cb1523f
parentb5f545c880a2a47947ba2118b2509644ab7a2969
[PATCH] sigaction should clear all signals on SIG_IGN, not just < 32

While rooting aroung in the signal code trying to understand how to fix the
SIG_IGN ploy (set sig handler to SIG_IGN and flood system with high speed
repeating timers) I came across what, I think, is a problem in sigaction()
in that when processing a SIG_IGN request it flushes signals from 1 to
SIGRTMIN and leaves the rest.  Attempt to fix this.

Signed-off-by: George Anzinger <george@mvista.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/signal.h
kernel/signal.c