]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Change way we fake dbus method calls
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 30 Aug 2013 13:10:52 +0000 (14:10 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 30 Aug 2013 13:23:32 +0000 (14:23 +0100)
commitdbd2bc8c8bdd927f3e9132afc8579dbaa1de91de
tree60da04b11a3b9bdcbd345381f8e4b9b65d52fc34
parentdd3688e4d172bdf433be4fc6da820d3b7745f6c9
Change way we fake dbus method calls

Ubuntu libdbus.so links with -Bsymbolic-functions, which means
that we can only LD_PRELOAD functions that we directly call.
Functions which libdbus.so calls internally can not be replaced.
Thus we cannot use dbus_message_new_error or dbus_message_new_method_return

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/virsystemdmock.c