fix(wav): rendre memfd portable sur Linux #37

Open
hermes wants to merge 0 commits from fix/wav-portable-memfd into main
First-time contributor

Résumé

  • remplace les wrappers syscall memfd amd64/arm64 par golang.org/x/sys/unix.MemfdCreate
  • conserve MFD_CLOEXEC, MFD_ALLOW_SEALING et les quatre seals via unix.FcntlInt
  • supprime la restriction implicite à deux architectures

Closes #34

Validation

  • go test -race ./internal/audio/wav
  • builds CGO-disabled Linux: amd64, arm64, riscv64, 386
  • mêmes builds riscv64/386 avec Go 1.23.12
  • go mod verify
  • govulncheck ./...: 0 vulnérabilité atteignable (l’avis x/sys restant concerne x/sys/windows, non importé par Murmur Linux)
  • git diff --check
## Résumé - remplace les wrappers syscall memfd amd64/arm64 par `golang.org/x/sys/unix.MemfdCreate` - conserve `MFD_CLOEXEC`, `MFD_ALLOW_SEALING` et les quatre seals via `unix.FcntlInt` - supprime la restriction implicite à deux architectures Closes #34 ## Validation - `go test -race ./internal/audio/wav` - builds CGO-disabled Linux: amd64, arm64, riscv64, 386 - mêmes builds riscv64/386 avec Go 1.23.12 - `go mod verify` - `govulncheck ./...`: 0 vulnérabilité atteignable (l’avis x/sys restant concerne `x/sys/windows`, non importé par Murmur Linux) - `git diff --check`
fix(wav): use portable Linux memfd API
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
fc487c5eea
Some checks failed
CI / amd64 / Go 1.23.12 (push) Has been cancelled
CI / amd64 / Go 1.26.5 (push) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (push) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (push) Has been cancelled
CI / amd64 / Go 1.23.12 (pull_request) Has been cancelled
CI / amd64 / Go 1.26.5 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.23.12 (pull_request) Has been cancelled
CI / arm64 cross-build / Go 1.26.5 (pull_request) Has been cancelled
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/wav-portable-memfd:fix/wav-portable-memfd
git switch fix/wav-portable-memfd

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff fix/wav-portable-memfd
git switch fix/wav-portable-memfd
git rebase main
git switch main
git merge --ff-only fix/wav-portable-memfd
git switch fix/wav-portable-memfd
git rebase main
git switch main
git merge --no-ff fix/wav-portable-memfd
git switch main
git merge --squash fix/wav-portable-memfd
git switch main
git merge --ff-only fix/wav-portable-memfd
git switch main
git merge fix/wav-portable-memfd
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mathieu/murmur!37
No description provided.