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

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
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.


R.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.