[PATCH RESEND v2 33/51] selftests/proc: check a /proc listing while entries come and go
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:29:54 PST 2026
> List /proc/net/dev_snmp6 of a new network namespace while a tun device
> comes and goes:
>
> - with a buffer that holds the dots and "lo", add a device whose name
> sorts first, finish the listing: "lo" is listed once
>
> - with that device added and a buffer that holds the dots and it,
> remove it, finish the listing: "lo" is still listed
>
> - with that device added, stall getdents64() on a userfaultfd page
> while it writes the device's entry, remove the device, finish the
> listing: "lo" is still listed
>
> All three fail without the fix, the first lists "lo" twice, the other
> two not at all.
>
> 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/20261104-work-procfs-bugfixes-v2-0-021c84d852e0@kernel.org?part=33
More information about the kexec
mailing list