[PATCH v2 13/13] selftests/bpf: add uprobe_multi test on overlayfs without data

sashiko-bot at kernel.org sashiko-bot at kernel.org
Mon Nov 16 09:53:27 UTC 2026


> Add a uprobe_multi test that attaches to a metacopy file on overlayfs
> whose redirect into a data-only layer points at nothing:
> 
> - the overlayfs is set up in a child in its own mount namespace
> 
> - BPF_LINK_CREATE must fail with ENOENT from the lazy lowerdata lookup
> 
> - skip if overlayfs with data-only layers isn't available
> 
> Before d_real() could fail this got an EIO from uprobe_register().
> 
> Acked-by: Alexei Starovoitov <ast at kernel.org>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261116-work-ovl-d_real-v2-0-90564c4ae347@kernel.org?part=13




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