From: Paul Eggert Date: Tue, 17 Jun 2025 16:11:49 +0000 (-0700) Subject: listxattr: document Linux 6.15 bug X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f60688ede03ecfb7799826f3678f9f3612e1926c;p=thirdparty%2Fgnulib.git listxattr: document Linux 6.15 bug This bug should be fixed in Linux kernel 6.16; see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe78e02600f83d81e55f6fc352d82c4f264a2901 For what it's worth, Coreutils decided not to work around the bug, and instead to suggest updating to a fixed kernel or to a future version of libattr with at least the following patches: https://cgit.git.savannah.gnu.org/cgit/attr.git/commit/?id=58abfe6eba0d8d58a61ee8bee0615f74d393fff2 https://cgit.git.savannah.gnu.org/cgit/attr.git/commit/?id=504ab19d7b032212755ab3c7df16be98d5b5212e --- diff --git a/doc/glibc-functions/flistxattr.texi b/doc/glibc-functions/flistxattr.texi index 8aa4eb73a9..9b9d21a6d8 100644 --- a/doc/glibc-functions/flistxattr.texi +++ b/doc/glibc-functions/flistxattr.texi @@ -25,4 +25,7 @@ Linux kernel 6.12. This function does not report synthetic @code{security.*} extended attributes on @code{tmpfs} and @code{kernfs}-based file systems: Linux kernel 6.14. +@item +This function can fail with @code{ERANGE} even if the buffer is large enough: +Linux kernel 6.15. @end itemize diff --git a/doc/glibc-functions/listxattr.texi b/doc/glibc-functions/listxattr.texi index 769d69edd4..c47b4b50fb 100644 --- a/doc/glibc-functions/listxattr.texi +++ b/doc/glibc-functions/listxattr.texi @@ -25,4 +25,7 @@ Linux kernel 6.12. This function does not report synthetic @code{security.*} extended attributes on @code{tmpfs} and @code{kernfs}-based file systems: Linux kernel 6.14. +@item +This function can fail with @code{ERANGE} even if the buffer is large enough: +Linux kernel 6.15. @end itemize diff --git a/doc/glibc-functions/llistxattr.texi b/doc/glibc-functions/llistxattr.texi index 8801ccdca5..0db5c5004b 100644 --- a/doc/glibc-functions/llistxattr.texi +++ b/doc/glibc-functions/llistxattr.texi @@ -22,4 +22,7 @@ Linux kernel 6.12. This function does not report synthetic @code{security.*} extended attributes on @code{tmpfs} and @code{kernfs}-based file systems: Linux kernel 6.14. +@item +This function can fail with @code{ERANGE} even if the buffer is large enough: +Linux kernel 6.15. @end itemize