diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-09 14:06:54 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-09 14:06:54 +0100 |
commit | 3212c450bbb16199e02c3470fccf593727c567e7 (patch) | |
tree | c315e83117eb63477fd1fffb7867fdab8a4928ac /bus/selinux.c | |
parent | bf7c65f5218d07734bcc7be373ebc33278806824 (diff) | |
parent | 79aafc193176253454dd455a4cfc45a1a2e36c00 (diff) |
Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbus
Diffstat (limited to 'bus/selinux.c')
-rw-r--r-- | bus/selinux.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bus/selinux.c b/bus/selinux.c index 7fedba6f..8c7a6f83 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -113,7 +113,7 @@ static const struct avc_lock_callback lock_cb = static int audit_fd = -1; #endif -static void +void audit_init(void) { #ifdef HAVE_LIBAUDIT @@ -350,12 +350,8 @@ bus_selinux_full_init (void) freecon (bus_context); - audit_init (); - - return TRUE; -#else - return TRUE; #endif /* HAVE_SELINUX */ + return TRUE; } /** |