summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-835625-multiarch-lockstep-installed-first
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-01-19 02:13:54 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2017-01-19 02:13:54 +0100
commit06606f073210fe3902fe92d5ff77fa1ab621b972 (patch)
treeb4c83e1e11f1558ac803ad5808f0520237020ea9 /test/integration/test-ubuntu-bug-835625-multiarch-lockstep-installed-first
parent0d9081598afa051409b03dbdbe5025cd7ce59ba4 (diff)
avoid validate/delete/load race in cache generation
Keeping the Fd of the cache file we have validated around to later load it into the mmap ensures not only that we load the same file (which wouldn't really be a problem in practice), but that this file also still exists and wasn't deleted e.g. by a 'apt clean' call run in parallel.
Diffstat (limited to 'test/integration/test-ubuntu-bug-835625-multiarch-lockstep-installed-first')
0 files changed, 0 insertions, 0 deletions