chiark / gitweb /
bus: report builtins in GetManagedObjects() (#5799)
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 26 Apr 2017 00:36:30 +0000 (02:36 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:52 +0000 (09:46 +0200)
commit25acc5ac49b65a0592d17af8b20df6689a8d3e65
tree91b4c6f95c858ec3c9b187bed91f9644a319832e
parentde8f3aa7dee9dbde1d44a62322ae3574db7cd6b0
bus: report builtins in GetManagedObjects() (#5799)

We already report builtin interfaces with InterfacesAdded and InterfacesRemoved. However,
we never reported them in GetManagedObjects(). This might end up confusing callers that
want to use those interfaces (or simply rely on the interface count to be coherent).

Report the builtins for all objects that are queried.
src/libelogind/sd-bus/bus-objects.c