chiark / gitweb /
bus: fake security labels again
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Jan 2014 20:38:14 +0000 (21:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Jan 2014 12:42:06 +0000 (13:42 +0100)
(The kernel module got fixed, so let's reenable this again)

src/bus-proxyd/bus-proxyd.c

index ca2a2ab..b038459 100644 (file)
@@ -465,11 +465,10 @@ int main(int argc, char *argv[]) {
                 a->fake_creds_valid = true;
         }
 
-        /* FIXME: faking security labels is broken in kdbus right now */
-        /* if (peersec) { */
-        /*         a->fake_label = peersec; */
-        /*         peersec = NULL; */
-        /* } */
+        if (peersec) {
+                a->fake_label = peersec;
+                peersec = NULL;
+        }
 
         a->manual_peer_interface = true;