aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/netlink.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-05-14 19:55:34 +0000
committerAlexei Starovoitov <[email protected]>2021-05-14 23:11:09 +0000
commit513f485ca5163c6cba869602d076a8e2f04d1ca1 (patch)
treeca3ca0fd649d3f588092f24b90f83acc8c2dbb6f /tools/lib/bpf/netlink.c
parentlibbpf: Reject static maps (diff)
downloadkernel-513f485ca5163c6cba869602d076a8e2f04d1ca1.tar.gz
kernel-513f485ca5163c6cba869602d076a8e2f04d1ca1.zip
libbpf: Reject static entry-point BPF programs
Detect use of static entry-point BPF programs (those with SEC() markings) and emit error message. This is similar to c1cccec9c636 ("libbpf: Reject static maps") but for BPF programs. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions