From bc7fd8cdbef54ebd3902cdd455ecad3e095f7450 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 14 May 2013 22:24:26 +0200 Subject: bus: properly handle message bodies that are a chain of memory areas rather than a single one --- src/libsystemd-bus/bus-internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libsystemd-bus/bus-internal.h') diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index 05184fd560..504dac7f09 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -33,6 +33,7 @@ #include "sd-bus.h" #include "bus-error.h" #include "bus-match.h" +#include "bus-kernel.h" struct reply_callback { sd_bus_message_handler_t callback; @@ -152,6 +153,9 @@ struct sd_bus { unsigned iteration_counter; void *kdbus_buffer; + + struct memfd_cache memfd_cache[MEMFD_CACHE_MAX]; + unsigned n_memfd_cache; }; static inline void bus_unrefp(sd_bus **b) { -- cgit v1.2.3-54-g00ecf