diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-10-15 13:51:34 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-10-21 20:55:55 -0400 |
commit | 4cf085ce926e10b7a4aa0ae672f23efc1e0525a2 (patch) | |
tree | 7be596ab3887049e4c4f8f9f8a2b096f5f9ada1b | |
parent | 53c14303770ecd39534a73dbed90e4e8fd75423a (diff) |
xselinux: Note something in the log if disabled by boolean.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
-rw-r--r-- | Xext/xselinux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c index 2b106ac2e..a047a00d7 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -1948,8 +1948,10 @@ SELinuxExtensionInit(INITARGS) } /* Don't init unless there's something to do */ - if (!security_get_boolean_active("xserver_object_manager")) + if (!security_get_boolean_active("xserver_object_manager")) { + LogMessage(X_INFO, "SELinux: Disabled by boolean\n"); return; + } /* Check SELinux mode in configuration file */ switch(selinuxEnforcingState) { |