DBUS_TYPE_LINUX_CRED ?

Thiago Macieira thiago at kde.org
Fri Dec 13 13:42:27 PST 2013


On sexta-feira, 13 de dezembro de 2013 14:19:14, Serge Hallyn wrote:
> > I am pretty sure it would be wrong to have something like this as data
> > type. This data should be appended implicitly, not explicitly.

So it should send them all, like Lennart said that kdbus is already doing.

> It can't be done implicitly, though, since dbus doesn't know which
> ucred I want to send.  I'm not authenticating as that task, I just need
> an unambiguous namespace-independent identifier for it.

Use the unique connection ID.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20131213/2a828132/attachment.pgp>


More information about the dbus mailing list