libgocryptfs/internal
Jakob Unterwurzacher d12aa57715 fusefronted_reverse: fix ino collision between .name and .diriv files
A directory with a long name has two associated virtual files:
the .name file and the .diriv files.

These used to get the same inode number:

  $ ls -di1  * */*
             33313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw
  1000000000033313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw/gocryptfs.diriv
  1000000000033313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw.name

With this change we use another prefix (2 instead of 1) for .name files.

  $ ls -di1 * */*
             33313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw
  1000000000033313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw/gocryptfs.diriv
  2000000000033313535 gocryptfs.longname.2togDFouca9mrTwtfF1RNW5DZRAQY8alaR7wO_Xd5Zw.name
2017-07-29 16:15:49 +02:00
..
configfile exitcodes: specific codes for failure to read or write gocryptfs.conf 2017-05-14 14:30:50 +02:00
contentenc macos: make testing without openssl work properly 2017-07-14 23:22:15 +02:00
cryptocore macos: make testing without openssl work properly 2017-07-14 23:22:15 +02:00
ctlsock Fix typos found by Misspell 2017-05-07 12:22:15 +02:00
exitcodes Add "-trace" flag (record execution trace) 2017-06-07 22:09:06 +02:00
fusefrontend fusefronted: enable writing to write-only files 2017-07-11 23:19:58 +02:00
fusefrontend_reverse fusefronted_reverse: fix ino collision between .name and .diriv files 2017-07-29 16:15:49 +02:00
nametransform nametransform: reject all-zero dirIV 2017-05-25 14:21:55 +02:00
openfiletable openfiletable: rename WriteLock to ContentLock 2017-05-01 21:57:18 +02:00
pathiv pathiv: fix test failure on Go 1.6 2017-05-31 08:21:36 +02:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword exitcodes: add code 22 for "password is empty" 2017-05-14 14:02:08 +02:00
serialize_reads fix golint complaints 2017-04-29 14:50:58 +02:00
siv_aead fix golint complaints 2017-04-29 14:50:58 +02:00
speed fix golint complaints 2017-04-29 14:50:58 +02:00
stupidgcm macos: make testing without openssl work properly 2017-07-14 23:22:15 +02:00
syscallcompat main, syscallcompat: use Dup3 instead of Dup2 2017-06-18 15:43:22 +02:00
tlog Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00