]> Savannah Git Hosting - gnulib.git/commit
qcopy-acl: Optimize copying of ACLs by directly copying the attributes.
authorOndrej Valousek <ondrej.valousek.xm@renesas.com>
Wed, 4 Jan 2023 14:34:26 +0000 (15:34 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 12 Jan 2023 20:38:43 +0000 (21:38 +0100)
commiteb6a8a4dfbe89f9f74666df082255cfefa10a407
treef59c818d20b4145d00193c479cd56bb01225e8cc
parent2886cca8398f4c5a4d68368a19c0e6d0ff97c739
qcopy-acl: Optimize copying of ACLs by directly copying the attributes.

* lib/qcopy-acl.c (is_attr_permissions): New functions.
(qcopy_acl): If USE_XATTR, copy the ACL related attributes directly.
* m4/xattr.m4: New file.
* modules/qcopy-acl (Files): Add it.
(configure.ac): Invoke gl_FUNC_XATTR.
ChangeLog
lib/qcopy-acl.c
m4/xattr.m4 [new file with mode: 0644]
modules/qcopy-acl