On Sat, Mar 27, 2004 at 10:44:05PM -0800, Greg KH wrote:
> On Sat, Mar 27, 2004 at 10:38:48PM -0800, Andrew Morton wrote:
> > > > The upshot is that the directory has this persistent dentry for a
> > > > nonexistent file, so it doesn't get released, so it doesn't drop its
> > > > reference to its kobject, so the kobject doesn't get released.
> > > > 
> > 
> > Does this mean that an unprivileged user can open a file in that directory,
> > keep it open indefinitely and hence cause khubd to hang?
> 
> Yes, that's an issue that we have had since we added this "wait till the
> interface goes away" patch.
> 
> I'll work on fixing that right now, as it seems the proper thing to do.

Well, in digging further, I say apply Alan's patch, as it is correct for
now.  It's not the cleanest thing right now, but I'll be working on
fixing up this stuff for good this week, as it seems there is a lot of
confusion about USB interfaces and devices and the driver model still.

Andrew, do you want me to send the patch to Linus, or will you?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to