On Fri, Jan 18, 2019 at 1:19 AM Stanislav Angelovič <angelovic.s@xxxxxxxxx> wrote:
Hi,In sd-bus, I guess it is possible to have a one-to-one connection between a service and a client, i.e. connection without D-bus daemon), am I right? If yes, is there any example (in systemd source tree or elsewhere) of sd-bus one-to-one communication usage that I could look at for inspiration and learning on how is that done?
Yes, that's how `systemctl` works when it has privileges. See bus_connect_system_systemd() and bus_connect_user_systemd() in src/shared/bus-util.c.
Mantas Mikulėnas
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel