thiago at kde.org
Fri Dec 13 13:55:38 PST 2013
On sexta-feira, 13 de dezembro de 2013 15:53:26, Serge Hallyn wrote:
> Quoting Thiago Macieira (thiago at kde.org):
> > 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.
> Send all of what?
All of the credentials.
He said: "In kdbus you will also get a variety of creds attached to all
messages implicitly (pid, gid, uid, pid_starttime, tid, comm, tid_comm,
cmdline, cgroup, unit, slice, user unit, session, owner uid, eff caps, inh
caps, perm caps, bounding caps, selinux context, audit session, audit login
> > > 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.
> an unambiguous namespace-independent identifier for a task not involved
> in the connection.
The task is involved in the connection since it's sending data in the first
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...
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the dbus