Bug 20282

Summary: org.freedesktop.DBus.GetConnectionUnixProcessID not wrapped in reference client implementation
Product: dbus Reporter: Lennart Poettering <lennart>
Component: coreAssignee: D-Bus Maintainers <dbus>
Status: RESOLVED WONTFIX QA Contact: D-Bus Maintainers <dbus>
Severity: enhancement    
Priority: low CC: msniko14
Version: 1.5Keywords: love
Hardware: All   
OS: All   
Whiteboard:
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.