Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-14 | syscallcompat: don't retry Close() | Jakob Unterwurzacher | |
After Close() returns, the fd is dead, even if we received EINTR. Don't retry, we could shoot down an unrelated fd that received the same fd number. | |||
2020-10-14 | syscallcompat: retry ops on EINTR | Jakob Unterwurzacher | |
Retry operations that have been shown to throw EINTR errors on CIFS. Todo: Solution for this pain in the back: warning: unix.Getdents returned errno 2 in the middle of data rm: cannot remove 'linux-3.0.old3/Documentation/ABI/removed': Input/output error Progress towards fixing https://github.com/rfjakob/gocryptfs/issues/483 . | |||
2020-10-11 | syscallcompat: Openat: retry on EINTR | Jakob Unterwurzacher | |
Towards fixing https://github.com/rfjakob/gocryptfs/issues/507 | |||
2020-09-12 | Add support for FIDO2 tokens | Pavol Rusnak | |
2020-09-09 | v2api: add Darwin xattr support | Jakob Unterwurzacher | |
2020-09-09 | syscallcompat: add Renameat2 for Darwin | Jakob Unterwurzacher | |
2020-08-30 | v2api/reverse: update TODO comment on xattrs | Jakob Unterwurzacher | |
2020-08-16 | v2api/reverse: implement Lseek | Jakob Unterwurzacher | |
2020-08-16 | v2api/reverse: implement Statfs | Jakob Unterwurzacher | |
2020-08-16 | v2api: clean up api TODOs | Jakob Unterwurzacher | |
2020-08-16 | v2api: rename "File2" to just "File" | Jakob Unterwurzacher | |
Rename the symbols and the files. | |||
2020-08-15 | v2api/reverse: finish -exclude | Jakob Unterwurzacher | |
Tests pass now. | |||
2020-08-15 | v2api/reverse: start wiring up -exclude functionality | Jakob Unterwurzacher | |
Exclude in readdir is missing. | |||
2020-08-15 | v2api/reverse: fix two fd leaks | Jakob Unterwurzacher | |
2020-08-15 | v2api/reverse: implement ctlsocksrv.Interface | Jakob Unterwurzacher | |
2020-08-15 | v2api/reverse: implement gocryptfs.conf mapping with -plaintextnames | Jakob Unterwurzacher | |
2020-08-09 | v2api/reverse: implement Read | Jakob Unterwurzacher | |
2020-08-08 | v2api/reverse: implement Readlink | Jakob Unterwurzacher | |
2020-08-02 | v2api/reverse: implement Lookup for longname | Jakob Unterwurzacher | |
2020-08-02 | v2api/reverse: implement Lookup for gocryptfs.conf & gocryptfs.diriv | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: add missing decryptPath call openBackingDir | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: implement Readdir | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: implement Lookup & Getattr | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: start fusefrontend_reverse v2 API implementation | Jakob Unterwurzacher | |
2020-08-01 | v2api/reverse: move old fusefrontend_reverse out of the way | Jakob Unterwurzacher | |
fusefrontend_reverse -> fusefrontend_reverse_v1api | |||
2020-08-01 | fusefrontend_reverse: collapse getFileType | Jakob Unterwurzacher | |
2020-08-01 | v2api: move helpers from node.go to node_helpers.go | Jakob Unterwurzacher | |
2020-07-26 | v2api: fix missing size translation in Lookup | Jakob Unterwurzacher | |
2020-07-26 | v2api: delete (most) fusefrontend v1 files | Jakob Unterwurzacher | |
All the functionality in these files has been reimplemented for the v2 api. Drop the old files. | |||
2020-07-23 | v2api: implement Lseek | Jakob Unterwurzacher | |
This also fixes the last remaining tests/fsck failure. | |||
2020-07-19 | v2api: Lookup: use newChild() helper | Jakob Unterwurzacher | |
2020-07-18 | v2api: Node: make Path() public | Jakob Unterwurzacher | |
Helpful for fsck. | |||
2020-07-17 | v2api: implement ctlsocksrv.Interface | Jakob Unterwurzacher | |
2020-07-14 | v2api: implement Getxattr, Setxattr, Removexattr, Listxattr | Jakob Unterwurzacher | |
gocryptfs/tests/xattr passes. | |||
2020-07-12 | v2api: Setattr: fill `out` structure | Jakob Unterwurzacher | |
2020-07-12 | v2api: fix Mkfifo | Jakob Unterwurzacher | |
2020-07-12 | v2api: properly implement Node.Setattr | Jakob Unterwurzacher | |
We used to always open a *File2 and letting the *File2 handle Setattr. This does not work it we cannot open the file! Before: $ go test 2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT 2020/07/12 20:14:57 writer: Write/Writev failed, err: 2=no such file or directory. opcode: INTERRUPT --- FAIL: TestLchown (0.00s) matrix_test.go:634: lchown /tmp/gocryptfs-test-parent-1026/014500839/default-plain/symlink: too many levels of symbolic links touch: setting times of '/tmp/gocryptfs-test-parent-1026/014500839/default-plain/utimesnano_symlink': Too many levels of symbolic links --- FAIL: TestUtimesNanoSymlink (0.00s) matrix_test.go:655: exit status 1 --- FAIL: TestMkfifo (0.00s) matrix_test.go:755: file exists --- FAIL: TestMagicNames (0.00s) matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs" matrix_test.go:773: Testing n="gocryptfs.diriv" matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/014500839/default-plain/linktarget: permission denied --- FAIL: TestChmod (0.00s) matrix_test.go:840: chmod 444 -> 000 failed: permission denied matrix_test.go:840: chmod 444 -> 111 failed: permission denied matrix_test.go:840: chmod 444 -> 123 failed: permission denied matrix_test.go:840: chmod 444 -> 321 failed: permission denied FAIL exit status 1 FAIL github.com/rfjakob/gocryptfs/tests/matrix 0.790s After: $ go test --- FAIL: TestMkfifo (0.00s) matrix_test.go:755: file exists --- FAIL: TestMagicNames (0.00s) matrix_test.go:773: Testing n="gocryptfs.longname.QhUr5d9FHerwEs--muUs6_80cy6JRp89c1otLwp92Cs" matrix_test.go:773: Testing n="gocryptfs.diriv" matrix_test.go:815: open /tmp/gocryptfs-test-parent-1026/501766059/default-plain/linktarget: permission denied --- FAIL: TestChmod (0.00s) matrix_test.go:849: modeHave 0644 != modeWant 0 FAIL exit status 1 FAIL github.com/rfjakob/gocryptfs/tests/matrix 0.787s | |||
2020-07-12 | v2api: Getattr: use file handle if passed | Jakob Unterwurzacher | |
2020-07-12 | v2api: Getattr: fix file size | Jakob Unterwurzacher | |
2020-07-12 | v2api: call InitSerializer | Jakob Unterwurzacher | |
If we don't, reads hang with -serialize_reads. | |||
2020-07-12 | v2api: fix Rename trying to overwrite itself | Jakob Unterwurzacher | |
We used to do this [pid 99182] renameat2(14, "Y_4DAxKvj1QnXmJx2AkrKA", 15, ".", RENAME_NOREPLACE <unfinished ...> which was not the intention. | |||
2020-07-12 | v2api: fix Mkdir crash when using plaintextnames | Jakob Unterwurzacher | |
2020-07-12 | v2api: fix double-lock in truncate | Jakob Unterwurzacher | |
2020-07-12 | v2api: File2: implement Release, Read, Write, Fsync, Flush, Allocate | Jakob Unterwurzacher | |
Fortunately, this just means fixing up the function signatures. | |||
2020-07-11 | v2api: fix RootNode cast | Jakob Unterwurzacher | |
2020-07-11 | v2api: fix TestOpenBackingDir | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Rename | Jakob Unterwurzacher | |
2020-07-11 | v2api: remove OpenatUserCtx, MknodatUserCtx helpers | Jakob Unterwurzacher | |
Instead, use the new toFuseCtx() function introduced in an earlier commit. | |||
2020-07-11 | v2api: implement Symlink | Jakob Unterwurzacher | |
2020-07-11 | v2api: implement Link | Jakob Unterwurzacher | |