Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Jan 2017 16:05:59 -0600
From: Matthew Garrett <>
To: Greg Kroah-Hartman <>
Cc: Kees Cook <>, 
	Linux Kernel Mailing List <>, "Rafael J. Wysocki" <>, 
	Len Brown <>, Pavel Machek <>, Ulf Hansson <>, 
	Mauro Carvalho Chehab <>, Tomeu Vizoso <>, 
	Lukas Wunner <>, Madalin Bucur <>, 
	Sudip Mukherjee <>, Rasmus Villemoes <>, 
	Arnd Bergmann <>, Andrew Morton <>, 
	Russell King <>, Petr Tesarik <>,,
Subject: Re: [PATCH] Allow userspace control of runtime disabling/enabling of
 driver probing

On Wed, Jan 4, 2017 at 3:53 PM, Matthew Garrett <> wrote:
> usb_choose_configuration() hasn't been called at this point, so no -
> we don't create any device entries, so there's no way for userspace to
> know anything (there isn't even a uevent on device plug). And even if
> you could scrape the info, you still have no way of knowing what
> configuration the kernel will choose if the device has multiple.

Ah, I had things slightly misconfigured (accidentally deauthorised the
hub itself, so unsurprising that children wouldn't show up) - you do
get an event for the device itself, but you still have no means of
identifying how the endpoints will show up without parsing the binary
descriptors and then hoping that you have the same heuristics as the

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.