Re: [PATCH bpf-next] libbpf: fix sym_is_subprog() logic for weak global subprogs

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Tue,  8 Oct 2024 18:15:54 -0700 you wrote:
> sym_is_subprog() is incorrectly rejecting relocations against *weak*
> global subprogs. Fix that by realizing that STB_WEAK is also a global
> function.
> 
> While it seems like verifier doesn't support taking an address of
> non-static subprog right now, it's still best to fix support for it on
> libbpf side, otherwise users will get a very confusing error during BPF
> skeleton generation or static linking due to misinterpreted relocation:
> 
> [...]

Here is the summary with links:
  - [bpf-next] libbpf: fix sym_is_subprog() logic for weak global subprogs
    https://git.kernel.org/bpf/bpf-next/c/4073213488be

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[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