mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 05:20:05 +01:00
xselinux: Note something in the log if disabled by boolean.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
This commit is contained in:
parent
53c1430377
commit
4cf085ce92
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue