diff options
author | Benjamin Tissoires <[email protected]> | 2023-01-13 10:09:31 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-01-18 22:08:38 +0100 |
commit | 2574917a2b48f87bd45f1c3e6d80c976f4fe3c3d (patch) | |
tree | c081acdd5c2d21eee73b1f684379367f179f83df /scripts/bpf_doc.py | |
parent | d9db1bb55f1032020328ede7a88b2490574646d3 (diff) |
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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions