summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 03:36:58 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 03:37:10 +0100
commit2571ead1a6d2747f85ecbc980285a22421e76e21 (patch)
tree8ad509c7e60f634da1f549583e0446be36d01c26 /src/libsystemd-bus/bus-internal.h
parent20902f3ec8b9d3f8949b15dbd961d3eeb37e9b7b (diff)
bus: implicitly collect ucred/label information
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index c5bd3788b4..56514aebbc 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -62,6 +62,7 @@ struct sd_bus {
int message_version;
bool can_fds:1;
bool sent_hello:1;
+ bool ucred_valid:1;
void *rbuffer;
size_t rbuffer_size;
@@ -101,6 +102,9 @@ struct sd_bus {
size_t auth_size;
char *auth_uid;
usec_t auth_timeout;
+
+ struct ucred ucred;
+ char label[NAME_MAX];
};
static inline void bus_unrefp(sd_bus **b) {