diff options
author | 2022-12-06 15:59:34 +0100 | |
---|---|---|
committer | 2022-12-10 10:41:28 +0100 | |
commit | 4e0b1b0731bd355a4dee279a270bdd5b29e68b85 (patch) | |
tree | b73e67574f0899524d28473a081739ee0a152c53 /lib/parser.c | |
parent | HID: bpf: do not rely on ALLOW_ERROR_INJECTION (diff) | |
download | linux-rng-4e0b1b0731bd355a4dee279a270bdd5b29e68b85.tar.xz linux-rng-4e0b1b0731bd355a4dee279a270bdd5b29e68b85.zip |
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: f5c27da4e3c8 ("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
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions