aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/file.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-06-09 14:34:20 +0200
committerJakob Unterwurzacher2023-06-09 15:07:45 +0200
commitd8f4bdb72a1bcef509fd3e4258c96f8f67db8203 (patch)
tree61ec21be219f580d3bbcae8dc98c8f5084911764 /internal/fusefrontend_reverse/file.go
parent5ae35e904ab7b536a8c8c8a05cd8c69953b3b093 (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 'internal/fusefrontend_reverse/file.go')
0 files changed, 0 insertions, 0 deletions