On Mon, Oct 7, 2019 at 3:58 PM Andrii Nakryiko <andr...@fb.com> wrote:
>
> As part of libbpf in 5e61f2707029 ("libbpf: stop enforcing kern_version,
> populate it for users") non-LIBBPF_API __bpf_object__open_xattr() API
> was removed from libbpf.h header. This broke bpftool, which relied on
> that function. This patch fixes the build by switching to newly added
> bpf_object__open_file() which provides the same capabilities, but is
> official and future-proof API.
>
> v1->v2:
> - fix prog_type shadowing (Stanislav).
>
> Fixes: 5e61f2707029 ("libbpf: stop enforcing kern_version, populate it for 
> users")
> Reported-by: Stanislav Fomichev <s...@google.com>
> Reviewed-by: Stanislav Fomichev <s...@google.com>
> Signed-off-by: Andrii Nakryiko <andr...@fb.com>

Applied. Thanks

Reply via email to