Re: [PATCH bpf-next] bpf: build type-punning BPF selftests with -fno-strict-aliasing

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Tue, 30 Jan 2024 12:03:43 +0100 you wrote:
> A few BPF selftests perform type punning and they may break strict
> aliasing rules, which are exploited by both GCC and clang by default
> while optimizing.  This can lead to broken compiled programs.
> 
> This patch disables strict aliasing for these particular tests, by
> mean of the -fno-strict-aliasing command line option.  This will make
> sure these tests are optimized properly even if some strict aliasing
> rule gets violated.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: build type-punning BPF selftests with -fno-strict-aliasing
    https://git.kernel.org/bpf/bpf-next/c/27a90b14b93d

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