Re: [PATCH bpf-next 0/1] libbpf: fail early when loading programs with unspecified type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux