diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-12-11 10:44:41 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-12-11 10:44:41 +0100 |
commit | becb1a6e9deabad529c8bc1c90eb7d947505695b (patch) | |
tree | a4a195939a32ab4de7e05d49b415f48a218938c4 /src/cgroups-agent | |
parent | 1f140dd8b048c5f5599a886b8c4d20f3f1065774 (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/cgroups-agent')
0 files changed, 0 insertions, 0 deletions