chiark / gitweb /
sd-bus: make sure propagate all errors with vtable callbacks back to clients
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Jun 2017 18:42:28 +0000 (20:42 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:52 +0000 (09:46 +0200)
commitd491da529c3a8f4951221f154d389026be04b432
tree846de59feebdf23953a8ca4300852a4fd65f6d8b
parent1b616e07c7863e9dbf041f39099e8af4a38c73f4
sd-bus: make sure propagate all errors with vtable callbacks back to clients

Previously we'd propagate errors returned by user callbacks configured
in vtables back to the users only for method handlers and property
get/set handlers. This does the same for child enumeration and when we
check whether a fallback unit exists.

Without this the failure will be treated as a non-recoverable connection
error and result in connection termination.

Fixes: #6059
src/libelogind/sd-bus/bus-objects.c