summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-24 15:03:32 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-24 15:27:59 +0100
commit8a0e0ed9ddfa208e414355881acb886270039268 (patch)
tree8e5708a04e2d9b6a8444ea1c0794f600b52edd43 /src/libsystemd-bus/bus-internal.h
parent515c883021bb3331df4d40fa62c333c0647a1d82 (diff)
bus: fake client side creds in the proxy to the caller's creds
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 7af8c1e22d..673f30eb91 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -36,6 +36,7 @@
#include "bus-error.h"
#include "bus-match.h"
#include "bus-kernel.h"
+#include "kdbus.h"
struct reply_callback {
sd_bus_message_handler_t callback;
@@ -161,6 +162,7 @@ struct sd_bus {
bool filter_callbacks_modified:1;
bool nodes_modified:1;
bool trusted:1;
+ bool fake_creds_valid:1;
int use_memfd;
@@ -259,6 +261,9 @@ struct sd_bus {
sd_bus **default_bus_ptr;
pid_t tid;
+
+ struct kdbus_creds fake_creds;
+ char *fake_label;
};
#define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC))