Re: [PATCH] 2.4.0 i386 watchpoint problems

From: Andi Kleen (ak@suse.de)
Date: Fri Sep 22 2000 - 13:17:36 EST


On Fri, Sep 22, 2000 at 11:14:01AM -0700, Linus Torvalds wrote:
>
>
> On Fri, 22 Sep 2000, Andi Kleen wrote:
> >
> > The problem is that the !SI_FROMUSER check in bad_signal() does not work
> > properly, because SI_FROMUSER does not match the defined SI_* codes (it returns
> > true for kernel generated signals). The result is that it always looks at
> > current and what happens depends on the credentials of the current process
> > (= random)
>
> No. The current process is always the same one we send the signal to, so
> that test ends up being irrelevant.

Really ? I thought the original user wanted the signal to be sent to the
debugger (e.g. the idle process probably couldn't care less about hardware
breakpoints even when they hit in an interrupt handler which it is running)

-Andi

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:27 EST