aboutsummaryrefslogtreecommitdiff
path: root/rand/rand_hc
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-04-09 21:24:38 -0700
committerDaniel Mueller <deso@posteo.net>2017-04-09 21:24:38 -0700
commit5744889d0d3a9c033913bdce499064a4760a1249 (patch)
treedd5744f2a25fddb15882483e8fb07de8bbc62a06 /rand/rand_hc
parent3ce72e0ce1a0442786bc2600a7f276ae1994d90e (diff)
downloadnitrocli-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 'rand/rand_hc')
0 files changed, 0 insertions, 0 deletions