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 17:23:37 +0200
Oliver Neukum <oliver@xxxxxxxxxx> wrote:

> Am Montag, 29. Juni 2009 17:10:29 schrieb Alan Cox:
> > 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 ?
> 
> If you wish to give them access to the hub device, why not? That's
> a user space problem.

So what governs the ability to do that - file permissions - in which case
we have auth and that would explain the lack of auth checks or is there
just no auth at all ?
--
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