diff options
-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 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) { |