summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-08 12:40:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-08 12:40:37 +0300
commit461fd000d22d76d97ad0ac76263477d364691d32 (patch)
treeaa5d72c97a6cf88daafad18b5872e87f3fad3b9e
parent6ca5373aa1f58ccc60e844bd8fd006a738670883 (diff)
downloadrpm-461fd000d22d76d97ad0ac76263477d364691d32.tar.gz
rpm-461fd000d22d76d97ad0ac76263477d364691d32.tar.bz2
rpm-461fd000d22d76d97ad0ac76263477d364691d32.zip
is_selinux_enabled() returns 0 if not enabled, not -1
-rw-r--r--system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system.h b/system.h
index bb1e22c65..7bac08793 100644
--- a/system.h
+++ b/system.h
@@ -210,7 +210,7 @@ typedef char * security_context_t;
#define security_check_context(_c) (0)
-#define is_selinux_enabled() (-1)
+#define is_selinux_enabled() (0)
#define matchpathcon_init(_fn) (-1)
#define matchpathcon_fini() (0)