<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/syscallcompat, branch v1.7-rc1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-rc1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-rc1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-01-03T17:24:05+00:00</updated>
<entry>
<title>syscallcompat: Use O_PATH to open base directory.</title>
<updated>2019-01-03T17:24:05+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-03T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=927b3ce4cfb455a258a15a5566429c44cf32cb35'/>
<id>urn:sha1:927b3ce4cfb455a258a15a5566429c44cf32cb35</id>
<content type='text'>
Also remove some unnecessary flags: When O_PATH is specified in flags, flag
bits other than O_CLOEXEC, O_DIRECTORY, and O_NOFOLLOW are ignored.
</content>
</entry>
<entry>
<title>fusefrontend: add dirCache</title>
<updated>2019-01-03T14:31:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T21:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4f66d66755da63c78b09201c6c72353009251cf2'/>
<id>urn:sha1:4f66d66755da63c78b09201c6c72353009251cf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: xattr: fix operations on files without read permissions</title>
<updated>2019-01-02T19:48:46+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T19:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b214be5e3f76dd17efc9832131f4a7e0414b4cea'/>
<id>urn:sha1:b214be5e3f76dd17efc9832131f4a7e0414b4cea</id>
<content type='text'>
* listxattr is fixed via the /proc/self/fd trick
* setxattr,removexattr are fixed by opening the file O_WRONLY

Fixes https://github.com/rfjakob/gocryptfs/issues/308
</content>
</entry>
<entry>
<title>syscallcompat: add Fgetxattr / Fsetxattr wrappers</title>
<updated>2019-01-02T15:56:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T15:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7995a8358e6a99a6b2387eb6f0e10b789706aa08'/>
<id>urn:sha1:7995a8358e6a99a6b2387eb6f0e10b789706aa08</id>
<content type='text'>
These take care of buffer sizing and parsing.
</content>
</entry>
<entry>
<title>fusefrontend: make Readlink() symlink-safe</title>
<updated>2019-01-01T15:24:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-04T21:01:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4fae240153a5300b7108bf5c2de2b6581c8ee7fd'/>
<id>urn:sha1:4fae240153a5300b7108bf5c2de2b6581c8ee7fd</id>
<content type='text'>
Now symlink-safe through Readlinkat().
</content>
</entry>
<entry>
<title>syscallcompat: downgrade DT_UNKNOWN message level on XFS</title>
<updated>2018-11-17T16:44:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-11-17T16:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e665df71795a3a4656f6eae70211bb59723cd01e'/>
<id>urn:sha1:e665df71795a3a4656f6eae70211bb59723cd01e</id>
<content type='text'>
Old XFS filesystems always return DT_UNKNOWN. Downgrade the message
to "info" level if we are on XFS.

Using the "warning" level means that users on old XFS filesystems
cannot run the test suite as it intentionally aborts on any
warnings.

Fixes https://github.com/rfjakob/gocryptfs/issues/267
</content>
</entry>
<entry>
<title>tests: syscallcompat: allow failure for symlinks &gt; 1000</title>
<updated>2018-10-11T17:45:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-10-11T17:45:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=57a5a8791f8a8c957aef87aecfa4fa318873b744'/>
<id>urn:sha1:57a5a8791f8a8c957aef87aecfa4fa318873b744</id>
<content type='text'>
MacOS and old XFS versions do not support very long symlinks,
but let's not make the tests fail because of that.

https://github.com/rfjakob/gocryptfs/issues/267
</content>
</entry>
<entry>
<title>syscallcompat: untangle Openat flag check</title>
<updated>2018-09-22T17:38:47+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-09-22T17:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=737a2f2012baf3f11056e08232c8d34dc353e2d8'/>
<id>urn:sha1:737a2f2012baf3f11056e08232c8d34dc353e2d8</id>
<content type='text'>
Check for O_NWFOLLOW and O_EXCL separately to
make the logic clearer.
</content>
</entry>
<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>
</feed>
