Re: [PATCH 2/2] selftests/bpf: Skip bpffs debug iter checks when unavailable in test_bpffs
From: sun jian
Date: Thu Mar 12 2026 - 22:50:21 EST
On Fri, Mar 13, 2026 at 5:44 AM Yonghong Song <yonghong.song@xxxxxxxxx> wrote:
> In which situation these two files have issues? This already root
I observed this in a virtme-ng guest running as root, where accessing
maps.debug/progs.debug returned EPERM while the later pin/rename checks
still worked. root in the guest was not sufficient for accessing those debug
iterator files.
> access. If file operation failed, that must be due to your special
> situation.
Agreed, this looks environment-specific. I'll check it further.
Regards,
Sun Jian