summaryrefslogtreecommitdiffstats
path: root/xlators/features/selinux/src
diff options
context:
space:
mode:
authorJiffin Tony Thottan <jthottan@redhat.com>2017-08-31 15:07:10 +0530
committerAmar Tumballi <amarts@redhat.com>2017-12-10 01:10:25 +0000
commit6021331f4095813614d184f67fc6a0c08b8e8837 (patch)
treebe614230841d4867349fa267e1262fe3aa8e3d35 /xlators/features/selinux/src
parentaeff5def7e11de418d55f996926cbd5818c0494d (diff)
trash/selinux : update volume option table in xlator
Add new options defined by https://review.gluster.org/18059 to trash and selinux Updates #302 Change-Id: I31064f26d2b244a2923baa4bb948a6e8ab7b0d1a Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'xlators/features/selinux/src')
-rw-r--r--xlators/features/selinux/src/selinux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/selinux/src/selinux.c b/xlators/features/selinux/src/selinux.c
index 1a4b39f253c..190f10b57d8 100644
--- a/xlators/features/selinux/src/selinux.c
+++ b/xlators/features/selinux/src/selinux.c
@@ -319,6 +319,9 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_BOOL,
.default_value = "on",
.description = "Enable/disable selinux translator",
+ .op_version = {GD_OP_VERSION_3_11_0},
+ .flags = OPT_FLAG_SETTABLE,
+ .tags = {"security" , "linux"},
},
{ .key = { NULL }, }
};