This is a patch that introduces an interface authorization for USB devices.
The kernel supports already a device authorization bacause of wireless USB.
But the new interface authorization allows to enable or disable individual
interfaces per bitmask
instead allow or deny a whole device.
The patch is made now much simplier as suggested by Alan Stern.
Each patch depends on all patches with a lesser number.
Stefan Koch (5):
usb: Add usb interface authorization: Declare attributes of structures
usb: Add usb interface authorization: Introduces the default interface
authorization
usb: Add usb interface authorization: Control interface probing and
claiming
usb: Add usb interface authorization: Introduces the usb interface
authorization.
usb: Add usb interface authorization: SysFS part of usb interface
authorization.
drivers/base/base.h | 1 -
drivers/usb/core/driver.c | 11 +++++
drivers/usb/core/hcd.c | 47 ++++++++++++++++++
drivers/usb/core/hub.c | 117 +++++++++++++++++++++++++++++++++++++++++++++
drivers/usb/core/message.c | 12 ++++-
drivers/usb/core/sysfs.c | 71 ++++++++++++++++++++++++++-
drivers/usb/core/usb.c | 22 ++++++++-
drivers/usb/core/usb.h | 1 +
include/linux/device.h | 1 +
include/linux/usb.h | 6 +++
include/linux/usb/hcd.h | 1 +
11 files changed, 285 insertions(+), 5 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