Hi,

I'm using GadgetFs for USB host fuzzing (using umap2),
and part of the fuzzing session is to send invalid descriptors at
various stages.

However, some requests are not delegated to user-land (see gadgetfs_setup()
in gadget/legacy/inode.c),
Specifically - GET_DESCRIPTOR (device/configuration) and SET_CONFIGURATION.

Does a patch to switch the gadgetfs module to "delegate all" sounds reasonable?
If so - what's the preferred way to do it? I have a few options in mind:

- module parameter
- write some command to the ep0 file
- send an ioctl to the ep0 file

Any other suggestion?

Thanks,
Binyamin Sharet
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to