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

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Nov 15 14:12:19 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().
> 
> 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/20261115-work-ovl-d_real-v1-0-ca155efbcb2e@kernel.org?part=13




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