summaryrefslogtreecommitdiff
path: root/code-of-conduct.md
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-07-25 10:43:28 -0400
committerMatthew Heon <matthew.heon@gmail.com>2018-07-25 11:37:15 -0400
commit42bd9d3880d4cdffe14c5021f7fb571ff5f6e77a (patch)
tree0323bd38529a528f45db6882d661b92da43fba2d /code-of-conduct.md
parentc90b7400a8b9ffc77de69ad3aae1754ac006ba21 (diff)
downloadpodman-42bd9d3880d4cdffe14c5021f7fb571ff5f6e77a.tar.gz
podman-42bd9d3880d4cdffe14c5021f7fb571ff5f6e77a.tar.bz2
podman-42bd9d3880d4cdffe14c5021f7fb571ff5f6e77a.zip
Add a mutex to BoltDB state to prevent lock issues
Per https://www.sqlite.org/src/artifact/c230a7a24?ln=994-1081, POSIX file advisory locks are unsafe to use within a single process if multiple file descriptors are open for the same file. Unfortunately, this has a strong potential to happen for multithreaded usage of libpod, and could result in DB corruption. To prevent this, wrap all access to BoltDB within a single libpod instance in a mutex to ensure concurrent access cannot occur. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'code-of-conduct.md')
0 files changed, 0 insertions, 0 deletions