Bug 20282 - org.freedesktop.DBus.GetConnectionUnixProcessID not wrapped in reference client implementation
Summary: org.freedesktop.DBus.GetConnectionUnixProcessID not wrapped in reference clie...
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: 1.5
Hardware: All All
: low enhancement
Assignee: D-Bus Maintainers
QA Contact: D-Bus Maintainers
Keywords: love
Depends on:
Reported: 2009-02-23 17:23 UTC by Lennart Poettering
Modified: 2016-07-01 15:49 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Lennart Poettering 2009-02-23 17:23:00 UTC
Apparently org.freedesktop.DBus.GetConnectionUnixProcessID is implemented in the reference C server implementation and wrapped in dbus-sharp and the java bindings. However it is neither documented in the spec nor is it wrapped in the reference C client implementation.

Given that this is used by lots of software these days it would be good if this could be reflected by the spec and in the reference C client implementation.
Comment 1 Will Thompson 2010-10-05 03:45:29 UTC
I documented this in the spec a while back; but it's still not bound in libdbus.
Comment 2 Simon McVittie 2011-01-26 03:23:14 UTC
Patches welcome (it shouldn't be too hard to do), but not a priority for me compared with the stack of bugs we have here :-)
Comment 3 Simon McVittie 2016-07-01 15:49:39 UTC
Now that the best way to get credentials is GetConnectionCredentials() (which gets uid, pid and LSM context in one round-trip), I don't think we should wrap the less useful function.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.