Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1326370
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers. |
| Date | 2016-02-04 04:50 +0100 |
| Message-ID | <qYj5E-38E-3@gated-at.bofh.it> (permalink) |
| References | <qTxiV-3Zo-3@gated-at.bofh.it> <qYiMh-31h-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Feb 04, 2016 at 12:20:57AM -0300, Emilio López wrote: > From: Reilly Grant <reillyg@chromium.org> > > 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 <reillyg@chromium.org> > Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> > > --- > > Changes in v3: > - Switch ioctl to use a __u32 given the iface qty is capped at 32 > - Reword comments as requested by Alan > - Allow callers to shrink the allowed interfaces mask No documentation? Proof it works? Test scripts? This isn't a trivial feature to add, how do we know it is correct? thanks, greg k-h
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers. Emilio López <emilio.lopez@collabora.co.uk> - 2016-02-04 04:30 +0100
Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers. Greg KH <gregkh@linuxfoundation.org> - 2016-02-04 04:50 +0100
Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers. Alan Stern <stern@rowland.harvard.edu> - 2016-02-04 17:30 +0100
Re: [PATCH v3] usb: devio: Add ioctl to disallow detaching kernel USB drivers. Emilio López <emilio.lopez@collabora.co.uk> - 2016-02-08 03:10 +0100
csiph-web