Re: [PATCH] Allow userspace to request device probing even if defer_all_probes is true
From: Greg Kroah-Hartman
Date: Wed Jan 04 2017 - 04:21:46 EST
On Tue, Jan 03, 2017 at 03:07:20PM -0800, Kees Cook wrote:
> From: Matthew Garrett <mjg59@xxxxxxxxxx>
>
> Userspace may wish to make a policy decision to allow certain devices
> to be attached, such as keyboards.
I don't understand what that sentance means. Why wouldn't keyboards be
attached?
> Add a force_probe sysfs node to each device, which if written will
> trigger a probe even if defer_all_probes is currently true.
Why not just manually trigger the bind of the device? I don't
understand the problem here that is being addressed, nor do I understand
how this would be used. More explaination please.
thanks,
greg k-h