]> git.baikalelectronics.ru Git - kernel.git/commit
USB: usbfs: deprecate and hide option for !embedded
authorScott James Remnant <scott@canonical.com>
Tue, 21 Apr 2009 16:21:40 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:41 +0000 (21:44 -0700)
commit18228f032eee6dbd130ce3db7eeef9778d228801
tree52897c0b6537914763a06b5f2e38ce1977248d62
parentc84583e935590e1e2c1d1ee690d5083348b8a129
USB: usbfs: deprecate and hide option for !embedded

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 <scott@canonical.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/Kconfig