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] [day] [month] [year] [list]
Date:   Tue, 08 Dec 2020 15:50:05 +0000
To:     Andrii Nakryiko <>
Subject: Re: [PATCH bpf] tools/bpftool: fix PID fetching with a lot of results


This patch was applied to bpf/bpf.git (refs/heads/master):

On Fri, 4 Dec 2020 15:20:01 -0800 you wrote:
> In case of having so many PID results that they don't fit into a singe page
> (4096) bytes, bpftool will erroneously conclude that it got corrupted data due
> to 4096 not being a multiple of struct pid_iter_entry, so the last entry will
> be partially truncated. Fix this by sizing the buffer to fit exactly N entries
> with no truncation in the middle of record.
> Fixes: d53dee3fe013 ("tools/bpftool: Show info for processes holding BPF map/prog/link/btf FDs")
> Signed-off-by: Andrii Nakryiko <>
> [...]

Here is the summary with links:
  - [bpf] tools/bpftool: fix PID fetching with a lot of results

You are awesome, thank you!
Deet-doot-dot, I am a bot.

Powered by blists - more mailing lists