linux-stable/drivers/hid/bpf
Benjamin Tissoires 4e0b1b0731 HID: bpf: enforce HID_BPF dependencies
As mentioned in the link below, having JIT and BPF is not enough to
have fentry/fexit/fmod_ret APIs. This resolves the error that
happens on a system without tracing enabled when hid-bpf tries to
load itself.

Link: https://lore.kernel.org/r/CABRcYmKyRchQhabi1Vd9RcMQFCcb=EtWyEbFDFRTc-L-U8WhgA@mail.gmail.com
Fixes: f5c27da4e3 ("HID: initial BPF implementation")
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Florent Revest <revest@chromium.org>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Link: https://lore.kernel.org/r/20221206145936.922196-4-benjamin.tissoires@redhat.com
2022-12-10 10:41:28 +01:00
..
entrypoints
hid_bpf_dispatch.c HID: bpf: do not rely on ALLOW_ERROR_INJECTION 2022-12-07 15:41:36 +01:00
hid_bpf_dispatch.h HID: bpf: allow to change the report descriptor 2022-11-15 16:28:39 +01:00
hid_bpf_jmp_table.c HID: bpf: do not rely on ALLOW_ERROR_INJECTION 2022-12-07 15:41:36 +01:00
Kconfig HID: bpf: enforce HID_BPF dependencies 2022-12-10 10:41:28 +01:00
Makefile