bug#77597: listxattr() should return ENOTSUP for sysfs / tmpfs entries, not 0
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <be46b324-db6c-4ebb-96c3-0280d32aac66__5036.06577856175$1748705183$gmane$org@cs.ucla.edu> |
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>.