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 9d6343684..8709b20e3 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c | |||
@@ -1991,8 +1991,10 @@ SELinuxExtensionInit(INITARGS) | |||
1991 | } | 1991 | } |
1992 | 1992 | ||
1993 | /* Don't init unless there's something to do */ | 1993 | /* Don't init unless there's something to do */ |
1994 | if (!security_get_boolean_active("xserver_object_manager")) | 1994 | if (!security_get_boolean_active("xserver_object_manager")) { |
1995 | LogMessage(X_INFO, "SELinux: Disabled by boolean\n"); | ||
1995 | return; | 1996 | return; |
1997 | } | ||
1996 | 1998 | ||
1997 | /* Check SELinux mode in configuration file */ | 1999 | /* Check SELinux mode in configuration file */ |
1998 | switch(selinuxEnforcingState) { | 2000 | switch(selinuxEnforcingState) { |