On Wed, Feb 26, 2003 at 08:16:05PM +0000, Alan Cox wrote:
> On Wed, 2003-02-26 at 18:24, Greg KH wrote:
> > > That's the reason it doesn't work. You need hotplug scripts that make
> > > the device node. Unfortunately that's a race that causes insecurity.
> > 
> > Not true at all.  What's the race?
> 
> You issue a minor to someone
> You create the node securely
> You set permissions appropriately
> 
> Your box crashes
> 
> You reboot and assign a different device the id, but how will you clean up
> the old node ?

With /dev being a ramfs that gets recreated every time the machine is
rebooted?  :)

> Also the same is true of a race between an open and unload/reissue of a
> minor, which while rare may occur. 

True, that's a real race that needs to be worked on.

thanks,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to