lix/src/libstore
Andreas Rammhold b2d3976163 Fix potential race-condition in reference scanning code
Previously the code ensures that the isBase32 array would only be
initialised once in a single-threaded context. If two threads happen to
call the function before the initialisation was completed both of them
would have completed the initialization step. This allowed for a
race-condition where one thread might be done with the initialization
but the other thread sets all the fields to false again. For a brief
moment the base32 detection would then produce false-negatives.
2021-08-07 19:10:25 +02:00
..
build Remove redundant RealisedPath::closure() call 2021-07-22 22:43:18 +02:00
builtins
binary-cache-store.cc
binary-cache-store.hh
builtins.hh
ca-specific-schema.sql
content-address.cc
content-address.hh
crypto.cc
crypto.hh
daemon.cc Low-latency closure copy 2021-07-26 13:31:09 +02:00
daemon.hh
derivations.cc
derivations.hh
derived-path.cc
derived-path.hh
dummy-store.cc
export-import.cc
filetransfer.cc
filetransfer.hh
fs-accessor.hh
gc.cc
globals.cc
globals.hh
http-binary-cache-store.cc
legacy-ssh-store.cc buildPaths(): Add an evalStore argument 2021-07-22 09:59:51 +02:00
local-binary-cache-store.cc
local-fs-store.cc
local-fs-store.hh
local-store.cc
local-store.hh
local.mk
lock.cc
lock.hh
machines.cc
machines.hh
misc.cc
names.cc
names.hh
nar-accessor.cc
nar-accessor.hh
nar-info-disk-cache.cc
nar-info-disk-cache.hh
nar-info.cc
nar-info.hh
nix-store.pc.in
optimise-store.cc
parsed-derivations.cc
parsed-derivations.hh
path-info.cc Low-latency closure copy 2021-07-26 13:31:09 +02:00
path-info.hh Low-latency closure copy 2021-07-26 13:31:09 +02:00
path-with-outputs.cc
path-with-outputs.hh
path.cc
path.hh
pathlocks.cc
pathlocks.hh
profiles.cc
profiles.hh
realisation.cc
realisation.hh buildPaths(): Add an evalStore argument 2021-07-22 09:59:51 +02:00
references.cc Fix potential race-condition in reference scanning code 2021-08-07 19:10:25 +02:00
references.hh
remote-fs-accessor.cc
remote-fs-accessor.hh
remote-store.cc Low-latency closure copy 2021-07-26 13:31:09 +02:00
remote-store.hh Low-latency closure copy 2021-07-26 13:31:09 +02:00
s3-binary-cache-store.cc
s3-binary-cache-store.hh
s3.hh
sandbox-defaults.sb
sandbox-minimal.sb
sandbox-network.sb
schema.sql
serve-protocol.hh
sqlite.cc
sqlite.hh
ssh-store.cc
ssh.cc
ssh.hh
store-api.cc Low-latency closure copy 2021-07-26 13:31:09 +02:00
store-api.hh Revert no longer necessary change 2021-07-26 13:50:18 +02:00
uds-remote-store.cc
uds-remote-store.hh
worker-protocol.hh Low-latency closure copy 2021-07-26 13:31:09 +02:00