chiark / gitweb /
bus-proxyd: improve compatibility with dbus-1
authorLukasz Skalski <l.skalski@samsung.com>
Mon, 13 Oct 2014 13:29:57 +0000 (15:29 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 14 Oct 2014 17:39:55 +0000 (19:39 +0200)
'GetConnectionUnixProcessID', 'GetConnectionUnixUser' and
'GetConnectionSELinuxSecurityContext' methods should return
'NameHasNoOwner' error (if chosen name is not available on bus)
with more detailed description - like dbus-1:

Could not get PID of name 'org.freedesktop.test': no such name.
Could not get UID of name 'org.freedesktop.test': no such name.
Could not get security context of name 'org.freedesktop.test': no such name.

Otherwise we have only laconic message without proper dbus error:

Error System.Error.ENXIO: No such device or address


No differences found