summaryrefslogtreecommitdiff
path: root/source3/registry/reg_cachehook.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-11 15:51:40 +0200
committerAndreas Schneider <asn@samba.org>2012-04-25 14:31:11 +0200
commit22451f7f45c1f692dc9d40af0e6ce82666359390 (patch)
treef813a407c8869e3b9ce964e511dd641f9b0d71c2 /source3/registry/reg_cachehook.h
parent7ea8bd3605adb3a53ca44ebdabfdcdb9c1aeaa18 (diff)
downloadsamba-22451f7f45c1f692dc9d40af0e6ce82666359390.tar.gz
samba-22451f7f45c1f692dc9d40af0e6ce82666359390.tar.bz2
samba-22451f7f45c1f692dc9d40af0e6ce82666359390.zip
s3:registry: fix seqnum race in regdb_fetch_keys_internal
This prevents race between fetching seqnum and key content. Because there is currently no way to atomically fetch the record along with the seqnum, I use a loop. This is far from optimal and should should ideally be done differently. But for now it fixes the race. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/registry/reg_cachehook.h')
0 files changed, 0 insertions, 0 deletions