chiark / gitweb /
sd-bus: teach x-container-unix: bus protoocol to connect to the namespace of a PID...
[elogind.git] / src / libsystemd / sd-bus / bus-internal.h
index f6b0211c2cfe40decfb363c110c904915311ec6b..48c20c97fc4df2e8175a2ae67d394c7e9ce4a705 100644 (file)
@@ -31,6 +31,7 @@
 #include "list.h"
 #include "util.h"
 #include "refcnt.h"
+#include "socket-util.h"
 
 #include "sd-bus.h"
 #include "bus-error.h"
@@ -206,6 +207,7 @@ struct sd_bus {
         bool nodes_modified:1;
         bool trusted:1;
         bool fake_creds_valid:1;
+        bool fake_pids_valid:1;
         bool manual_peer_interface:1;
         bool is_system:1;
         bool is_user:1;
@@ -243,6 +245,7 @@ struct sd_bus {
 
         char *kernel;
         char *machine;
+        pid_t nspid;
 
         sd_id128_t server_id;
 
@@ -306,6 +309,7 @@ struct sd_bus {
         pid_t tid;
 
         struct kdbus_creds fake_creds;
+        struct kdbus_pids fake_pids;
         char *fake_label;
 
         char *cgroup_root;