summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/module_attach.c
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2025-11-17 20:04:10 +0000
committerAlexei Starovoitov <ast@kernel.org>2025-11-21 18:34:59 -0800
commitcf49ec5705a6fb635ac9c2626f9ac7a39344b1f5 (patch)
tree826d07187b4c1d515421716f825be8cccca570e2 /tools/testing/selftests/bpf/prog_tests/module_attach.c
parent4167096cb964325ed88cd558f5b0c61fcaab44c1 (diff)
selftests: bpf: Add tests for unbalanced rcu_read_lock
As verifier now supports nested rcu critical sections, add new test cases to make sure unbalanced usage of rcu_read_lock()/unlock() is rejected. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251117200411.25563-3-puranjay@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions