aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_core_read.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-05-09 00:41:41 +0000
committerDaniel Borkmann <[email protected]>2022-05-09 15:14:40 +0000
commit8e2f618e8be66f74e6e088281ca72deb5c87cf04 (patch)
tree85ff3bfc3436208a57c6dff2f52ca98d87eb4b84 /tools/lib/bpf/bpf_core_read.h
parentselftests/bpf: Prevent skeleton generation race (diff)
downloadkernel-8e2f618e8be66f74e6e088281ca72deb5c87cf04.tar.gz
kernel-8e2f618e8be66f74e6e088281ca72deb5c87cf04.zip
libbpf: Make __kptr and __kptr_ref unconditionally use btf_type_tag() attr
It will be annoying and surprising for users of __kptr and __kptr_ref if libbpf silently ignores them just because Clang used for compilation didn't support btf_type_tag(). It's much better to get clear compiler error than debug BPF verifier failures later on. Fixes: ef89654f2bc7 ("libbpf: Add kptr type tag macros to bpf_helpers.h") Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions