diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-04-13 22:39:49 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-04-13 22:39:49 +0000 |
commit | 07d25b40fa2041439795595115a703e4f00a1a7d (patch) | |
tree | f7e3fef1ca008c110ecc5dcf5cc62c4de7dd9497 /constants.py | |
parent | 4a7602c7d19f62a331f4e578ace4898ad1157ce8 (diff) | |
download | anaconda-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.py | 2 |
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 |