From: Pádraig Brady
Date: Wed, 15 Jan 2025 23:30:24 +0000 (+0000) Subject: file-has-acl: handle listxattr returning ENOTSUP X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=d19d609ffb1de4ac11c34d25f410adca5691f45d;p=gnulib.git file-has-acl: handle listxattr returning ENOTSUP listxattr() was seen to return ENOTSUP on virtiofs, which resulted in ls outputting "Not supported" errors. * lib/file-has-acl.c (aclinfo_may_indicate_xattr): Treat any non valid acl errno as being inconclusive as to whether there are xattrs available. --- diff --git a/ChangeLog b/ChangeLog index 0c3047361b..eb40d0d685 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2025-01-15 Pádraig Brady
+
+ file-has-acl: handle listxattr returning ENOTSUP
+ listxattr() was seen to return ENOTSUP on virtiofs,
+ which resulted in ls outputting "Not supported" errors.
+ * lib/file-has-acl.c (aclinfo_may_indicate_xattr): Treat any
+ non valid acl errno as being inconclusive as to whether there
+ are xattrs available.
+
2025-01-14 Bruno Haible