libgocryptfs/tests/reverse/ctlsock_reverse_test_fs
M. Vefa Bicakci d48ccb3dda Report correct symbolic link dentry sizes
Prior to this commit, gocryptfs's reverse mode did not report correct
directory entry sizes for symbolic links, where the dentry size needs to
be the same as the length of a string containing the target path.

This commit corrects this issue and adds a test case to verify the
correctness of the implementation.

This issue was discovered during the use of a strict file copying program
on a reverse-mounted gocryptfs file system.
2017-03-07 20:46:58 +01:00
..
dir ctlsock: implement EncryptPath for reverse mode, add tests 2016-11-10 23:32:51 +01:00
longdir.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ctlsock: implement EncryptPath for reverse mode, add tests 2016-11-10 23:32:51 +01:00
.gocryptfs.reverse.conf ctlsock: implement EncryptPath for reverse mode, add tests 2016-11-10 23:32:51 +01:00
a_symlink Report correct symbolic link dentry sizes 2017-03-07 20:46:58 +01:00
file ctlsock: implement EncryptPath for reverse mode, add tests 2016-11-10 23:32:51 +01:00
longfile.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ctlsock: implement EncryptPath for reverse mode, add tests 2016-11-10 23:32:51 +01:00