Re: [PATCH bpf] bpf: fix a verifier verbose message

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

 



Hello:

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

On Fri, 12 Apr 2024 16:11:00 +0200 you wrote:
> Long ago a map file descriptor in a pseudo ldimm64 instruction could
> only be present as an immediate value insn[0].imm, and thus this value
> was used in a verbose verifier message printed when the file descriptor
> wasn't valid. Since addition of BPF_PSEUDO_MAP_IDX_VALUE/BPF_PSEUDO_MAP_IDX
> the insn[0].imm field can also contain an index pointing to the file
> descriptor in the attr.fd_array array.  However, if the file descriptor
> is invalid, the verifier still prints the verbose message containing
> value of insn[0].imm. Patch the verifier message to always print the
> actual file descriptor value.
> 
> [...]

Here is the summary with links:
  - [bpf] bpf: fix a verifier verbose message
    https://git.kernel.org/bpf/bpf/c/37eacb9f6e89

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