aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-05-14 20:38:49 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-05-16 01:32:19 +0200
commit15ea164ef11abc0a2d3001ca40e5e509cd06091f (patch)
tree07afe108034d75851b88732cafebbbfd2910c752 /tools/testing
parentMerge branch 'lru-map-fix' (diff)
downloadlinux-dev-15ea164ef11abc0a2d3001ca40e5e509cd06091f.tar.xz
linux-dev-15ea164ef11abc0a2d3001ca40e5e509cd06091f.zip
libbpf: don't fail when feature probing fails
Otherwise libbpf is unusable from unprivileged process with kernel.kernel.unprivileged_bpf_disabled=1. All I get is EPERM from the probes, even if I just want to open an ELF object and look at what progs/maps it has. Instead of dying on probes, let's just pr_debug the error and try to continue. 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