Am Mi., 25. Nov. 2026 um 18:14 Uhr schrieb Bruno Haible <[email protected]>: > Andreas Gruenbacher wrote: > > * m4/acl.m4 (gl_FUNC_ACL): Check if acl_get_file_at(), > > acl_set_file_at(), acl_delete_def_file_at(), acl_extended_file_at() are > > available. > > * lib/acl-internal.h: Define HAVE_ACL_*_AT macros and shims for those > > functions. > > * lib/file-has-acl.c (fdfile_has_aclinfo): Use acl_extended_file_at() > > when available. > > * lib/get-permissions.c (get_permissions): Likewise for > > acl_get_file_at(). > > * lib/set-permissions.c (set_acls): Likewise for acl_set_file_at() and > > acl_delete_def_file_at(). > > Thanks. The patch passes my tests, so I pushed it in your name. > > As a matter of style, in Gnulib, the first line of a ChangeLog entry should > be the purpose of the change. In other words, which problem does it solve? > So, I changed that to > acl-permissions, file-has-acl: Reduce TOCTOU races on Linux. > > I hope I guessed right?
Yes, that will work. Thank you! Andreas
