This patch introduces an interface authorization for USB devices.
The kernel supports a device authorization because of wireless USB.
But the new interface authorization allows to enable or disable
individual interfaces instead allow or deny a whole device.
Therefore a authorized attribute is introduced for each interface.
Each patch depends on all patches with a lesser number.
Stefan Koch (6):
usb: interface authorization: Declare authorized attribute
usb: interface authorization: Introduces the default interface
authorization
usb: interface authorization: Control interface probing and claiming
usb: interface authorization: Introduces the USB interface
authorization.
usb: interface authorization: SysFS part of USB interface
authorization.
usb: interface authorization: Documentation part
Documentation/ABI/testing/sysfs-bus-usb | 23 ++++++++++
Documentation/usb/authorization.txt | 22 ++++++++++
drivers/base/base.h | 1 -
drivers/usb/core/driver.c | 11 +++++
drivers/usb/core/hcd.c | 47 ++++++++++++++++++++
drivers/usb/core/hub.c | 77 ++++++++++++++++++++++++++++++++-
drivers/usb/core/message.c | 1 +
drivers/usb/core/sysfs.c | 45 ++++++++++++++++++-
drivers/usb/core/usb.h | 2 +
include/linux/device.h | 1 +
include/linux/usb.h | 1 +
include/linux/usb/hcd.h | 1 +
12 files changed, 229 insertions(+), 3 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html