summaryrefslogtreecommitdiff
path: root/include/globals.h
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 /include/globals.h
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 'include/globals.h')
-rw-r--r--include/globals.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/globals.h b/include/globals.h
index b230dfc37..2ca9531d9 100644
--- a/include/globals.h
+++ b/include/globals.h
@@ -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