aboutsummaryrefslogtreecommitdiff
path: root/internal/readpassword/passfile.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/readpassword/passfile.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/readpassword/passfile.go')
0 files changed, 0 insertions, 0 deletions