mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
os: move SELinux enforcement state to the extension
Those fields are better off in the extension instead of the OS layer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328>
This commit is contained in:
committed by
Marge Bot
parent
bb2e2eba42
commit
537293ff4e
@@ -44,6 +44,9 @@ typedef struct {
|
||||
CARD32 id;
|
||||
} SELinuxListItemRec;
|
||||
|
||||
Bool noSELinuxExtension = FALSE;
|
||||
int selinuxEnforcingState = SELINUX_MODE_DEFAULT;
|
||||
|
||||
/*
|
||||
* Extension Dispatch
|
||||
*/
|
||||
|
||||
@@ -168,10 +168,6 @@ Bool noXFixesExtension = FALSE;
|
||||
/* Xinerama is disabled by default unless enabled via +xinerama */
|
||||
Bool noPanoramiXExtension = TRUE;
|
||||
#endif
|
||||
#ifdef XSELINUX
|
||||
Bool noSELinuxExtension = FALSE;
|
||||
int selinuxEnforcingState = SELINUX_MODE_DEFAULT;
|
||||
#endif
|
||||
#ifdef XV
|
||||
Bool noXvExtension = FALSE;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user