diff options
author | Jakob Unterwurzacher | 2023-06-09 14:34:20 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-06-09 15:07:45 +0200 |
commit | d8f4bdb72a1bcef509fd3e4258c96f8f67db8203 (patch) | |
tree | 61ec21be219f580d3bbcae8dc98c8f5084911764 /cryptfs/address_translation.go | |
parent | 5ae35e904ab7b536a8c8c8a05cd8c69953b3b093 (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 'cryptfs/address_translation.go')
0 files changed, 0 insertions, 0 deletions