<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/defaults, branch v2.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-02-07T19:01:16+00:00</updated>
<entry>
<title>fusefrontend: do not encrypt ACLs</title>
<updated>2021-02-07T19:01:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-02-07T19:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=eaca820e876bfcdc67323eac6dd43ecc420968f2'/>
<id>urn:sha1:eaca820e876bfcdc67323eac6dd43ecc420968f2</id>
<content type='text'>
Pass through system.posix_acl_access and system.posix_acl_default
unencrypted to fix "cp -a" problems.

"cp -a" uses "setxattr" even to set normal permissions, see
https://www.spinics.net/lists/linux-nfs/msg63986.html .

Fixes https://github.com/rfjakob/gocryptfs/issues/543
</content>
</entry>
<entry>
<title>v2api/reverse: implement Lseek</title>
<updated>2020-08-16T17:58:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-08-16T17:58:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d212b246c5e24e6151bef45ad5a8185fdd12a28f'/>
<id>urn:sha1:d212b246c5e24e6151bef45ad5a8185fdd12a28f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>v2api: fix missing size translation in Lookup</title>
<updated>2020-07-26T17:49:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-26T17:49:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4572cd2103ea702d27d8d608edf6abcddc2bda29'/>
<id>urn:sha1:4572cd2103ea702d27d8d608edf6abcddc2bda29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>v2api: implement Lseek</title>
<updated>2020-07-23T20:55:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-23T20:55:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9cd24d79a2a5499eefc3403516eba9d9fcbf1079'/>
<id>urn:sha1:9cd24d79a2a5499eefc3403516eba9d9fcbf1079</id>
<content type='text'>
This also fixes the last remaining tests/fsck failure.
</content>
</entry>
<entry>
<title>tests: fix TestCpWarnings comment typo</title>
<updated>2020-07-12T11:43:34+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-07-12T11:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f3a0dbabeedf3290b27c603b91bcf7ae5a65ad72'/>
<id>urn:sha1:f3a0dbabeedf3290b27c603b91bcf7ae5a65ad72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ctlsock: create exported ctlsock client library</title>
<updated>2020-05-09T15:36:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-05-09T15:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=16221facb9066ccf03015ccfe9e7ca784b0d2099'/>
<id>urn:sha1:16221facb9066ccf03015ccfe9e7ca784b0d2099</id>
<content type='text'>
The former interal ctlsock server package is renamed
to ctlsocksrv.
</content>
</entry>
<entry>
<title>tests: fix data race in TestDirIVRace</title>
<updated>2019-03-03T13:09:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-03-03T13:09:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cd7a6862116dc3bac11d2a67fe93f20a7afc7284'/>
<id>urn:sha1:cd7a6862116dc3bac11d2a67fe93f20a7afc7284</id>
<content type='text'>
Ironically, the test for DirIV races had a data race itself
by writing to a bool without taking a lock.

Found by running "./test.bash -race":

WARNING: DATA RACE
Write at 0x00c00001dea5 by goroutine 22:
  github.com/rfjakob/gocryptfs/tests/defaults.TestDirIVRace.func1()
      /home/jakob/go/src/github.com/rfjakob/gocryptfs/tests/defaults/diriv_test.go:39 +0x38
  github.com/rfjakob/gocryptfs/tests/defaults.TestDirIVRace()
      /home/jakob/go/src/github.com/rfjakob/gocryptfs/tests/defaults/diriv_test.go:73 +0x65c
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:865 +0x163

Previous read at 0x00c00001dea5 by goroutine 23:
  github.com/rfjakob/gocryptfs/tests/defaults.TestDirIVRace.func2()
      /home/jakob/go/src/github.com/rfjakob/gocryptfs/tests/defaults/diriv_test.go:51 +0x8b

Goroutine 22 (running) created at:
  testing.(*T).Run()
      /usr/local/go/src/testing/testing.go:916 +0x699
  testing.runTests.func1()
      /usr/local/go/src/testing/testing.go:1157 +0xa8
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:865 +0x163
  testing.runTests()
      /usr/local/go/src/testing/testing.go:1155 +0x523
  testing.(*M).Run()
      /usr/local/go/src/testing/testing.go:1072 +0x2eb
  github.com/rfjakob/gocryptfs/tests/defaults.TestMain()
      /home/jakob/go/src/github.com/rfjakob/gocryptfs/tests/defaults/main_test.go:21 +0xe1
  main.main()
      _testmain.go:76 +0x222

Goroutine 23 (running) created at:
  github.com/rfjakob/gocryptfs/tests/defaults.TestDirIVRace()
      /home/jakob/go/src/github.com/rfjakob/gocryptfs/tests/defaults/diriv_test.go:43 +0x48d
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:865 +0x163
==================
--- FAIL: TestDirIVRace (0.00s)
    testing.go:809: race detected during execution of test
FAIL
</content>
</entry>
<entry>
<title>tests: darwin: ignore error in TestMvWarningSymlink</title>
<updated>2019-01-20T16:20:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-20T16:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=da3ba5e7f5efb164acb1292dd85b4fe25dd8e3bf'/>
<id>urn:sha1:da3ba5e7f5efb164acb1292dd85b4fe25dd8e3bf</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/349
</content>
</entry>
<entry>
<title>tests: add fd leak retry logic to UnmountErr, really return error</title>
<updated>2019-01-02T00:09:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T00:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=772afa93f98aa77959995e42564b898057c59b87'/>
<id>urn:sha1:772afa93f98aa77959995e42564b898057c59b87</id>
<content type='text'>
Give the gocryptfs process one extra millisecond to close
files. Allows us to drop several other sleeps.

UnmountErr now really returns an error when it detects an fd leak
instead of just printing a message.
</content>
</entry>
<entry>
<title>tests: detect fd leaks on unmount</title>
<updated>2019-01-01T21:01:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T21:01:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=10de105c13e4ef512fe83b8c1074fc453f3e70ff'/>
<id>urn:sha1:10de105c13e4ef512fe83b8c1074fc453f3e70ff</id>
<content type='text'>
For now, this only prints a message but does not fail the tests.
</content>
</entry>
</feed>
