<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/syscallcompat/unix2syscall_darwin.go, branch dependabot/github_actions/actions/checkout-7</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=dependabot%2Fgithub_actions%2Factions%2Fcheckout-7</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=dependabot%2Fgithub_actions%2Factions%2Fcheckout-7'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2026-03-08T20:35:59+00:00</updated>
<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>Fix unix2syscall_darwin.go build failure</title>
<updated>2019-05-19T19:04:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-19T19:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b1468a732fa26550f2a6f8a21cc7bd47b65a8c96'/>
<id>urn:sha1:b1468a732fa26550f2a6f8a21cc7bd47b65a8c96</id>
<content type='text'>
Error was

 +GOOS=darwin
 +GOARCH=amd64
 +go build -tags without_openssl
 # github.com/rfjakob/gocryptfs/internal/syscallcompat
 internal/syscallcompat/unix2syscall_darwin.go:22:32: u.Atimespec undefined (type unix.Stat_t has no field or method Atimespec)
 internal/syscallcompat/unix2syscall_darwin.go:23:32: u.Mtimespec undefined (type unix.Stat_t has no field or method Mtimespec)
 internal/syscallcompat/unix2syscall_darwin.go:24:32: u.Ctimespec undefined (type unix.Stat_t has no field or method Ctimespec)

caused by https://github.com/golang/sys/commit/87c872767d25fb96dfe96c794fd028b38a08440b#diff-4913a9178621eadcdf191db17915fbcb
</content>
</entry>
<entry>
<title>syscallcompat: add Darwin version of unix2syscall</title>
<updated>2017-12-05T23:18:38+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2017-12-05T23:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6beb45e5b74aa465136687f00f2b5a51bee90395'/>
<id>urn:sha1:6beb45e5b74aa465136687f00f2b5a51bee90395</id>
<content type='text'>
The "Atim" field is called "Atimespec" on Darwin,
same for Mtim and Ctim.
</content>
</entry>
</feed>
