diff options
-rw-r--r-- | README.md | 5 | ||||
-rwxr-xr-x | crossbuild.bash | 3 | ||||
-rw-r--r-- | internal/syscallcompat/thread_credentials_linux_32.go (renamed from internal/syscallcompat/thread_credentials_linux_368_arm.go) | 3 |
3 files changed, 10 insertions, 1 deletions
@@ -195,6 +195,11 @@ RM: 2,367 Changelog --------- +#### v2.5.3, 2025-04-05 +* Fix `go install` failing with `g: malformed file path "tests/fsck/malleable_base64/27AG8t-XZH7G9ou2OSD_z\ng": invalid char '\n'` + ([c80558](https://github.com/rfjakob/gocryptfs/commit/c8055829c311ecaf532fd171f3a5d104f873272d)) +* Fix panic when go-fuse is newer than specified in go.mod ([#897](https://github.com/rfjakob/gocryptfs/issues/897)) + #### v2.5.2, 2025-03-19 * Use our own `syscallcompat.Setreuid` (and friends) wrappers ([6b1ba584](https://github.com/rfjakob/gocryptfs/commit/6b1ba5846b17eec710a70cb6c6bf23e3f2024289)) diff --git a/crossbuild.bash b/crossbuild.bash index db4b05b..ff773ec 100755 --- a/crossbuild.bash +++ b/crossbuild.bash @@ -18,8 +18,9 @@ set -eux export CGO_ENABLED=0 GOOS=linux GOARCH=amd64 build +GOOS=linux GOARCH=386 build -# See https://github.com/golang/go/wiki/GoArm +# See https://go.dev/wiki/GoArm GOOS=linux GOARCH=arm GOARM=7 build GOOS=linux GOARCH=arm64 build diff --git a/internal/syscallcompat/thread_credentials_linux_368_arm.go b/internal/syscallcompat/thread_credentials_linux_32.go index b39fa09..69fffca 100644 --- a/internal/syscallcompat/thread_credentials_linux_368_arm.go +++ b/internal/syscallcompat/thread_credentials_linux_32.go @@ -1,5 +1,8 @@ //go:build (linux && 386) || (linux && arm) +// Linux on i386 and 32-bit ARM has SYS_SETREUID and friends returning 16-bit values. +// We need to use SYS_SETREUID32 instead. + package syscallcompat import ( |