usb: interface authorization: SysFS part of USB interface authorization
authorStefan Koch <stefan.koch10@gmail.com>
Sat, 8 Aug 2015 09:32:54 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Aug 2015 23:55:54 +0000 (16:55 -0700)
commit187b3d75bbfba45a38b5d1d3656c0f11f6f6f2d0
tree8949b479ac3343b4e953f06463dd749670e21dd6
parentef0909c50fe63be3f9aa09bdf4db7efaa5919be9
usb: interface authorization: SysFS part of USB interface authorization

This introduces an attribute for each interface to
authorize (1) or deauthorize (0) it:
/sys/bus/usb/devices/INTERFACE/authorized

Signed-off-by: Stefan Koch <skoch@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/sysfs.c