mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
XSELinux: Add xorg.conf option for permissive/enforcing/disabled.
Patch by Joe Nall. The option goes in the "extmod" subsection. TODO: Make it easier for extension modules to handle their own options.
This commit is contained in:
parent
415e49b940
commit
b5f98fcea2
6 changed files with 72 additions and 7 deletions
|
|
@ -175,6 +175,16 @@ extern Bool noXInputExtension;
|
|||
extern Bool noXIdleExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XSELINUX
|
||||
extern Bool noSELinuxExtension;
|
||||
|
||||
#define SELINUX_MODE_DEFAULT 0
|
||||
#define SELINUX_MODE_DISABLED 1
|
||||
#define SELINUX_MODE_PERMISSIVE 2
|
||||
#define SELINUX_MODE_ENFORCING 3
|
||||
extern int selinuxEnforcingState;
|
||||
#endif
|
||||
|
||||
#ifdef XV
|
||||
extern Bool noXvExtension;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue