diff options
author | Lukasz Skalski <l.skalski@samsung.com> | 2014-10-13 15:29:57 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-10-14 19:39:55 +0200 |
commit | b0f84d4d7832659f2216bda7a7cdf51f5e79c6eb (patch) | |
tree | 8d9bca7f2df109ffa4e182b87e7fde04e7c2d7c9 /src/shared | |
parent | 9ff5ff320ec71fec7f2c841223380665794afd07 (diff) |
bus-proxyd: improve compatibility with dbus-1
'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
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions