aboutsummaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-06-09 14:34:20 +0200
committerJakob Unterwurzacher2026-07-16 22:07:54 +0200
commit2a2f0b376bbd0fc1f737c79cd2e2aab7749a5c6b (patch)
tree3df465c64e72cea04d37583fd33ec9b59610a1e0 /init_dir.go
parente5e594829c7f9bb71cd80ef055c212e09658457a (diff)
fusefrontend: sharedstorage: add file content byte-range locks
As we must write complete ciphertext blocks (except at EOF), non-overlapping plaintext writes can overlap in the ciphertext. And because overlapping writes can turn the data into data soup (see TestPoCTornWrite) we serialize them using fcntl locking.
Diffstat (limited to 'init_dir.go')
0 files changed, 0 insertions, 0 deletions