On Mon, Nov 29, 2004 at 06:42:11PM +0100, Manfred Spraul wrote: > So the USB layer overwrites current->pid? Are you sure? > > The actual test is > #define CHECK_OWNERSHIP(effect) (current->pid == 0 \ > || effect.owner == current->pid) > > Note that it's current->pid==0, not effect.owner==0.
Sorry, that was selective blindness on my side. I did indeed read effect.owner instead of current->pid. As for the current->pid check, I suppose it's superfluous. -- Vojtech Pavlik SuSE Labs, SuSE CR ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel