Re: [PATCH bpf-next v1 0/6] Introduce eBPF support for HID devices

From: Jiri Kosina
Date: Mon Feb 28 2022 - 11:34:03 EST


On Fri, 25 Feb 2022, Greg KH wrote:

> > I mean that if you need a bpf program to be loaded from userspace at
> > boot to make your keyboard functional, then you need to have the root
> > partition mounted (or put the program in the initrd) so udev can load
> > it. Now if your keyboard is supposed to give the password used to
> > decrypt your root partition but you need a bpf program on that said
> > partition to make it functional, you are screwed :)
>
> True, but that's why the HID boot protocol was designed for keyboards
> and mice, so that they "always" work. Yeah, I know many devices ignore
> it, oh well...

That's a very mild statement :)

*Most* of the recent modern HW doesn't support it as far as I can say.

Thanks,

--
Jiri Kosina
SUSE Labs