Re: [PATCH] x86 handle_vm86_trap cleanup

From: Ingo Molnar
Date: Sat Mar 22 2008 - 07:17:53 EST



* Roland McGrath <roland@xxxxxxxxxx> wrote:

> > for the record, this also changes semantics, because previously we'd
> > permanently unblock SIGTRAP (most certainly as a hack, to be able to
> > do the send_sig()), while now we use force_sig() which just ignores
> > the blocked mask. (and i agree with your fix of course)
>
> That's not so. force_sig_info (called by force_sig) removes the
> signal from the blocked set too. That is the only way to get the
> signal ever to be dequeued.

ah, indeed, i missed that :)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/