summaryrefslogtreecommitdiff
path: root/shippable.yml
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2017-01-19 02:13:54 +0100
committerJulian Andres Klode <jak@debian.org>2017-02-22 18:11:44 +0100
commit9a1ec661147e6c2580a889e6f53d9c7a8bf73b69 (patch)
tree7a61d7326e5f66eacac0dae1d1749eacc209df37 /shippable.yml
parent9a7b832fe25bab1753b15783ffc2982483bc45d7 (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. (cherry picked from commit 06606f073210fe3902fe92d5ff77fa1ab621b972) (cherry picked from commit 2e5726edcac4fc9228c6b16281365c3ade189b8b)
Diffstat (limited to 'shippable.yml')
0 files changed, 0 insertions, 0 deletions