diff options
author | Roland McGrath <roland@redhat.com> | 2007-11-13 00:41:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-13 01:05:23 +0100 |
commit | 325d22df7b19e0116aff3391d3a03f73d0634ded (patch) | |
tree | 25a46ecf33feb35f243bfaeb36510892789ff8a8 /fs/ext2 | |
parent | nfsd4: recheck for secure ports in fh_verify (diff) | |
download | linux-325d22df7b19e0116aff3391d3a03f73d0634ded.tar.xz linux-325d22df7b19e0116aff3391d3a03f73d0634ded.zip |
sigwait eats blocked default-ignore signals
While a signal is blocked, it must be posted even if its action is
SIG_IGN or is SIG_DFL with the default action to ignore. This works
right most of the time, but is broken when a sigwait (rt_sigtimedwait)
is in progress. This changes the early-discard check to respect
real_blocked. ~blocked is the set to check for "should wake up now",
but ~(blocked|real_blocked) is the set for "blocked" semantics as
defined by POSIX.
This fixes bugzilla entry 9347, see
http://bugzilla.kernel.org/show_bug.cgi?id=9347
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions