Re: bug#77597: listxattr() should return ENOTSUP for sysfs / tmpfs entries, not 0
From: Paul Eggert <hidden>
Date: 2025-05-31 15:25:14
Also in:
lkml
From: Paul Eggert <hidden>
Date: 2025-05-31 15:25:14
Also in:
lkml
On 2025-05-23 04:38, Pádraig Brady wrote:
FYI this should be addressed with: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8b0ba61d
Thanks for letting me know, as this led me to further testing that found some other kernel bugs in this area, possibly introduced by that kernel commit. Please see: "flistxattr with right size wrongly fails with ERANGE, breaking 'cp -a' etc" <https://bugzilla.redhat.com/show_bug.cgi?id=2369561> The email thread starting at "[PATCH] Fix listxattr-related races and stack overflows" <https://lists.nongnu.org/archive/html/acl-devel/2025-05/msg00003.html>.