aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/ctlsock_interface.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-06-09 14:34:20 +0200
committerJakob Unterwurzacher2024-12-13 21:21:15 +0100
commit321471f513646663fcb6b9037dd85ffef52f558a (patch)
treecd1a5968b219e3a7455805a221a408ecd5d3d12b /internal/fusefrontend/ctlsock_interface.go
parent57bdab71237f76d1dd0bbb067e66076f970327d1 (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/ctlsock_interface.go')
0 files changed, 0 insertions, 0 deletions