Re: [PATCH bpf-next v4 1/2] bpftool: Use appropriate permissions for map access

From: patchwork-bot+netdevbpf
Date: Fri Jun 20 2025 - 14:40:10 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Sat, 21 Jun 2025 01:18:11 +1000 you wrote:
> Modify several functions in tools/bpf/bpftool/common.c to allow
> specification of requested access for file descriptors, such as
> read-only access.
>
> Update bpftool to request only read access for maps when write
> access is not required. This fixes errors when reading from maps
> that are protected from modification via security_bpf_map.
>
> [...]

Here is the summary with links:
- [bpf-next,v4,1/2] bpftool: Use appropriate permissions for map access
https://git.kernel.org/bpf/bpf-next/c/d32179e8c258
- [bpf-next,v4,2/2] selftests/bpf: Add test for bpftool access to read-only protected maps
https://git.kernel.org/bpf/bpf-next/c/f8b19aeca165

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html