<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/fusefrontend_reverse, branch v1.7-beta1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2018-09-08T16:06:33+00:00</updated>
<entry>
<title>syscallcompat: use O_PATH in OpenDirNofollow</title>
<updated>2018-09-08T16:06:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T16:06:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=930c37e03d5ff80e7cdc9f0ca2cd35d80a06d5c0'/>
<id>urn:sha1:930c37e03d5ff80e7cdc9f0ca2cd35d80a06d5c0</id>
<content type='text'>
This fixes the "0100 directory" problem in reverse mode,
and should be slightly faster.
</content>
</entry>
<entry>
<title>syscallcompat: untangle OpenNofollow and rename to OpenDirNofollow</title>
<updated>2018-09-08T15:41:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-08T15:41:17+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9ec9d0c49cfbdc9ceba10d7534b77e527c0a3cdc'/>
<id>urn:sha1:9ec9d0c49cfbdc9ceba10d7534b77e527c0a3cdc</id>
<content type='text'>
The function used to do two things:

1) Walk the directory tree in a manner safe from symlink attacks
2) Open the final component in the mode requested by the caller

This change drops (2), which was only used once, and lets the caller
handle it. This simplifies the function and makes it fit for reuse in
forward mode in openBackingPath(), and for using O_PATH on Linux.
</content>
</entry>
<entry>
<title>fusefrontend_reverse: reject excludes for the root directory ""</title>
<updated>2018-08-15T10:28:29+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-08-15T10:28:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7a02f71fc2fc8fc104ad1538f417d1e93e73cf11'/>
<id>urn:sha1:7a02f71fc2fc8fc104ad1538f417d1e93e73cf11</id>
<content type='text'>
This is most likely a mistake by the user. Reject it.
</content>
</entry>
<entry>
<title>reverse mode: add --exclude option</title>
<updated>2018-08-11T21:26:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-08-11T21:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ec2fdc19cf9358ae7ba09c528a5807b6b0760f9b'/>
<id>urn:sha1:ec2fdc19cf9358ae7ba09c528a5807b6b0760f9b</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/235
</content>
</entry>
<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>fusefrontend[_reverse]: move crypto init up to caller</title>
<updated>2018-02-18T10:21:58+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-17T15:26:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=719693ec5dd1153318606f151915231d71ddfe0b'/>
<id>urn:sha1:719693ec5dd1153318606f151915231d71ddfe0b</id>
<content type='text'>
Both fusefrontend and fusefrontend_reverse were doing
essentially the same thing, move it into main's
initFuseFrontend.

A side-effect is that we have a reference to cryptocore
in main, which will help with wiping the keys on exit
(https://github.com/rfjakob/gocryptfs/issues/211).
</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>fusefrontend_reverse: use OpenNofollow in virtualFile.GetAttr</title>
<updated>2018-01-17T20:36:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-01-17T20:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a2677bce2a632d80850fabb1e397558d8a07742b'/>
<id>urn:sha1:a2677bce2a632d80850fabb1e397558d8a07742b</id>
<content type='text'>
Makes it robust against symlink races.

Final piece, closes https://github.com/rfjakob/gocryptfs/issues/165
</content>
</entry>
<entry>
<title>fusefrontend_reverse: use OpenNofollow in findLongnameParent</title>
<updated>2018-01-17T19:54:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-01-17T19:52:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=959e1fc1e2f531480ad1353179fc94f56ff76dce'/>
<id>urn:sha1:959e1fc1e2f531480ad1353179fc94f56ff76dce</id>
<content type='text'>
Protects findLongnameParent against symlink races.

Also add comments to several functions along the way.

Reported at https://github.com/rfjakob/gocryptfs/issues/165
</content>
</entry>
<entry>
<title>Run go fmt</title>
<updated>2018-01-16T22:18:53+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-01-16T22:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=36ffd813cd04c6c43a7572ba5d71db4da8c2b060'/>
<id>urn:sha1:36ffd813cd04c6c43a7572ba5d71db4da8c2b060</id>
<content type='text'>
</content>
</entry>
</feed>
