Re: [PATCH bpf-next v2] bpf: Merge "types_are_compat" logic into relo_core.c

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Thu, 23 Jun 2022 18:29:34 +0000 you wrote:
> BPF type compatibility checks (bpf_core_types_are_compat()) are
> currently duplicated between kernel and user space. That's a historical
> artifact more than intentional doing and can lead to subtle bugs where
> one implementation is adjusted but another is forgotten.
> 
> That happened with the enum64 work, for example, where the libbpf side
> was changed (commit 23b2a3a8f63a ("libbpf: Add enum64 relocation
> support")) to use the btf_kind_core_compat() helper function but the
> kernel side was not (commit 6089fb325cf7 ("bpf: Add btf enum64
> support")).
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2] bpf: Merge "types_are_compat" logic into relo_core.c
    https://git.kernel.org/bpf/bpf-next/c/fd75733da2f3

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