On Mon, Nov 30, 2020 at 8:43 PM Andrei Matei <andreimatei1@xxxxxxxxx> wrote: > > This patch should help people who misunderstand the importance of using > proper prefixes to their ELF sections in bpf object files. The patch > assumes that programs with type BPF_PROG_TYPE_UNSPEC are always invalid, > as indicated by `man 2 bpf`. Please let me know if that is not accurate. > FYI, you don't need to send a cover letter with a single patch. > Andrei Matei (1): > libbpf: fail early when loading programs with unspecified type > > tools/lib/bpf/libbpf.c | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > -- > 2.27.0 >