From 6901a56e001db2bd9705f69cc3f5649134b145ea Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 16 Oct 2019 18:02:31 +0200 Subject: executor/usb: enable endpoints on SET_INTERFACE This commit changes syz_usb_control_io to enable the relevant endpoints for the interface being set via a SET_INTERFACE request. --- sys/linux/vusb.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/linux/vusb.txt') diff --git a/sys/linux/vusb.txt b/sys/linux/vusb.txt index 8c39c2ec5..f9c87e159 100644 --- a/sys/linux/vusb.txt +++ b/sys/linux/vusb.txt @@ -710,8 +710,6 @@ usb_printer_get_id_response { # Connected CDC ECM devices are known to create usbN network interfaces. # TODO: enable fuzzing of those. -# TODO: currently the only endpoint which is being successfully enabled is the notification endpoint #1. - usb_device_descriptor_cdc_ecm { inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]] } [packed] @@ -954,8 +952,6 @@ vusb_responses_cdc_ecm { # https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/ncm.c # https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_ncm.c -# TODO: currently the only endpoint which is being successfully enabled is the notification endpoint #1. - usb_device_descriptor_cdc_ncm { inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]] } [packed] -- cgit mrf-deployment