aboutsummaryrefslogtreecommitdiffstats
path: root/net/bpf/bpf_dummy_struct_ops.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2023-12-15 09:12:19 +0000
committerAlexei Starovoitov <[email protected]>2023-12-16 00:25:55 +0000
commite72d88d18df4e03c80e64c2535f70c64f1dc6fc1 (patch)
treeb40a94832096c09289083677044e0d6c61601927 /net/bpf/bpf_dummy_struct_ops.c
parentx86/cfi,bpf: Fix BPF JIT call (diff)
downloadkernel-e72d88d18df4e03c80e64c2535f70c64f1dc6fc1.tar.gz
kernel-e72d88d18df4e03c80e64c2535f70c64f1dc6fc1.zip
x86/cfi,bpf: Fix bpf_callback_t CFI
Where the main BPF program is expected to match bpf_func_t, sub-programs are expected to match bpf_callback_t. This fixes things like: tools/testing/selftests/bpf/progs/bloom_filter_bench.c: bpf_for_each_map_elem(&array_map, bloom_callback, &data, 0); Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/bpf/bpf_dummy_struct_ops.c')
0 files changed, 0 insertions, 0 deletions