forked from gentoo/portage
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the _setitem method to use mkstemp in order to avoid a race condition when multiple pid namespaces share the same cache directory. Reported-by: Mike Frysinger <vapier@chromium.org> X-Chromium-Bug: 477727 X-Chromium-Bug-url: https://bugs.chromium.org/p/chromium/issues/detail?id=477727
- Loading branch information
Showing
1 changed file
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters