Re: [PATCH bpf-next] docs/bpf: add llvm_reloc.rst to explain llvm bpf relocations

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

 



On Sat, 22 May 2021 at 17:44, Yonghong Song <yhs@xxxxxx> wrote:
>
> Daniel, John and Lorenz,
>
> Could you help check how the new relocation scheme
> may impact you? libbpf has a similar issue and is fixed by
>    https://lore.kernel.org/bpf/20210522162341.3687617-1-yhs@xxxxxx/
> In most cases, you should just change relocation enum number,
> no relocation resolution is changed.
>
> Please let me know. Thanks!

Thank you for the heads up :) cilium/ebpf currently doesn't look at
relocation types at all for better or worse. We simply collect
"well-known" sections like maps, programs, etc. and only process
relocations for these. So your change won't break cilium/ebpf, but it
makes me wonder whether we should check the relocation type.

Best
Lorenz

-- 
Lorenz Bauer  |  Systems Engineer
6th Floor, County Hall/The Riverside Building, SE1 7PB, UK

www.cloudflare.com



[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