libgocryptfs/tests/reverse
Jakob Unterwurzacher e8d8ae54d3 fusefrontend: use OpenDirNofollow in openBackingDir
Rename openBackingPath to openBackingDir and use OpenDirNofollow
to be safe against symlink races. Note that openBackingDir is
not used in several important code paths like Create().

But it is used in Unlink, and the performance impact in the RM benchmark
to be acceptable:

Before

	$ ./benchmark.bash
	Testing gocryptfs at /tmp/benchmark.bash.bYO: gocryptfs v1.6-12-g930c37e-dirty; go-fuse v20170619-49-gb11e293; 2018-09-08 go1.10.3
	WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.07979 s, 243 MB/s
	READ:  262144000 bytes (262 MB, 250 MiB) copied, 0.882413 s, 297 MB/s
	UNTAR: 16.703
	MD5:   7.606
	LS:    1.349
	RM:    3.237

After

	$ ./benchmark.bash
	Testing gocryptfs at /tmp/benchmark.bash.jK3: gocryptfs v1.6-13-g84d6faf-dirty; go-fuse v20170619-49-gb11e293; 2018-09-08 go1.10.3
	WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 1.06261 s, 247 MB/s
	READ:  262144000 bytes (262 MB, 250 MiB) copied, 0.947228 s, 277 MB/s
	UNTAR: 17.197
	MD5:   7.540
	LS:    1.364
	RM:    3.410
2018-09-08 19:27:33 +02:00
..
ctlsock_reverse_test_fs Report correct symbolic link dentry sizes 2017-03-07 20:46:58 +01:00
exclude_test_fs reverse mode: add --exclude option 2018-08-11 23:26:49 +02:00
correctness_test.go fusefrontend: use OpenDirNofollow in openBackingDir 2018-09-08 19:27:33 +02:00
ctlsock_test.go fsck: clean up log output 2018-04-02 18:32:30 +02:00
exclude_test.go main: add -e as an alias for -exclude 2018-08-15 13:12:13 +02:00
linux-tarball-test.bash tests: convert remaining wget calls to dl-linux-tarball.bash helper 2018-03-07 09:45:20 +01:00
longname_perf_test.go reverse: more thorough longname stat test 2016-09-25 16:43:17 +02:00
main_test.go tests: reverse: check Access() call 2017-02-16 21:20:29 +01:00