usb: interface authorization: SysFS part of USB interface authorization
authorStefan Koch <stefan.koch10@gmail.com>
Tue, 25 Aug 2015 19:10:09 +0000 (21:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2015 19:08:40 +0000 (12:08 -0700)
commit310d2b4124c073a2057ef9d952d4d938e9b1dfd9
treeba1af5e7d6898c41eec055f741e372732bbdaacc
parentb3910cef3968b2456cdd6c33b1f5e33904319f22
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 <stefan.koch10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/sysfs.c