Add dummy macros for our needs when building without SELinux.
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 3 Sep 2007 10:59:42 +0000 (13:59 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 3 Sep 2007 10:59:42 +0000 (13:59 +0300)
system.h

index f80ab0d..2318ae1 100644 (file)
--- a/system.h
+++ b/system.h
@@ -310,6 +310,10 @@ typedef    char * security_context_t;
 
 #define        is_selinux_enabled()    (-1)
 
+#define matchpathcon_init(_fn)                 (-1)
+#define matchpathcon_fini()                    (0)
+#define matchpathcon(_fn, _fm, _c)             (-1)
+
 #define rpm_execcon(_v, _fn, _av, _envp)       (0)
 #endif