diff options
author | Daniel Mueller <deso@posteo.net> | 2017-04-09 21:24:38 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-04-09 21:24:38 -0700 |
commit | 5744889d0d3a9c033913bdce499064a4760a1249 (patch) | |
tree | dd5744f2a25fddb15882483e8fb07de8bbc62a06 /libc/src/unix/notbsd/linux/other/b64 | |
parent | 3ce72e0ce1a0442786bc2600a7f276ae1994d90e (diff) | |
download | nitrocli-5744889d0d3a9c033913bdce499064a4760a1249.tar.gz nitrocli-5744889d0d3a9c033913bdce499064a4760a1249.tar.bz2 |
Flush filesystem caches before closing encrypted volume
When closing the encrypted volume we could potentially cause the volume
to be in an inconsistent state if writes to it were cached by the
operating system.
To mitigate this case this patch causes an invocation to the sync(2)
system call to flush outstanding writes to disk.
Diffstat (limited to 'libc/src/unix/notbsd/linux/other/b64')
0 files changed, 0 insertions, 0 deletions