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:
parent
bb2e2eba42
commit
537293ff4e
|
@ -44,6 +44,9 @@ typedef struct {
|
||||||
CARD32 id;
|
CARD32 id;
|
||||||
} SELinuxListItemRec;
|
} SELinuxListItemRec;
|
||||||
|
|
||||||
|
Bool noSELinuxExtension = FALSE;
|
||||||
|
int selinuxEnforcingState = SELINUX_MODE_DEFAULT;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extension Dispatch
|
* Extension Dispatch
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -168,10 +168,6 @@ Bool noXFixesExtension = FALSE;
|
||||||
/* Xinerama is disabled by default unless enabled via +xinerama */
|
/* Xinerama is disabled by default unless enabled via +xinerama */
|
||||||
Bool noPanoramiXExtension = TRUE;
|
Bool noPanoramiXExtension = TRUE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef XSELINUX
|
|
||||||
Bool noSELinuxExtension = FALSE;
|
|
||||||
int selinuxEnforcingState = SELINUX_MODE_DEFAULT;
|
|
||||||
#endif
|
|
||||||
#ifdef XV
|
#ifdef XV
|
||||||
Bool noXvExtension = FALSE;
|
Bool noXvExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue