summaryrefslogtreecommitdiff
path: root/contrib/getdents-debug/getdents_c/getdents.c
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-05-24 23:30:25 +0200
committerJakob Unterwurzacher2020-05-24 23:30:25 +0200
commit15ff79bf144cc8fe780bffdd7447dfbb5df604a8 (patch)
tree4b5a1026bee04a27653bd0e3d86233bb8f7828ae /contrib/getdents-debug/getdents_c/getdents.c
parentb3350f0ebbd6cf4215b85a6c126595b822cb0bc0 (diff)
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
Diffstat (limited to 'contrib/getdents-debug/getdents_c/getdents.c')
0 files changed, 0 insertions, 0 deletions