summaryrefslogtreecommitdiffstats
path: root/scripts/xz_wrap.sh
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-06-08 11:01:16 +0200
committerBenjamin Tissoires <bentiss@kernel.org>2024-06-14 11:20:19 +0200
commitd7696738d66b4f1379fe77eef61cd1047d7f0773 (patch)
treeafde2de984697a0681c360ef89f4643f86c3e9b8 /scripts/xz_wrap.sh
parentHID: bpf: implement HID-BPF through bpf_struct_ops (diff)
downloadlinux-d7696738d66b4f1379fe77eef61cd1047d7f0773.tar.xz
linux-d7696738d66b4f1379fe77eef61cd1047d7f0773.zip
selftests/hid: convert the hid_bpf selftests with struct_ops
We drop the need for the attach() bpf syscall, but we need to set up the hid_id field before calling __load(). The .bpf.c part is mechanical: we create one struct_ops per HID-BPF program, as all the tests are for one program at a time. Link: https://lore.kernel.org/r/20240608-hid_bpf_struct_ops-v3-4-6ac6ade58329@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/xz_wrap.sh')
0 files changed, 0 insertions, 0 deletions