summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-message.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-09 18:07:46 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-09 18:07:46 +0100
commit7dcd79c295fb1f4bcdda5ead43739acf34100ef8 (patch)
treeabdf4fbea9ff2866d62a1605cb590e9c16d70932 /src/libsystemd/sd-bus/bus-message.h
parent77adde638217112c9e080035197a76f4dc4af700 (diff)
sd-bus: properly support passing memfds around with offset/size parameters
Diffstat (limited to 'src/libsystemd/sd-bus/bus-message.h')
-rw-r--r--src/libsystemd/sd-bus/bus-message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.h b/src/libsystemd/sd-bus/bus-message.h
index db5f90c5de..4dd280dcf0 100644
--- a/src/libsystemd/sd-bus/bus-message.h
+++ b/src/libsystemd/sd-bus/bus-message.h
@@ -55,10 +55,11 @@ struct bus_container {
struct bus_body_part {
struct bus_body_part *next;
void *data;
+ void *mmap_begin;
size_t size;
size_t mapped;
size_t allocated;
- size_t memfd_offset;
+ uint64_t memfd_offset;
int memfd;
bool free_this:1;
bool munmap_this:1;