summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-05-29 22:01:42 -0700
committerAnand Avati <avati@redhat.com>2012-05-29 22:58:07 -0700
commitf69785a9e3f9ad55e81f1fe8212485b7e4dc11fe (patch)
tree7c0ccc27d3f9ebbd13322260837cf24ccc0792a7 /libglusterfs
parent647f561f6ad16174da700ea6b70f01b6e0ae6d96 (diff)
fuse: make SELinux support configurable
Make support for SELinux labels (extended attributes) configurable and disabled by default as it can cause significant performance penalty when enabled (it need not be enabled unless specially crafted policies are set -- which is not by default) Change-Id: I97bc4b1c26cf055fd520e9bf2d49e52b14fe7515 BUG: 811217 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.com/3485 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 0917ac1b586..cdfb64dea84 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -288,6 +288,7 @@ struct _cmd_args {
int debug_mode;
int read_only;
int acl;
+ int selinux;
int worm;
int mac_compat;
struct list_head xlator_options; /* list of xlator_option_t */