chiark / gitweb /
sd-bus: when credentials of the "org.freedesktop.DBus" service are queried return...
authorLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 16:24:58 +0000 (18:24 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:53 +0000 (09:46 +0200)
commita9b6e5b5d6a83f2ec8c85b0896cdbdc505d51617
tree148edf2d940c7a74670acf010cab080d0b124fe0
parent05c2ba9bc445a75094f8a48e92b79dcedeec3e1a
sd-bus: when credentials of the "org.freedesktop.DBus" service are queried return the bus owner's credentials

The bus driver service is always implemented by the owner of the bus,
hence let's shortcut the credential operation and use our cached data.
This makes sure things simply work, given that dbus itself doesn't
support GetConnectionSELinuxSecurityContext() on the bus driver name
itself.

Fixes: #6120
src/libelogind/sd-bus/bus-control.c