summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-10-15 13:51:34 -0400
committerKeith Packard <keithp@keithp.com>2009-10-27 14:32:09 -0700
commitbec7c23e428c5d9d90aad998a4119eb8416af7da (patch)
treedccb5ed885cf18a9aabff9607e6b5fbc1163102e
parente84432f92655468be7943fb9582cb39ff22bc723 (diff)
xselinux: Note something in the log if disabled by boolean.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--Xext/xselinux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c
index c073f8a00..808ec37ab 100644
--- a/Xext/xselinux.c
+++ b/Xext/xselinux.c
@@ -1981,8 +1981,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) {