libgocryptfs/internal/fusefrontend
Jakob Unterwurzacher 21f1f858b9 fusefrontend: make OpenDir() symlink-safe
Interestingly, little or no performance impact:

$ ./benchmark.bash
Testing gocryptfs at /tmp/benchmark.bash.39W: gocryptfs v1.6-42-g30c2349-dirty; go-fuse v20170619-66-g6df8ddc; 2018-11-04 go1.11
Downloading linux-3.0.tar.gz
/tmp/linux-3.0.tar.gz                  100%[=========================================================================>]  92.20M  2.93MB/s    in 31s
2018-11-04 21:44:44 URL:https://cdn.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz [96675825/96675825] -> "/tmp/linux-3.0.tar.gz" [1]
WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.1808 s, 222 MB/s
READ:  262144000 bytes (262 MB, 250 MiB) copied, 0.866438 s, 303 MB/s
UNTAR: 24.745
MD5:   12.050
LS:    3.525
RM:    9.544

Note: kernel has been updated:

$ uname -a
Linux brikett 4.18.16-200.fc28.x86_64 #1 SMP Sat Oct 20 23:53:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
2019-01-01 16:24:25 +01:00
..
args.go reverse mode: add --exclude option 2018-08-11 23:26:49 +02:00
ctlsock_interface.go fusefrontend: use openBackingDir in ctlsock interface 2019-01-01 16:24:20 +01:00
file_allocate_truncate.go fusefrontend: truncateGrowFile: pass zeroPad error to caller 2018-08-15 17:25:22 +02:00
file_holes.go fusefrontend: doWrite: delete file header if first write fails 2018-07-15 15:12:55 +02:00
file.go fusefrontend: Fix debug message in doWrite() method. 2019-01-01 16:12:42 +01:00
fs_dir.go fusefrontend: make OpenDir() symlink-safe 2019-01-01 16:24:25 +01:00
fs.go fusefrontend: make GetAttr() symlink-safe 2019-01-01 16:24:09 +01:00
names_test.go fusefrontend: make openBackingDir() symlink-safe 2019-01-01 16:24:09 +01:00
names.go fusefrontend: mark a few more functions as symlink-safe / unsafe 2019-01-01 16:24:25 +01:00
xattr_darwin.go xattr: added passing of a "flags" parameter 2018-05-07 21:45:40 +02:00
xattr_linux_unit_test.go Improved xattr handling on non-linux systems (#227) 2018-04-17 20:33:04 +02:00
xattr_linux.go xattr: added passing of a "flags" parameter 2018-05-07 21:45:40 +02:00
xattr_unit_test.go fusefrontend: make openBackingDir() symlink-safe 2019-01-01 16:24:09 +01:00
xattr.go fusefrontend: mark a few more functions as symlink-safe / unsafe 2019-01-01 16:24:25 +01:00