How could I get 'caller name' or 'caller pid' program into DBus

Will Thompson will.thompson at collabora.co.uk
Tue Sep 28 02:20:50 PDT 2010


On 28/09/10 09:42, Mario wrote:
> Please, how could I get the 'caller name' or 'caller pid' program into
> the code of my DBus service (without parameters to service)?

Call GetConnectionUnixProcessID 
<http://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-get-connection-unix-process-id> 
on the bus.

Regards,
-- 
Will


More information about the dbus mailing list