summaryrefslogtreecommitdiffstats
path: root/mof
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2013-07-12 10:34:41 +0200
committerJan Synacek <jsynacek@redhat.com>2013-07-15 09:36:42 +0200
commit35c4bc3cee6e621d05bffd4074e19d1f017868b6 (patch)
tree64f4d1fb9ca9f22aa513030f6446a64c89980819 /mof
parentbe4b3f4524b33900aadcf9f84c257ed0465893f6 (diff)
downloadopenlmi-providers-35c4bc3cee6e621d05bffd4074e19d1f017868b6.tar.gz
openlmi-providers-35c4bc3cee6e621d05bffd4074e19d1f017868b6.tar.xz
openlmi-providers-35c4bc3cee6e621d05bffd4074e19d1f017868b6.zip
LogicalFile: add selinux contexts support
Add support for displaying the current and the expected selinux context on a file.
Diffstat (limited to 'mof')
-rw-r--r--mof/60_LMI_LogicalFile.mof7
1 files changed, 7 insertions, 0 deletions
diff --git a/mof/60_LMI_LogicalFile.mof b/mof/60_LMI_LogicalFile.mof
index 7ae2e82..5364598 100644
--- a/mof/60_LMI_LogicalFile.mof
+++ b/mof/60_LMI_LogicalFile.mof
@@ -21,6 +21,13 @@
class LMI_UnixFile : CIM_UnixFile
{
+ [ Description (
+ "Current SELinux context." ) ]
+ string SELinuxCurrentContext;
+
+ [ Description (
+ "Expected SELinux context." ) ]
+ string SELinuxExpectedContext;
};
class LMI_DataFile : CIM_DataFile