Hello: This series was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Thu, 12 May 2022 15:07:12 -0700 you wrote: > Add high-level API wrappers for most common and typical BPF map > operations that works directly on instances of struct bpf_map * (so you > don't have to call bpf_map__fd()) and validate key/value size > expectations. > > These helpers require users to specify key (and value, where > appropriate) sizes when performing lookup/update/delete/etc. This forces > user to actually think and validate (for themselves) those. This is > a good thing as user is expected by kernel to implicitly provide correct > key/value buffer sizes and kernel will just read/write necessary amount > of data. If it so happens that user doesn't set up buffers correctly > (which bit people for per-CPU maps especially) kernel either randomly > overwrites stack data or return -EFAULT, depending on user's luck and > circumstances. These high-level APIs are meant to prevent such > unpleasant and hard to debug bugs. > > [...] Here is the summary with links: - [bpf-next,1/2] libbpf: add safer high-level wrappers for map operations https://git.kernel.org/bpf/bpf-next/c/737d0646a83c - [bpf-next,2/2] selftests/bpf: convert some selftests to high-level BPF map APIs https://git.kernel.org/bpf/bpf-next/c/b2531d4bdce1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html