getsockopt using SO_PASSCRED option on dbus - possible ?

Julian Thomé frostisch at yahoo.de
Thu Jul 15 12:14:47 PDT 2010


Hello Mailing List,

i want to retreive the credentials of the dbus-proxy-daemon using
getsockopt after a simple connect. I have attached the sourcefile. But
this doesn't work in this way. The pid returned is not the one of the
dbus-daemon.

Does anybody have a hint or an advice.

Thank you very much
  Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testcred.c
Type: text/x-csrc
Size: 1101 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100715/ebc4890c/attachment.c>


More information about the dbus mailing list