connection: pin the subjective cred for KDBUS_POLICY_OWN
authorDjalal Harouni <tixxdz@opendz.org>
Sat, 31 May 2014 20:23:00 +0000 (21:23 +0100)
committerKay Sievers <kay@vrfy.org>
Tue, 3 Jun 2014 10:56:36 +0000 (12:56 +0200)
commitfe13493581ba090f2333f782bdba65883f54ec6d
tree903d09b977e57eb16a0d3d584337020305bcf8b4
parent2fd5f8a8ac08a60085163be77a9346d172b0d154
connection: pin the subjective cred for KDBUS_POLICY_OWN

Make sure that the credentials of the connection at creation time will
last so the kdbus_policy_check_own_access() will work as expected.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection.c