<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/syscallcompat, branch LockSharedStorage_rebase2</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=LockSharedStorage_rebase2</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=LockSharedStorage_rebase2'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2026-07-16T19:20:29+00:00</updated>
<entry>
<title>sharedstorage: fix darwin &amp; freebsd build failure</title>
<updated>2026-07-16T19:20:29+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-07-16T19:16:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=835cd40733d63bce9a4bd843482766c246495044'/>
<id>urn:sha1:835cd40733d63bce9a4bd843482766c246495044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: LockSharedStorage: loop on EINTR, add debug output</title>
<updated>2026-07-16T19:00:08+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-07-16T18:47:57+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c3f386d511094362ad5bb28c3a5c6c4f52a77236'/>
<id>urn:sha1:c3f386d511094362ad5bb28c3a5c6c4f52a77236</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fusefrontend: sharedstorage: use byte-range lock on file header creation</title>
<updated>2026-07-16T17:56:48+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-06-02T12:24:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e56c2e44cc4dd1484cae78956f8ff72a9eea42f2'/>
<id>urn:sha1:e56c2e44cc4dd1484cae78956f8ff72a9eea42f2</id>
<content type='text'>
Multiple host writing to the same empty file at the same time
could have overwritten each other's newly created file header,
leading to data corruption.

Fix the race by placing a byte-range lock on the file when
creating the file header.
</content>
</entry>
<entry>
<title>Added basic support for FreeBSD.</title>
<updated>2026-03-08T20:35:59+00:00</updated>
<author>
<name>Ankush Patel</name>
</author>
<published>2026-02-05T01:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4fa21dcb57c5a0b7761bfec606ffd0e94c293ce8'/>
<id>urn:sha1:4fa21dcb57c5a0b7761bfec606ffd0e94c293ce8</id>
<content type='text'>
Freebsd-support: Change bash shebang to use /usr/bin/env

Freebsd-support: Fix go vet "undefined" fixes when running make ci

freebsd: stub xattr functions

/proc/PID/fd does not exist on freebsd.

freebsd-support: modify FchmodatNofollow for FreeBSD

FreeBSD supports the Fchmodat system call, with the AT_SYMLINK_NOFOLLOW
flag. FchmodatNofollow has been modified to use this system call and
flag.

freebsd-support: PR changes and fixes

* Functions in fusefrontend_reverse/node_xattr_freebsd.go have been
  stubbed for now.

* asuser_freebsd.go updated to only run f() when context is nil;
  otherwise log a warning and return an error.

* emulate.go build flags updated, and FreeBSD specific version added.

* sys_freebsd.go bug in Renameat2 with RENAME_EXCHANGE flag fixed.
  FreeBSD does not support atomic file swapping, so this flag now
  returns an error.

* unix2syscall and atime is identical between FreeBSD and Darwin,
  updated filenames so Go will build the file for FreeBSD and Mac OS.

freebsd-support: Addressed more PR comments and fixed build tags
</content>
</entry>
<entry>
<title>enable falloc on btrfs if CoW is disabled</title>
<updated>2026-02-10T20:26:49+00:00</updated>
<author>
<name>Jared Van Bortel</name>
</author>
<published>2026-02-06T20:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b024e3696d215e6b7a0b8d17ca3eb28af20dd504'/>
<id>urn:sha1:b024e3696d215e6b7a0b8d17ca3eb28af20dd504</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syscallcompat: delete accidentially-commited debug output</title>
<updated>2026-02-10T20:26:43+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-10T20:25:58+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=61685370b1aaffde25e5427a08509d33d71746fe'/>
<id>urn:sha1:61685370b1aaffde25e5427a08509d33d71746fe</id>
<content type='text'>
Fixes: ab4c0446d3db0665fc2e9a05c0319541d21811eb
</content>
</entry>
<entry>
<title>reverse: return ENOTTR when xattr name is not decryptable</title>
<updated>2026-02-10T20:02:03+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-10T20:02:03+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ab4c0446d3db0665fc2e9a05c0319541d21811eb'/>
<id>urn:sha1:ab4c0446d3db0665fc2e9a05c0319541d21811eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>darwin: syscallcompat: Openat: use O_SYMLINK</title>
<updated>2026-02-09T20:20:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-07T20:19:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d22d6b3c69f95ed0034af04851807e7125811b87'/>
<id>urn:sha1:d22d6b3c69f95ed0034af04851807e7125811b87</id>
<content type='text'>
Also add tests that opening a symlink (using unix.O_PATH | unix.O_NOFOLLOW)
works.

https://github.com/rfjakob/gocryptfs/issues/993
</content>
</entry>
<entry>
<title>syscallcompat: Listxattr: smart buffer sizing</title>
<updated>2026-02-03T19:58:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-03T19:58:59+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=700432ec25aad389465124d0defffb2b8cca431d'/>
<id>urn:sha1:700432ec25aad389465124d0defffb2b8cca431d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syscallcompat: DetectQuirks: unbreak darwin</title>
<updated>2026-02-01T20:25:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2026-02-01T20:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bc94538cf36be37dc915c693fbfd56588c2c19a6'/>
<id>urn:sha1:bc94538cf36be37dc915c693fbfd56588c2c19a6</id>
<content type='text'>
Error: internal/syscallcompat/quirks_darwin.go:36:3: undefined: logQuirk
</content>
</entry>
</feed>
