mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 03:20:07 +01:00
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>
This commit is contained in:
parent
e84432f926
commit
bec7c23e42
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue