mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 12:11:59 +02:00
ANDROID: GKI: disable rndis USB gadget driver
It's obsolete and only works for unsupported Windows hosts and is totally insecure and should never be used. Remove it in order to remove a potential attack vector on Android systems. NCM is a much better interface to use and it also works on other operating system hosts. Bug: 157965270 Bug: 226303025 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I45acc8b894220cdc9f170f9d5428aca195e9af38 (cherry picked from commit 0ea619fbd3aa56e764ee12ca680423ff2b7ce386) Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
parent
1dfe7be90d
commit
6e014d00ac
|
|
@ -484,7 +484,6 @@ CONFIG_USB_CONFIGFS_SERIAL=y
|
|||
CONFIG_USB_CONFIGFS_ACM=y
|
||||
CONFIG_USB_CONFIGFS_NCM=y
|
||||
CONFIG_USB_CONFIGFS_ECM=y
|
||||
CONFIG_USB_CONFIGFS_RNDIS=y
|
||||
CONFIG_USB_CONFIGFS_EEM=y
|
||||
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||
CONFIG_USB_CONFIGFS_F_FS=y
|
||||
|
|
|
|||
|
|
@ -440,7 +440,6 @@ CONFIG_USB_CONFIGFS_SERIAL=y
|
|||
CONFIG_USB_CONFIGFS_ACM=y
|
||||
CONFIG_USB_CONFIGFS_NCM=y
|
||||
CONFIG_USB_CONFIGFS_ECM=y
|
||||
CONFIG_USB_CONFIGFS_RNDIS=y
|
||||
CONFIG_USB_CONFIGFS_EEM=y
|
||||
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||
CONFIG_USB_CONFIGFS_F_FS=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user