Re: about using privileged (KAuth) helpers: system dbus daemon on OS X?
Thiago Macieira <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <3080213.C34yzUdQ8z@tjmaciei-mobl1> |
On sexta-feira, 23 de setembro de 2016 16:24:17 PDT René J.V. Bertin wrote: > If that is indeed the case, then a similar mechanism could be designed for > DBUS_LAUNCHD_SYSTEM_BUS_SOCKET, knowing that in that case the system socket > will always be at a different address. That's going to make it difficult to > read the variable for all processes that don't run as the dbus user > (messagebus), at least if we want to be able to do it via `launchtl getenv` > instead of via a regular getenv(). Just do what Simon suggested: start dbus-daemon at boot and have it use a fixed Unix socket path that is known at compile time. If you're going to treat macOS as a regular Unix, might as well implement the regular Unix solution. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus