<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/syscallcompat, branch v1.5</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2018-06-07T22:47:48+00:00</updated>
<entry>
<title>darwin does not have PATH_MAX</title>
<updated>2018-06-07T22:47:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-07T22:47:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bde7ba57b06eb46f8901454e12524a74a8c3b6e8'/>
<id>urn:sha1:bde7ba57b06eb46f8901454e12524a74a8c3b6e8</id>
<content type='text'>
Define our own, with the value from Linux.
</content>
</entry>
<entry>
<title>Fix the easy golint warnings</title>
<updated>2018-04-08T18:26:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-08T18:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bcc8378a2c07476a43c1fe316b79590177ded3d3'/>
<id>urn:sha1:bcc8378a2c07476a43c1fe316b79590177ded3d3</id>
<content type='text'>
Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs
</content>
</entry>
<entry>
<title>macos: tests: fix deleting of scratch dir</title>
<updated>2018-03-05T22:40:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T22:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4732e33a9a39935ecc07dfb7e857cc05b6fc6045'/>
<id>urn:sha1:4732e33a9a39935ecc07dfb7e857cc05b6fc6045</id>
<content type='text'>
macos rm does not understand --one-file-system,
and it cannot handle unreadable directories.
</content>
</entry>
<entry>
<title>macos: fix second TestEmulateSymlinkat test failure</title>
<updated>2018-03-05T20:20:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T20:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7db5395c5346a1b32656b27e504417779435edc8'/>
<id>urn:sha1:7db5395c5346a1b32656b27e504417779435edc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MacOS: don't test symlinks longer than 1000 bytes</title>
<updated>2018-02-28T19:40:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-28T19:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c5243fc79e25cd589e78f47dafe0e8144885e6e4'/>
<id>urn:sha1:c5243fc79e25cd589e78f47dafe0e8144885e6e4</id>
<content type='text'>
The limit is much lower than on Linux.

https://github.com/rfjakob/gocryptfs/issues/213
</content>
</entry>
<entry>
<title>MacOS: fix TestEmulateSymlinkat test failure</title>
<updated>2018-02-28T19:19:31+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-28T19:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=90f2fea7fba8cd2cab1c28471f955a99f91ca0ad'/>
<id>urn:sha1:90f2fea7fba8cd2cab1c28471f955a99f91ca0ad</id>
<content type='text'>
On MacOS, symlinks don't have their own permissions,
so don't check for them.
</content>
</entry>
<entry>
<title>gccgo: skip emulateGetdents on linux</title>
<updated>2018-02-04T20:14:12+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-04T20:13:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8151222ada4c687bfad7e2f35c73aacbbc24c6b5'/>
<id>urn:sha1:8151222ada4c687bfad7e2f35c73aacbbc24c6b5</id>
<content type='text'>
The test is known to fail on gccgo
(https://github.com/rfjakob/gocryptfs/issues/201), but
getdents emulation is not used on linux, so let's skip
the test and ignore the failure.
</content>
</entry>
<entry>
<title>Fix assignment error in Unix2syscall by converting Timespec into Nsec (#203)</title>
<updated>2018-02-03T12:42:49+00:00</updated>
<author>
<name>Felix Lechner</name>
</author>
<published>2018-02-03T12:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5b986288cf0139a612710de728e82192d1f63fa2'/>
<id>urn:sha1:5b986288cf0139a612710de728e82192d1f63fa2</id>
<content type='text'>
$ go.gcc build
# github.com/rfjakob/gocryptfs/internal/syscallcompat
internal/syscallcompat/unix2syscall_linux.go:32:13: error: incompatible types in assignment (cannot use type int64 as type syscall.Timespec_sec_t)
  s.Atim.Sec = u.Atim.Sec
             ^</content>
</entry>
<entry>
<title>gccgo: replace syscall.NAME_MAX with unix.NAME_MAX</title>
<updated>2018-02-01T22:50:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-01T22:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9f8d0d8e5734e3771b52c8a8784ef5a76b0f9ca8'/>
<id>urn:sha1:9f8d0d8e5734e3771b52c8a8784ef5a76b0f9ca8</id>
<content type='text'>
For some reason the syscall.NAME_MAX constant does not exist
on gccgo, and it does not hurt us to use unix.NAME_MAX instead.

https://github.com/rfjakob/gocryptfs/issues/201
</content>
</entry>
<entry>
<title>syscallcompat: switch from syscall.Getdents to unix.Getdents</title>
<updated>2018-01-31T17:59:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-01-31T17:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=26ba8103bf2422493a01b57b8ee53aa9b1e867f7'/>
<id>urn:sha1:26ba8103bf2422493a01b57b8ee53aa9b1e867f7</id>
<content type='text'>
On mips64le, syscall.Getdents() and struct syscall.Dirent do
not fit together, causing our Getdents implementation to
return garbage ( https://github.com/rfjakob/gocryptfs/issues/200
and https://github.com/golang/go/issues/23624 ).

Switch to unix.Getdents which does not have this problem -
the next Go release with the syscall package fixes is too
far away, and will take time to trickle into distros.
</content>
</entry>
</feed>
