aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-11-20 17:11:20 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-21 23:26:04 +0100
commit94cb310cfaa16582cd49ebbeea5925e8f49324a1 (patch)
tree0e274f0cd618cb816e0432d048d1ce67cca498f8 /tools/testing
parentbpf, libbpf: introduce bpf_object__probe_caps to test BPF capabilities (diff)
downloadlinux-dev-94cb310cfaa16582cd49ebbeea5925e8f49324a1.tar.xz
linux-dev-94cb310cfaa16582cd49ebbeea5925e8f49324a1.zip
bpf: libbpf: remove map name retry from bpf_create_map_xattr
Instead, check for a newly created caps.name bpf_object capability. If kernel doesn't support names, don't specify the attribute. See commit 23499442c319 ("bpf: libbpf: retry map creation without the name") for rationale. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions