]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: switch to sd_bus_track helper 876/head
authorDaniel Mack <daniel@zonque.org>
Wed, 5 Aug 2015 13:58:39 +0000 (15:58 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 5 Aug 2015 15:06:45 +0000 (17:06 +0200)
commit3cde9e8fa0ae2a424ae2e6e27e14668ca5d90c98
treed8320bbaeec3fae3b838278f4c764f185eabe7c9
parent652f0e397fab33e325f4119dceece9f334f549cf
logind: switch to sd_bus_track helper

Let logind use the sd_bus_track helper object to track the controllers of
sessions. This does not only remove quite some code but also kills the
unconditional matches for all NameOwnerChanged signals.

The latter is something we should never ever do, as it wakes up the daemon
every time a client connects, which doesn't scale.
src/login/logind-core.c
src/login/logind-dbus.c
src/login/logind-session.c
src/login/logind-session.h
src/login/logind.c
src/login/logind.h