Re: [PATCH v1] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2015-11-26 Thread Dan Carpenter
On Thu, Nov 26, 2015 at 04:59:25PM +0800, Peter Chen wrote: > On Wed, Nov 25, 2015 at 12:45:34PM -0300, Emilio López wrote: > > From: Reilly Grant > > > > The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily > > relinquish the ability to issue other ioctls that may interfere wit

Re: [PATCH v1] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2015-11-26 Thread Peter Chen
On Wed, Nov 25, 2015 at 12:45:34PM -0300, Emilio López wrote: > From: Reilly Grant > > The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily > relinquish the ability to issue other ioctls that may interfere with > other processes and drivers that have claimed an interface on the

[PATCH v1] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2015-11-25 Thread Emilio López
From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers that have claimed an interface on the device. Signed-off-by: Reilly Grant Reviewed-by: Jorge Lucangeli Obes