libgocryptfs/internal
Jakob Unterwurzacher 778c955eea fusefrontend_reverse: switch to stable inode numbers
The volatile inode numbers that we used before cause "find" to complain and error out.
Virtual inode numbers are derived from their parent file inode number by adding 10^19,
which is hopefully large enough no never cause problems in practice.

If the backing directory contains inode numbers higher than that, stat() on these files
will return EOVERFLOW.

Example directory lising after this change:

  $ ls -i
               926473 gocryptfs.conf
  1000000000000926466 gocryptfs.diriv
               944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA
  1000000000000944878 gocryptfs.longname.hmZojMqC6ns47eyVxLlH2ailKjN9bxfosi3C-FR8mjA.name
               934408 Tdfbf02CKsTaGVYnAsSypA
2017-04-01 17:19:15 +02:00
..
configfile configfile: always validate all scrypt parameters 2017-03-25 19:36:16 +01:00
contentenc contentenc: catch integer underflow in file size calculation 2017-03-07 20:56:50 +01:00
cryptocore full stack: implement HKDF support 2017-03-05 21:59:55 +01:00
ctlsock ctlsock: handle non-canonical empty paths 2017-02-05 18:17:30 +01:00
exitcodes exitcodes: define code 12 for "password incorrect" 2017-02-26 19:25:23 +01:00
fusefrontend fusefrontend_reverse: switch to stable inode numbers 2017-04-01 17:19:15 +02:00
fusefrontend_reverse fusefrontend_reverse: switch to stable inode numbers 2017-04-01 17:19:15 +02:00
nametransform nametransform: fix Raw64 not affecting symlink targets 2017-03-05 22:59:25 +01:00
prefer_openssl prefer_openssl: default to Go GCM on OSX 2016-12-10 21:04:17 +01:00
readpassword readpassword: increase max password length to 2000 2017-03-20 09:29:56 +01:00
serialize_reads serialize_reads: add read serialization logic 2017-03-18 16:18:00 +01:00
siv_aead full stack: implement HKDF support 2017-03-05 21:59:55 +01:00
speed Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00
stupidgcm Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00
syscallcompat syscallcompat: OSX compat: fix variable warnings 2017-02-16 19:23:17 +01:00
tlog Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00