summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-03-28 14:01:34 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-03-28 14:14:23 -0400
commitb5f98fcea2024c67e598947782913982072cf4fb (patch)
treef0a1b1321cc41ef9f10abada7b12b5777effeab3 /os
parent415e49b940bba2d08870db410ebb47d2add5d836 (diff)
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.
Diffstat (limited to 'os')
-rw-r--r--os/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index 4041028a3..57293ab6f 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -232,6 +232,10 @@ _X_EXPORT Bool noXInputExtension = FALSE;
#ifdef XIDLE
_X_EXPORT Bool noXIdleExtension = FALSE;
#endif
+#ifdef XSELINUX
+_X_EXPORT Bool noSELinuxExtension = FALSE;
+_X_EXPORT int selinuxEnforcingState = SELINUX_MODE_DEFAULT;
+#endif
#ifdef XV
_X_EXPORT Bool noXvExtension = FALSE;
#endif