• Ingo Molnar's avatar
    [PATCH] signal failures in nightly LTP test · bbd9f14c
    Ingo Molnar authored
    On 13 Sep 2002, Paul Larson wrote:
    >
    > The nightly LTP test against the 2.5 kernel bk tree last night turned up
    > some test failures we don't normally see.  These failures did not show
    > up in the run from the previous night.
    
    [...]
    > I found what was breaking this, looks like it was this change from your
    > shared thread signals patch:
    > -	if (sig < 1 || sig > _NSIG ||
    > -	    (act && (sig == SIGKILL || sig == SIGSTOP)))
    > +	if (sig < 1 || sig > _NSIG || (act && sig_kernel_only(sig)))
    
    This fixes this bug and a number of others in the same class - the
    signal behavior bitmasks should never be consulted before making sure
    that the signal is in the word range.
    bbd9f14c
signal.c 44.3 KB