Thread (4 messages) 4 messages, 2 authors, 2025-12-10

Re: [PATCH bpf v5 0/2] bpf: fix bpf_d_path() helper prototype

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-12-10 09:43:14
Also in: bpf, linux-kselftest, lkml

Hello:

This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov [off-list ref]:

On Sat,  6 Dec 2025 22:12:08 +0800 you wrote:
Hi,

This series fixes a verifier issue with bpf_d_path() and adds a
regression test to cover its use within a hook function.

Patch 1 updates the bpf_d_path() helper prototype so that the second
argument is marked as MEM_WRITE. This makes it explicit to the verifier
that the helper writes into the provided buffer.

[...]
Here is the summary with links:
  - [bpf,v5,1/2] bpf: mark bpf_d_path() buffer as writeable
    https://git.kernel.org/bpf/bpf/c/ac44dcc788b9
  - [bpf,v5,2/2] selftests/bpf: add regression test for bpf_d_path()
    https://git.kernel.org/bpf/bpf/c/79e247d66088

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help