summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-09-03 13:59:42 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-09-03 13:59:42 +0300
commit2cadb6a1c5ec48a9a9ca3c57b9c04a729ba2c4c7 (patch)
tree4a171230bfc6d674ad18cbfb1bc493696de9134d /system.h
parent90ad59fb99672b0e645c3318feb7c024d886fd85 (diff)
downloadrpm-2cadb6a1c5ec48a9a9ca3c57b9c04a729ba2c4c7.tar.gz
rpm-2cadb6a1c5ec48a9a9ca3c57b9c04a729ba2c4c7.tar.bz2
rpm-2cadb6a1c5ec48a9a9ca3c57b9c04a729ba2c4c7.zip
Add dummy macros for our needs when building without SELinux.
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system.h b/system.h
index f80ab0d3a..2318ae151 100644
--- 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