projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ca5373
)
is_selinux_enabled() returns 0 if not enabled, not -1
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 8 May 2008 09:40:37 +0000
(12:40 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 8 May 2008 09:40:37 +0000
(12:40 +0300)
system.h
patch
|
blob
|
history
diff --git
a/system.h
b/system.h
index
bb1e22c
..
7bac087
100644
(file)
--- 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)