tech-kern archive

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

Re: Merging ugen into the usb stack



On Sat, Dec 16, 2017 at 06:07:42PM -0500, Thor Lancelot Simon wrote:
> On Fri, Dec 15, 2017 at 08:30:00PM +0100, Martin Husemann wrote:
> >  - when libusb takes over controll (as Steffen described) a kernel driver
> >    that would have attached (i.e. when the skipping does not happen or
> >    the userland application is configured wrong) is detached, so no
> >    concurrent access between libusb and a kernel driver can ever happen
> 
> To be safe in general -- particularly for storage devices -- this probably
> has to depend on securelevel.

Yes, and if e.g. a device is open it should reject the request
to transform into a usbgen.

Martin


Home | Main Index | Thread Index | Old Index