Re: [PATCH bpf-next v2 08/28] HID: allow to change the report descriptor from an eBPF program

Greg KH
2022-03-04T18:33:44Z

On Fri, Mar 04, 2022 at 06:28:32PM +0100, Benjamin Tissoires wrote:
> Make use of BPF_HID_ATTACH_RDESC_FIXUP so we can trigger an rdesc fixup
> in the bpf world.
>
> Whenever the program gets attached/detached, the device is reconnected
> meaning that userspace will see it disappearing and reappearing with
> the new report descriptor.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>