https://github.com/torvalds/linux
Revision b1daec3089a129a67169d3ae975985a7480fe17f authored by Chuck Ebbert on 24 August 2005, 01:36:40 UTC, committed by Linus Torvalds on 24 August 2005, 02:52:37 UTC
i386 floating-point exception handling has a bug that can cause error
code 0 to be sent instead of the proper code during signal delivery.

This is caused by unconditionally checking the IS and c1 bits from the
FPU status word when they are not always relevant.  The IS bit tells
whether an exception is a stack fault and is only relevant when the
exception is IE (invalid operation.) The C1 bit determines whether a
stack fault is overflow or underflow and is only relevant when IS and IE
are set.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 11532cc
History
Tip revision: b1daec3089a129a67169d3ae975985a7480fe17f authored by Chuck Ebbert on 24 August 2005, 01:36:40 UTC
[PATCH] i386: fix incorrect FP signal code
Tip revision: b1daec3

README

back to top