[PATCH bpf-next 3/8] libbpf: further decouple feature checking logic from bpf_object

Andrii Nakryiko andrii.nakryiko at gmail.com
Mon Dec 11 18:20:45 UTC 2023


On Sun, Dec 10, 2023 at 7:31 AM Eduard Zingerman <eddyz87 at gmail.com> wrote:
>
> > diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
> > index a6b8d6f70918..af5e777efcbd 100644
> > --- a/tools/lib/bpf/libbpf.c
> > +++ b/tools/lib/bpf/libbpf.c
> > @@ -637,6 +637,7 @@ struct elf_state {
> >  };
> >
> >  struct usdt_manager;
> > +struct kern_feature_cache;
>
> Nit: this forward declaration is not necessary.
>
>

true, we have it in libbpf_internal.h now, will drop



More information about the Linux-security-module-archive mailing list