summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-15 08:40:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-15 08:41:34 -0700
commit735716931755c74f3788ac83fead717c0bb22dfe (patch)
treef47d49dbecac525129bc876193e0e7c66c58c9dd /ChangeLog
parent29f9d848e5787ac488463fd85161359542ac00c3 (diff)
downloadgnulib-735716931755c74f3788ac83fead717c0bb22dfe.tar.gz
file-has-acl: improve port to Fedora 39
Problem reported by Ondrej Valousek in: https://lists.gnu.org/r/bug-gnulib/2023-05/msg00078.html * lib/file-has-acl.c: Include minmax.h. [USE_ACL && HAVE_LINUX_XATTR_H && HAVE_LISTXATTR]: Include stdckdint.h. (file_has_acl) [USE_ACL && HAVE_LINUX_XATTR_H && HAVE_LISTXATTR]: If the file has NFSv4 ACLs, ignore any POSIX ACLs, for Fedora 39. Return a bit faster when listxattr returns 0. Don’t loop forever if an attacker is fiddling with ACLs. * modules/file-has-acl (Depends-on): Add minmax, stdckdint.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c5f70d8e6..ade908c972 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2023-05-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ file-has-acl: improve port to Fedora 39
+ Problem reported by Ondrej Valousek in:
+ https://lists.gnu.org/r/bug-gnulib/2023-05/msg00078.html
+ * lib/file-has-acl.c: Include minmax.h.
+ [USE_ACL && HAVE_LINUX_XATTR_H && HAVE_LISTXATTR]: Include stdckdint.h.
+ (file_has_acl) [USE_ACL && HAVE_LINUX_XATTR_H && HAVE_LISTXATTR]:
+ If the file has NFSv4 ACLs, ignore any POSIX ACLs, for Fedora 39.
+ Return a bit faster when listxattr returns 0.
+ Don’t loop forever if an attacker is fiddling with ACLs.
+ * modules/file-has-acl (Depends-on): Add minmax, stdckdint.
+
2023-05-15 Bruno Haible <bruno@clisp.org>
Work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82283 .