libgocryptfs/internal/syscallcompat
Jakob Unterwurzacher 15ff79bf14 syscallcompat: warn when Getdents truncates data
On CIFS mounts, unix.Getdents can return sudden ENOENT
in the middle of data. This will not be reported as an error
by user space tools, so return EIO instead.

Also log it as a warning.

https://github.com/rfjakob/gocryptfs/issues/483
2020-05-24 23:30:25 +02:00
..
emulate_test.go syscallcompat: Drop Fstatat emulation on macOS. 2019-01-14 21:27:28 +01:00
emulate.go syscallcompat: Drop Fstatat emulation on macOS. 2019-01-14 21:27:28 +01:00
getdents_linux.go syscallcompat: warn when Getdents truncates data 2020-05-24 23:30:25 +02:00
getdents_other.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
getdents_test.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
helpers.go fusefrontend: doWrite: delete file header if first write fails 2018-07-15 15:12:55 +02:00
main_test.go tests: split testParentDir by UID 2019-05-01 13:12:44 +02:00
open_nofollow_test.go syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow 2018-09-08 17:41:17 +02:00
open_nofollow.go syscallcompat: Use O_PATH to open base directory. 2019-01-03 18:24:05 +01:00
sys_common_test.go tests: reduce noise on MacOS 2019-01-14 22:11:15 +01:00
sys_common.go Revert "syscallcompat: drop Faccessat AT_SYMLINK_NOFOLLOW helper" 2019-01-20 13:10:59 +01:00
sys_darwin.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
sys_linux.go Update go-fuse import path to github.com/hanwen/go-fuse/v2 2020-05-17 14:23:47 +02:00
unix2syscall_darwin.go Fix unix2syscall_darwin.go build failure 2019-05-19 21:04:33 +02:00
unix2syscall_linux.go Fix assignment error in Unix2syscall by converting Timespec into Nsec (#203) 2018-02-03 13:42:49 +01:00