Re: [PATCH 4/8] USB: add API for userspace drivers to "claim" ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Jun 2009, Alan Cox wrote:

> On Mon, 29 Jun 2009 10:56:54 -0400 (EDT)
> Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> > This patch (as1258) implements a feature that users have been asking
> > for: It gives programs the ability to "claim" a port on a hub, via a
> > new usbfs ioctl.  A device plugged into a "claimed" port will not be
> > touched by the kernel beyond the immediate necessities of
> > initialization and enumeration.
> 
> I see no auth checks in this - presumably end users shouldn't be able to
> go around nuking ports ?

Users can do that already by detaching the kernel's hub driver from a 
hub device.  This patch doesn't make the system any less secure than it 
already is.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux