mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-03 18:20:36 +01: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:
parent
bb2e2eba42
commit
537293ff4e
2 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue