lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Jan 2020 19:29:57 +0000
From:   Yonghong Song <>
To:     Andrii Nakryiko <>,
        "" <>,
        "" <>,
        Alexei Starovoitov <>,
        "" <>
CC:     "" <>,
        Kernel Team <>,
        Alexei Starovoitov <>
Subject: Re: [PATCH v2 bpf-next] libbpf: support .text sub-calls relocations

On 1/15/20 11:08 AM, Andrii Nakryiko wrote:
> The LLVM patch  makes LLVM emit function call
> relocations within the same section. This includes a default .text section,
> which contains any BPF sub-programs. This wasn't the case before and so libbpf
> was able to get a way with slightly simpler handling of subprogram call
> relocations.
> This patch adds support for .text section relocations. It needs to ensure
> correct order of relocations, so does two passes:
> - first, relocate .text instructions, if there are any relocations in it;
> - then process all the other programs and copy over patched .text instructions
> for all sub-program calls.
> v1->v2:
> - break early once .text program is processed.
> Cc: Yonghong Song <>
> Cc: Alexei Starovoitov <>
> Signed-off-by: Andrii Nakryiko <>

Thanks for the quick fix!
Acked-by: Yonghong Song <>

Powered by blists - more mailing lists