linux-stable/tools/testing/selftests/hid/progs
Benjamin Tissoires cea6c4d969 selftests: hid: attach/detach 2 bpf programs, not just one
Add a second BPF program to attach to the device, as the development of
this feature showed that we also need to ensure we can detach multiple
programs to a device (hid_bpf_link->hid_table_index was actually not set
initially, and this lead to any BPF program not being released except for
the first one).

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-01-18 22:08:38 +01:00
..
hid.c selftests: hid: attach/detach 2 bpf programs, not just one 2023-01-18 22:08:38 +01:00
hid_bpf_helpers.h selftests/hid: add tests for bpf_hid_hw_request 2022-11-15 16:28:31 +01:00