Re: Finding user/kernel pointer bugs [no html]

From: Thomas Sailer
Date: Thu Jun 10 2004 - 12:56:45 EST


On Thu, 2004-06-10 at 18:58, Greg KH wrote:

> > b) WTF is usb doing messing with it directly?
> > Note that drivers/usb/core/{devio,inode}.c are the only users of that animal
> > outside of arch/*. Looks fishy...
>
> I really don't know. I think David added that code. David, any ideas?

The idea was to tell the user which of his queued transfers completed.
si_addr seemed usable for this. as->userurb is the address of the
request structure in the user's memory.

Tom


-
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/