[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f1e80396-fc52-3b3d-19e2-df9daf975666@iogearbox.net>
Date: Thu, 16 May 2019 01:42:08 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Stanislav Fomichev <sdf@...gle.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Cc: davem@...emloft.net, ast@...nel.org
Subject: Re: [PATCH bpf] libbpf: don't fail when feature probing fails
On 05/15/2019 05:38 AM, Stanislav Fomichev wrote:
> 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@...gle.com>
Good catch, applied, thanks!
Powered by blists - more mailing lists