<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/test.bash, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2025-08-07T20:17:25+00:00</updated>
<entry>
<title>build scripts: use CGO_ENABLED=0 to disable openssl</title>
<updated>2025-08-07T20:17:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-07T20:17:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2ebd0d754b8ee46e6c65e90e1d1e13491b03b7b5'/>
<id>urn:sha1:2ebd0d754b8ee46e6c65e90e1d1e13491b03b7b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test.bash: print "?" when we cannot determine fs type</title>
<updated>2025-08-03T21:02:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-03T20:40:00+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e8d8f97de7d6c8f8fb82e51ca64c33ca1ab31e0b'/>
<id>urn:sha1:e8d8f97de7d6c8f8fb82e51ca64c33ca1ab31e0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test.bash: drop SC2002 exception</title>
<updated>2025-08-03T20:08:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-03T20:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=516dc9739814cd745d9b94393105649c72edc4d6'/>
<id>urn:sha1:516dc9739814cd745d9b94393105649c72edc4d6</id>
<content type='text'>
No longer needed.
</content>
</entry>
<entry>
<title>test.bash: use flock without subshell</title>
<updated>2025-08-03T20:02:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-08-03T20:01:58+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=00ea6f7e5607a933767a8778d60b8d14e4d9f20d'/>
<id>urn:sha1:00ea6f7e5607a933767a8778d60b8d14e4d9f20d</id>
<content type='text'>
From man 1 flock:

       shell&gt; exec 4&lt;&gt;/var/lock/mylockfile; shell&gt; flock -n 4
           This form is convenient for locking a file without spawning a
           subprocess. The shell opens the lock file for reading and
           writing as file descriptor 4, then flock is used to lock the
           descriptor.
</content>
</entry>
<entry>
<title>Fix all staticcheck errors in gocryptfs codebase</title>
<updated>2025-07-08T17:54:14+00:00</updated>
<author>
<name>copilot-swe-agent[bot]</name>
</author>
<published>2025-07-07T18:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=386232f39ede046d6453a0990ad40f2d86a26f53'/>
<id>urn:sha1:386232f39ede046d6453a0990ad40f2d86a26f53</id>
<content type='text'>
Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Add staticcheck to test.bash for continuous static analysis

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Fix nil pointer dereference in timesToTimespec function

The previous fix for deprecated fuse.UtimeToTimespec caused a panic
because unix.TimeToTimespec doesn't handle nil pointers. This fix
properly handles nil pointers by using unix.UTIME_OMIT while still
using the non-deprecated unix.TimeToTimespec function.

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Undo SA6002 changes and add staticcheck ignore directive instead

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>test.bash: don't descend into vendor dir</title>
<updated>2025-07-07T15:11:00+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-07-07T15:11:00+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cdb80ea9825d2e876f1cf579bf960e4da7656b4c'/>
<id>urn:sha1:cdb80ea9825d2e876f1cf579bf960e4da7656b4c</id>
<content type='text'>
Before:

	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setuid(uid)
	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setgid(gid)
	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setreuid(ruid, euid)
	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setregid(rgid, egid)
	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setresuid(ruid, euid, suid)
	./vendor/golang.org/x/sys/unix/syscall_linux.go:	return syscall.Setresgid(rgid, egid, sgid)
	test.bash: This affects the whole process. Please use the syscallcompat wrappers instead.

After: clean

https://github.com/rfjakob/gocryptfs/issues/930
</content>
</entry>
<entry>
<title>test.bash, crossbuild.bash: drop old Go version kludges</title>
<updated>2025-03-19T15:49:21+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-03-19T15:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=13773f47d6d9aa72da034f2011a84248cbd2f46d'/>
<id>urn:sha1:13773f47d6d9aa72da034f2011a84248cbd2f46d</id>
<content type='text'>
GO111MODULE is default on with Go 1.16, same version that gained
darwin/arm64 support.

We only support Go 1.19 and up, so drop the kludges.
</content>
</entry>
<entry>
<title>test.bash: catch calls to unix.Seteuid and friends</title>
<updated>2025-03-19T15:33:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-03-19T15:33:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=34be08a1aa2b00784719d614f0f84f7f02bae2f1'/>
<id>urn:sha1:34be08a1aa2b00784719d614f0f84f7f02bae2f1</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/893
</content>
</entry>
<entry>
<title>test.bash: print fs info</title>
<updated>2023-12-11T19:57:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2023-12-11T19:57:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=15118e6e5392d50fc265d4acbf8c264279c66af1'/>
<id>urn:sha1:15118e6e5392d50fc265d4acbf8c264279c66af1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test.bash: disable parallelism in verbose mode</title>
<updated>2022-01-04T14:25:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2022-01-04T14:24:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c23a7f225984af1aa9fd0113f93be837a13d9b08'/>
<id>urn:sha1:c23a7f225984af1aa9fd0113f93be837a13d9b08</id>
<content type='text'>
This way we get live output, and hopefully see clearer
where things hang if they do.

Also, don't pass on flags to "go vet", the verbose output
is pretty useless.

https://github.com/rfjakob/gocryptfs/issues/625
</content>
</entry>
</feed>
