summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCheng-Yang Chou <yphbchou0911@gmail.com>2026-04-20 17:28:48 +0800
committerTejun Heo <tj@kernel.org>2026-04-20 07:57:29 -1000
commit5897ca15d2c444af95eaae5f0a384401765afa00 (patch)
tree6186b5f9577f45f46335cf3d15be1ebd47bd8e97 /lib
parent2d2b026c3ea792a0c91d4acf4430d8b65bedf271 (diff)
selftests/sched_ext: Add non_scx_kfunc_deny test
Verify that the BPF verifier rejects a non-SCX struct_ops program (tcp_congestion_ops) that attempts to call an SCX kfunc (scx_bpf_kick_cpu). The test expects the load to fail with -EACCES from scx_kfunc_context_filter. Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions