| Age | Commit message (Collapse) | Author | 
 | 
...and if Getdents is not available at all.
Due to this warning I now know that SSHFS always returns DT_UNKNOWN:
    gocryptfs[8129]: Getdents: convertDType: received DT_UNKNOWN, falling back to Lstat
This behavoir is confirmed at http://ahefner.livejournal.com/16875.html:
    "With sshfs, I finally found that obscure case. The dtype is always set to DT_UNKNOWN [...]"
 | 
 | 
The Readdir function provided by os is inherently slow because
it calls Lstat on all files.
Getdents gives us all the information we need, but does not have
a proper wrapper in the stdlib.
Implement the "Getdents()" wrapper function that calls
syscall.Getdents() and parses the returned byte blob to a
fuse.DirEntry slice.
 | 
 | 
Dup2 is not implemented on linux/arm64.
Fixes https://github.com/rfjakob/gocryptfs/issues/121 .
Also adds cross-compilation to CI.
 | 
 | 
As suggested by
https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Protip: find naked *at syscalls using:
   git grep "syscall." | grep "at(" | grep -v syscallcompat
 | 
 | 
Also, replace remaining naked syscall.Openat calls.
 | 
 | 
Adds a poor man's renameat implementation for OSX.
 | 
 | 
...and convert all calls to syscall.{Fallocate,Openat}
to syscallcompat .
Both syscalls are not available on OSX. We emulate Openat and just
return EOPNOTSUPP for Fallocate.
 | 
 | 
We will get more of them as OSX also lacks support for openat.
 |