chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
becb1a6
)
bus: fix memfd-cache regarding memfd offsets
author
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Dec 2014 09:44:41 +0000
(10:44 +0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Dec 2014 09:44:41 +0000
(10:44 +0100)
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.
No differences found