summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-04-13 22:39:49 +0000
committerJeremy Katz <katzj@redhat.com>2004-04-13 22:39:49 +0000
commit07d25b40fa2041439795595115a703e4f00a1a7d (patch)
treef7e3fef1ca008c110ecc5dcf5cc62c4de7dd9497 /constants.py
parent4a7602c7d19f62a331f4e578ace4898ad1157ce8 (diff)
downloadanaconda-07d25b40fa2041439795595115a703e4f00a1a7d.tar.gz
anaconda-07d25b40fa2041439795595115a703e4f00a1a7d.tar.xz
anaconda-07d25b40fa2041439795595115a703e4f00a1a7d.zip
New Improved SELinux handling
* default in constants.py * 'selinux' flag will key it on (if off by default) * turn on for selinux=1, off for selinux=0 * non-existence of selinuxfs will force off
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index 88df39970..f2019705d 100644
--- a/constants.py
+++ b/constants.py
@@ -19,6 +19,8 @@ BETANAG = 1
DEBUG = 0
+SELINUX_DEFAULT = 0
+
cmdline = open("/proc/cmdline", "r").read()
if cmdline.find("debug") != -1:
DEBUG = 1