bus: report builtins in GetManagedObjects() (#5799)
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 26 Apr 2017 00:36:30 +0000 (02:36 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Apr 2017 00:36:30 +0000 (20:36 -0400)
commitc0e7906d2041dad35822a31f8e84768c264d7f6d
tree5e59e6312cf8cf60cdce09c23fb8a53d84c20e26
parentd482e676a6a5cc4cbc4099038a42656465887b33
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/libsystemd/sd-bus/bus-objects.c