Re: [PATCH bpf-next 09/11] libbpf: Support loading individual progs

2018-09-12 Thread Alexei Starovoitov
On Tue, Sep 11, 2018 at 05:36:38PM -0700, Joe Stringer wrote: > Allow the individual program load to be invoked. This will help with > testing, where a single ELF may contain several sections, some of which > denote subprograms that are expected to fail verification, along with > some which are exp

[PATCH bpf-next 09/11] libbpf: Support loading individual progs

2018-09-11 Thread Joe Stringer
Allow the individual program load to be invoked. This will help with testing, where a single ELF may contain several sections, some of which denote subprograms that are expected to fail verification, along with some which are expected to pass verification. By allowing programs to be iterated and in