]> git.ipfire.org Git - thirdparty/systemd.git/commit
acl-util: systematically fall back to fchmod() if acl is not available
authorMike Yuan <me@yhndnzj.com>
Tue, 16 Dec 2025 01:18:25 +0000 (02:18 +0100)
committerMike Yuan <me@yhndnzj.com>
Tue, 16 Dec 2025 19:16:58 +0000 (20:16 +0100)
commit5188da568ccd4f987f7762dc1d06a62064f97591
treecc16e8ea65b2896a0e695871b7d8d5ffad4b179e
parent4abf7ee02e7642bc6ff0b064a95ab57c906f4302
acl-util: systematically fall back to fchmod() if acl is not available

Same as 2a64b56da44751a3205c16ed4de6aa52c8e92929, but for
fd_acl_make_writable().

While at it, un-export fd_acl_make_{read_only,writable}_fallback(),
instead apply ifdeffery in .c
src/shared/acl-util.c
src/shared/acl-util.h