about using privileged (KAuth) helpers: system dbus daemon on OS X?

René J.V. Bertin rjvbertin at gmail.com
Tue Sep 20 20:42:41 UTC 2016

On Tuesday September 20 2016 21:37:02 René J.V. Bertin wrote:

> How does this play out on Linux? I haven't yet run a debugger beyond where init_connections_unlocked() starts checking for a session bus address, but got the impression that a missing session bus address situation would be flagged as "we can always create one automatically". Which probably never happens if the client only requests a system bus connection.
> And if that's correct, I don't see how my proposal is any different.

Looks I thought right; coming out of init_connections_unlocked():

(gdb) p bus_connection_addresses
$1 = {0x95c020 "autolaunch:", 0x95c120 "unix:path=/var/run/dbus/system_bus_socket", 0x95ee00 "autolaunch:"}

an "autolaunch" session bus address can just as well be NULL if it's not going to be used anyway, idem for the starter bus.


More information about the dbus mailing list