diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-15 08:40:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-15 08:41:34 -0700 |
commit | 735716931755c74f3788ac83fead717c0bb22dfe (patch) | |
tree | f47d49dbecac525129bc876193e0e7c66c58c9dd /ChangeLog | |
parent | 29f9d848e5787ac488463fd85161359542ac00c3 (diff) | |
download | gnulib-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-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 . |