summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorYiyang Chen <chenyy23@mails.tsinghua.edu.cn>2026-06-23 06:23:14 +0000
committerBenjamin Tissoires <bentiss@kernel.org>2026-07-01 09:55:36 +0200
commit5aad55011a37d999cf99d14bafb6a093a1a70466 (patch)
tree7b0fd20281e01baf6a3058c1758e04a145243309 /rust/zerocopy/git@git.tavy.me:linux-stable.git
parent2d044049421dd48212b28646a850749d4a2d57fa (diff)
selftests/hid: Load only requested struct_ops maps
The HID selftest skeleton contains several struct_ops maps, but each test usually wants to load only the programs named by that test. load_programs() disabled auto-attach for all maps, but left struct_ops autocreate enabled. libbpf can enable autoload for programs referenced by autocreated struct_ops maps, so an unrelated program can be loaded and fail even when the current test does not use it. Disable autocreate for all struct_ops maps by default, then re-enable it only for the maps selected by the test before loading the skeleton. Signed-off-by: Yiyang Chen <chenyy23@mails.tsinghua.edu.cn> Fixes: f64c1a459339 ("selftests/hid: disable struct_ops auto-attach") Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions