| From: |
| Stefan Koch <stefan.koch10-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> |
| To: |
| linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org |
| Subject: |
| [PATCH v8 0/7] usb: interface authorization |
| Date: |
| Thu, 30 Jul 2015 08:19:17 +0200 |
| Message-ID: |
| <1438237164-1982-1-git-send-email-skoch@suse.de> |
| Cc: |
| gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org, oneukum-IBi9RG/b67k@public.gmane.org, sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org |
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 authorize or deauthorize
individual interfaces instead authorization or deauthorize a whole device.
Therefore the authorized attribute is introduced for each interface.
Each patch depends on all patches with a lesser number.
v5 was acked-by Alan Stern:
http://comments.gmane.org/gmane.linux.usb.general/127144
http://permalink.gmane.org/gmane.linux.usb.general/127151
Changes since v7:
- Implemented suggestions from Alan Stern and Sergei Shtylyov
Changes since v6:
- Implemented suggestions from Alan Stern and Sergei Shtylyov
Changes since v5:
- Implemented suggestions from Greg K-H
- Changed device authorization to save the default bit in the same flag as the interface authorization does this
(recommended by Alan Stern http://permalink.gmane.org/gmane.linux.usb.general/127086)
Stefan Koch (7):
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
usb: interface authorization: Use a flag for the default device
authorization
Documentation/ABI/testing/sysfs-bus-usb | 22 ++++++++++
Documentation/usb/authorization.txt | 34 ++++++++++++++
drivers/usb/core/driver.c | 8 ++++
drivers/usb/core/hcd.c | 78 ++++++++++++++++++++++++++++-----
drivers/usb/core/message.c | 39 +++++++++++++++++
drivers/usb/core/sysfs.c | 36 +++++++++++++++
drivers/usb/core/usb.c | 2 +-
drivers/usb/core/usb.h | 2 +
include/linux/usb.h | 1 +
include/linux/usb/hcd.h | 9 +++-
10 files changed, 218 insertions(+), 13 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html