Necessity to provide support for SCM_CREDENTIALS

Mateusz Malicki <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
Hello,

I am working with dbus-daemon launched in container (enabled user 
namespace).
Client library (outside user namespace) isn't able to connect to dbus 
with EXTERNAL authentication mechanism. Dbus-daemon doesn't support for 
SCM_CREDENTIALS.
This fact is written directly in source code:

dbus/dbus-sysdeps-unix.c +1785

     /* Supported by at least Linux and OpenBSD, with minor differences.
*
      * This mechanism passes the process ID through and does not require
      * the peer's cooperation, so we prefer it over all others. Notably,
      * Linux also supports SCM_CREDENTIALS, which is similar to FreeBSD
      * SCM_CREDS; it's implemented in GIO, but we don't use it in dbus 
at all,
      * because this is much less fragile.
      */


Why it isn't implemented?
If there is green light to implement support for SCM_CREDENTIALS?

Regards,
Mateusz


_______________________________________________
dbus mailing list
[email protected]
http://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.