summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 10:44:41 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-12-11 10:44:41 +0100
commitbecb1a6e9deabad529c8bc1c90eb7d947505695b (patch)
treea4a195939a32ab4de7e05d49b415f48a218938c4 /src/libsystemd/sd-rtnl
parent1f140dd8b048c5f5599a886b8c4d20f3f1065774 (diff)
bus: fix memfd-cache regarding memfd offsets
We must restore part->mmap_begin when poping memfds from the memfd-cache. We rely on the memfds to be unsealed, so we can be sure that we own the whole FD. Therefore, simply set part->mmap_begin to the same as part->data. This fixes test-bus-kernel-benchmark.
Diffstat (limited to 'src/libsystemd/sd-rtnl')
0 files changed, 0 insertions, 0 deletions