Thanks to visit codestin.com
Credit goes to github.com

Skip to content

seccomp: allow sendto for vsock thread - #7477

Merged
likebreath merged 1 commit into
cloud-hypervisor:mainfrom
mjm:push-ovvwnsolwntm
Nov 13, 2025
Merged

likebreath merged 1 commit into
cloud-hypervisor:mainfrom
mjm:push-ovvwnsolwntm

Conversation

@mjm

@mjm mjm commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

As of rust 1.90, writes to unix socket streams use send_with_flags instead of write, so it uses a sendto syscall instead of write.

I found this when upgrading my machines to a new Nixpkgs which bumped rust from 1.89 to 1.90. Suddenly, all of my VMs were crashlooping due to seccomp violations. --seccomp log showed this as the culprit, and with this patch, I'm not seeing any more audit logs.

@mjm
mjm requested a review from a team as a code owner November 13, 2025 16:08
as of rust 1.90, writes to unix socket streams use send_with_flags
instead of write, so it uses a sendto syscall instead of write.

Signed-off-by: Matt Moriarity <[email protected]>
@mjm
mjm force-pushed the push-ovvwnsolwntm branch from 2165d74 to 45d76de Compare November 13, 2025 16:16
@likebreath
likebreath added this pull request to the merge queue Nov 13, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 13, 2025
@likebreath

Copy link
Copy Markdown
Member

The rate-limiter runner seems to be not working. I am going to work with @RuoqingHe to resolve it.

In the meantime, I am lifting the requirement of the rate-limiter workflow of MQ to unblock landing PRs.

@likebreath
likebreath added this pull request to the merge queue Nov 13, 2025
Merged via the queue into cloud-hypervisor:main with commit ec57aad Nov 13, 2025
42 of 43 checks passed
@mjm
mjm deleted the push-ovvwnsolwntm branch November 14, 2025 05:39
@github-project-automation github-project-automation Bot moved this from 🆕 New to ✅ Done in Cloud Hypervisor Roadmap Dec 11, 2025
@likebreath likebreath added the bug-fix Bug fix to include in release notes label Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fix to include in release notes

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants