From 728fcd41eb39f66744d84b979dd8195fd47313ed Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 24 Feb 2015 19:42:49 +0100 Subject: gfapi: add glfs_h_acl_set() and glfs_h_acl_get() These two functions add support for POSIX ACLs through the GFAPI-handle interface. The initial infrastructure for POSIX ACLs based on libacl has been added with the required changes to the POSIX xlator: - http://review.gluster.org/9627 NetBSD does not support POSIX ACLs, so using any of the functions should return ENOTSUP. URL: http://www.gluster.org/community/documentation/index.php/Features/Improved_POSIX_ACLs Change-Id: Ie74f3f963c3f9d576cb2f2a1e6d97e3cd4b01eda BUG: 1185654 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/9736 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- glusterfs-api.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glusterfs-api.pc.in') diff --git a/glusterfs-api.pc.in b/glusterfs-api.pc.in index e88e70369ff..a8bc8ebda99 100644 --- a/glusterfs-api.pc.in +++ b/glusterfs-api.pc.in @@ -7,5 +7,5 @@ Name: glusterfs-api Description: GlusterFS API /* This is the API version, NOT package version */ Version: @GFAPI_VERSION@ -Libs: -L${libdir} -lgfapi -lglusterfs -lgfrpc -lgfxdr -Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 +Libs: -L${libdir} @GFAPI_LIBS@ -lgfapi -lglusterfs -lgfrpc -lgfxdr +Cflags: -I${includedir}/glusterfs -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=@USE_POSIX_ACLS@ -- cgit