diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-01-13 10:09:31 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-01-18 22:08:38 +0100 |
commit | 2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d (patch) | |
tree | c081acdd5c2d21eee73b1f684379367f179f83df /Documentation/hid | |
parent | d9db1bb55f1032020328ede7a88b2490574646d3 (diff) | |
download | linux-2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d.tar.gz |
selftests: hid: prepare tests for HID_BPF API change
We plan on changing the return value of hid_bpf_attach_prog().
Instead of returning an error code, it will return an fd to a bpf_link.
This bpf_link is responsible for the binding between the bpf program and
the hid device.
Add a fallback mechanism to not break bisections by pinning the program
when we run this test against the non changed kernel.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/hid')
0 files changed, 0 insertions, 0 deletions