summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bus/bus.c b/bus/bus.c
index e675b467..d28a9368 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -759,8 +759,10 @@ bus_context_new (const DBusString *config_file,
_DBUS_ASSERT_ERROR_IS_SET (error);
goto failed;
}
-
+
+#ifdef HAVE_SELINUX
audit_init ();
+#endif
}
if (!bus_selinux_full_init ())