summaryrefslogtreecommitdiff
path: root/internal/cryptocore/cryptocore.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-01-31 18:59:10 +0100
committerJakob Unterwurzacher2018-01-31 18:59:10 +0100
commit26ba8103bf2422493a01b57b8ee53aa9b1e867f7 (patch)
tree287ce2ac739054a8a6caa1f61dc2efd06d9b55fe /internal/cryptocore/cryptocore.go
parentb611e01035ae856c34464eaa480de4b5769a80f2 (diff)
syscallcompat: switch from syscall.Getdents to unix.Getdents
On mips64le, syscall.Getdents() and struct syscall.Dirent do not fit together, causing our Getdents implementation to return garbage ( https://github.com/rfjakob/gocryptfs/issues/200 and https://github.com/golang/go/issues/23624 ). Switch to unix.Getdents which does not have this problem - the next Go release with the syscall package fixes is too far away, and will take time to trickle into distros.
Diffstat (limited to 'internal/cryptocore/cryptocore.go')
0 files changed, 0 insertions, 0 deletions