kdbus: do the audit loginuid translation as late as possible
authorDjalal Harouni <tixxdz@opendz.org>
Wed, 20 Aug 2014 15:58:57 +0000 (16:58 +0100)
committerDaniel Mack <zonque@gmail.com>
Wed, 20 Aug 2014 16:01:36 +0000 (18:01 +0200)
commit82b2e72e7894f8160b69ea70eda8354b7a79cbc3
treedbcbc5de2bda2c77dcdf3ef5a850442a89a783ee
parent7bde48f293f5207ba5820c80bd473012aa453ba0
kdbus: do the audit loginuid translation as late as possible

Do the namespace translation just before pushing into the receiver's
slice, so we map to the receiver's user namespace.

Patch tested.

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