| From | Sent On | Attachments |
|---|---|---|
| Scott James Remnant | Apr 21, 2009 9:21 am | |
| Alan Stern | Apr 21, 2009 9:51 am | |
| Greg KH | Apr 21, 2009 9:55 am | .sh |
| Randy Dunlap | Apr 21, 2009 9:55 am | |
| Kay Sievers | Apr 21, 2009 10:30 am | |
| Greg KH | Apr 21, 2009 10:34 am | |
| Alan Stern | Apr 21, 2009 12:44 pm | |
| Greg KH | Apr 21, 2009 2:48 pm | |
| Alan Stern | Apr 22, 2009 8:02 am | |
| Kay Sievers | Apr 22, 2009 8:19 am | |
| Alan Stern | Apr 22, 2009 9:50 am | |
| Kay Sievers | Apr 22, 2009 10:03 am | |
| Alan Stern | Apr 22, 2009 2:00 pm | |
| Kay Sievers | Apr 23, 2009 5:33 pm | |
| Greg KH | Apr 23, 2009 6:50 pm | |
| Alan Stern | Apr 24, 2009 9:11 am | |
| Greg KH | Apr 24, 2009 3:12 pm | |
| Kay Sievers | Apr 24, 2009 3:34 pm | |
| Greg KH | Apr 24, 2009 3:41 pm | |
| Alan Stern | Apr 24, 2009 7:46 pm | |
| David Vrabel | Apr 27, 2009 3:27 am | |
| Greg KH | Apr 27, 2009 8:22 am | |
| Alan Stern | Apr 27, 2009 8:54 am | |
| Greg KH | Apr 27, 2009 9:02 am | |
| David Vrabel | Apr 27, 2009 9:19 am | |
| Alan Stern | Apr 27, 2009 10:15 am | |
| Greg KH | Apr 27, 2009 1:23 pm | |
| Greg KH | Apr 27, 2009 1:23 pm |
| Subject: | [PATCH] USB: usbfs: deprecate and hide option for !embedded | |
|---|---|---|
| From: | Scott James Remnant (sco...@canonical.com) | |
| Date: | Apr 21, 2009 9:21:17 am | |
| List: | org.kernel.vger.linux-usb | |
Modern systems do not use usbfs; the entries within it are files, not device nodes, and do not support ACLs which are the default way to provide access to USB devices to untrusted users.
It is replaced by device-nodes maintained by udev in /dev/bus/usb, libusb uses this device nodes.
Mark the option as deprecated, and hide entirely for non-embedded builds (which may not be using udev but require raw USB device access).
Signed-off-by: Scott James Remnant <sco...@canonical.com> Acked-by: Kay Sievers <kay....@vrfy.org>
--- drivers/usb/core/Kconfig | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index e1759d1..69280c3 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig @@ -28,7 +28,7 @@ comment "Miscellaneous USB options" depends on USB
config USB_DEVICEFS - bool "USB device filesystem" + bool "USB device filesystem (DEPRECATED)" if EMBEDDED depends on USB ---help--- If you say Y here (and to "/proc file system support" in the "File @@ -46,11 +46,15 @@ config USB_DEVICEFS For the format of the various /proc/bus/usb/ files, please read <file:Documentation/usb/proc_usb_info.txt>.
- Usbfs files can't handle Access Control Lists (ACL), which are the - default way to grant access to USB devices for untrusted users of a - desktop system. The usbfs functionality is replaced by real - device-nodes managed by udev. These nodes live in /dev/bus/usb and - are used by libusb. + Modern Linux systems do not use this. + + Usbfs entries are files and not character devices; usbfs can't + handle Access Control Lists (ACL) which are the default way to + grant access to USB devices for untrusted users of a desktop + system. + + The usbfs functionality is replaced by real device-nodes managed by + udev. These nodes lived in /dev/bus/usb and are used by libusb.
config USB_DEVICE_CLASS bool "USB device class-devices (DEPRECATED)"
-- 1.6.0.4
-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majo...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html






.sh