From 53f6713976f4b82841f11c37e450c93bd700bde9 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 19 Oct 2007 15:05:27 -0400 Subject: do not call audit_init() from bus/ directory from files in dbus/ 2007-10-19 Havoc Pennington * bus/bus.c (bus_context_new): put the audit_init() in here instead, which I believe ends up being the same as where it was before, though I'm not sure I understand why it goes here. * dbus/dbus-sysdeps-util-unix.c (_dbus_change_to_daemon_user): remove audit_init() from here, this file can't depend on code in bus/ directory --- dbus/dbus-sysdeps-util-unix.c | 1 - 1 file changed, 1 deletion(-) (limited to 'dbus/dbus-sysdeps-util-unix.c') diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index e03e0b76..49965d9a 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -433,7 +433,6 @@ _dbus_change_to_daemon_user (const char *user, _dbus_strerror (errno)); return FALSE; } - audit_init(); } #endif -- cgit