diff options
| author | Benjamin Tissoires <bentiss@kernel.org> | 2026-08-25 11:55:13 +0200 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-09-01 16:08:28 +0200 |
| commit | ce58f5a1843235d800ad724e86a3cf5c9c6f08ab (patch) | |
| tree | 203aba82a1f6e515ce565a3ce428a4766c880e12 /scripts/livepatch | |
| parent | 1fb68c2e76386ac663819036c2c75cd476e433c1 (diff) | |
selftests/hid: prepare test_rdesc_fixup_get_data_overflow for the new verifier
The new verifier in the bpf-next branch is now capable of detecting the
overflow that was triggered by test_rdesc_fixup_get_data_overflow.
This is better in terms of UI, but now the test is failing and should be
marked as expected to fail.
Add a new parameter to load_programs() when we expect the test to fail,
and dynamically validate the test by checkcing if it loads (it should
fail to load with new verifier), but if it still loads, HID-BPF should
detect the overflow itself and return an error in hid_bpf_get_data().
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions
