libgocryptfs/internal/fusefrontend
Jakob Unterwurzacher 268e0484e2 Revert most of "fusefrontend: clamp oversized reads"
We cannot return less data than requested to the kernel!

From https://libfuse.github.io/doxygen/structfuse__operations.html:

  Read should return exactly the number of bytes
  requested except on EOF or error, otherwise the
  rest of the data will be substituted with
  zeroes.

Reverts commit 3009ec9852 minus
the formatting improvements we want to keep.

Fixes https://github.com/rfjakob/gocryptfs/issues/147
Reopens https://github.com/rfjakob/gocryptfs/issues/145
2017-10-21 17:43:21 +02:00
..
args.go main: purge masterkey from memory as soon as possible 2017-08-11 19:02:26 +02:00
ctlsock_interface.go fusefrontend: implement path decryption via ctlsock 2017-05-07 21:01:39 +02:00
file_allocate_truncate.go fusefrontend: Read: use provided buffer 2017-06-30 23:11:38 +02:00
file_holes.go fusefrontend: truncateGrowFile: avoid createHeader() call 2017-03-12 21:06:59 +01:00
file.go Revert most of "fusefrontend: clamp oversized reads" 2017-10-21 17:43:21 +02:00
fs_dir.go macos: automatically remove .DS_Store on Rmdir 2017-09-05 22:47:15 +02:00
fs.go main: purge masterkey from memory as soon as possible 2017-08-11 19:02:26 +02:00
names.go nametransform: delete unused function DecryptPathDirIV 2016-09-25 18:56:23 +02:00