diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-22 03:36:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-22 03:37:10 +0100 |
commit | 2571ead1a6d2747f85ecbc980285a22421e76e21 (patch) | |
tree | 8ad509c7e60f634da1f549583e0446be36d01c26 /src/libsystemd-bus/bus-message.h | |
parent | 20902f3ec8b9d3f8949b15dbd961d3eeb37e9b7b (diff) |
bus: implicitly collect ucred/label information
Diffstat (limited to 'src/libsystemd-bus/bus-message.h')
-rw-r--r-- | src/libsystemd-bus/bus-message.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-message.h b/src/libsystemd-bus/bus-message.h index ed1a4b87b1..b21fdf0ada 100644 --- a/src/libsystemd-bus/bus-message.h +++ b/src/libsystemd-bus/bus-message.h @@ -23,6 +23,7 @@ #include <stdbool.h> #include <byteswap.h> +#include <sys/socket.h> #include "macro.h" #include "sd-bus.h" @@ -77,6 +78,8 @@ struct sd_bus_message { void *fields; void *body; + char *label; + size_t rindex; uint32_t n_fds; @@ -127,5 +130,5 @@ static inline void bus_message_unrefp(sd_bus_message **m) { int bus_message_seal(sd_bus_message *m, uint64_t serial); int bus_message_dump(sd_bus_message *m); int bus_message_get_blob(sd_bus_message *m, void **buffer, size_t *sz); -int bus_message_from_malloc(void *buffer, size_t length, sd_bus_message **ret); +int bus_message_from_malloc(void *buffer, size_t length, struct ucred *ucred, const char *label, sd_bus_message **ret); int bus_message_read_strv_extend(sd_bus_message *m, char ***l); |