summaryrefslogtreecommitdiff
path: root/build/cmake
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2017-03-15 23:27:48 +0100
committerMartin Matuska <martin@matuska.org>2017-03-16 11:39:08 +0100
commitbea9f9cf03b97018f2398df070193835b3822713 (patch)
tree843247e3d304df3a70d0b9ecee641b8e8ca33942 /build/cmake
parentf57d129d828f411d6f1eb81ca51dfd9e1fead353 (diff)
downloadlibarchive-bea9f9cf03b97018f2398df070193835b3822713.tar.gz
Add NFSv4 ACL support for Linux via librichacl
Richacls are interpreted as NFSv4 ACLs and stored in archive_acl (Richacl flags and masks are not stored). Analog to mac_metadata, NFSv4 ACLs do not get extracted when the extraction of extended attributes is enabled and the "trusted.richacl" extended attribute is present. RichACL masks and are calculated from file mode on extraction. mac_metadata acl check has been moved in the code to be together with the richacl check.
Diffstat (limited to 'build/cmake')
-rw-r--r--build/cmake/config.h.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index c46a341a..cfd2a5c0 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -188,9 +188,12 @@ typedef uint64_t uintmax_t;
/* FreeBSD NFSv4 ACL support */
#cmakedefine ARCHIVE_ACL_FREEBSD_NFS4 1
-/* Linux ACL support via libacl */
+/* Linux POSIX.1e ACL support via libacl */
#cmakedefine ARCHIVE_ACL_LIBACL 1
+/* Linux NFSv4 ACL support via librichacl */
+#cmakedefine ARCHIVE_ACL_LIBRICHACL 1
+
/* Solaris ACL support */
#cmakedefine ARCHIVE_ACL_SUNOS 1
@@ -1031,6 +1034,9 @@ typedef uint64_t uintmax_t;
/* Define to 1 if you have the <sys/poll.h> header file. */
#cmakedefine HAVE_SYS_POLL_H 1
+/* Define to 1 if you have the <sys/richacl.h> header file. */
+#cmakedefine HAVE_SYS_RICHACL_H 1
+
/* Define to 1 if you have the <sys/select.h> header file. */
#cmakedefine HAVE_SYS_SELECT_H 1