[RFC PATCH bpf-next 04/12] bpf: mark struct path trusted

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Oct 6 00:34:10 UTC 2026


> Walking a trusted struct path yields a trusted dentry - a live path
> never carries a NULL dentry - so BPF programs can use it with kfuncs
> that require trusted arguments.
> 
> Signed-off-by: Song Liu <song at kernel.org>
> [justin: carried only the verifier.c hunk of the original patch,
>  trusted instead of trusted-or-null]
> Signed-off-by: Justin Suess <utilityemal77 at gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261006002020.2890858-1-utilityemal77@gmail.com?part=4




More information about the Linux-security-module-archive mailing list