Go to file
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
Documentation Documentation: add HID-BPF docs 2022-11-15 16:28:40 +01:00
LICENSES
arch
block
certs
crypto
drivers HID: bpf: enforce HID_BPF dependencies 2022-12-10 10:41:28 +01:00
fs for-6.1-rc4-tag 2022-11-10 08:58:29 -08:00
include Merge branch 'for-6.2/bpf' into for-6.2/hid-bpf 2022-12-07 15:40:58 +01:00
init
io_uring
ipc
kernel bpf: do not rely on ALLOW_ERROR_INJECTION for fmod_ret 2022-12-07 15:31:08 +01:00
lib
mm
net Merge branch 'for-6.2/bpf' into for-6.2/hid-bpf 2022-12-07 15:40:58 +01:00
rust
samples samples/hid: Fix spelling mistake "wihout" -> "without" 2022-11-21 22:11:52 +01:00
scripts
security
sound
tools selftests/hid: Add a test for BPF_F_INSERT_HEAD 2022-11-15 16:28:39 +01:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS MAINTAINERS: Move Vivien to CREDITS 2022-11-10 13:53:53 -08:00
Kbuild
Kconfig
MAINTAINERS Documentation: add HID-BPF docs 2022-11-15 16:28:40 +01:00
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.