summaryrefslogtreecommitdiff
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-10-15 17:51:34 (GMT)
committer Eamon Walsh <ewalsh@tycho.nsa.gov>2009-10-15 17:51:34 (GMT)
commitb14bbce6b420a3891cab886d759175c6a16d54e5 (patch) (side-by-side diff)
tree687ef5df7ef64c500c05494238e7443fbea74e0a
parente26957d0cd937a6433f980c7384f0290c0c579b3 (diff)
downloadxserver-b14bbce6b420a3891cab886d759175c6a16d54e5.zip
xserver-b14bbce6b420a3891cab886d759175c6a16d54e5.tar.gz
xselinux: Note something in the log if disabled by boolean.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Xext/xselinux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c
index 9d63436..8709b20 100644
--- a/Xext/xselinux.c
+++ b/Xext/xselinux.c
@@ -1991,8 +1991,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) {