Skip to content

seccomp: fix Threaded drive resize crash - #19

Merged
dangra merged 1 commit into
fc-blk-threaded-enginefrom
tomr/threaded-drive-resize
Sep 29, 2026
Merged

dangra merged 1 commit into
fc-blk-threaded-enginefrom
tomr/threaded-drive-resize

Conversation

@tomr-fly

Copy link
Copy Markdown

Fixes exit 148 when updating a Threaded drive by allowing F_DUPFD_CLOEXEC in the VMM seccomp filters.

Stacked on #15.

Updating a Threaded drive clones its backing file on the VMM thread.
The Rust clone path uses F_DUPFD_CLOEXEC, which the VMM seccomp policy
did not allow and caused Firecracker to exit with BadSyscall.

Allow that fcntl command in both architecture policies and exercise file
rescan with the Threaded engine.

Signed-off-by: Tom Ryan <299368098+tomr-fly@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 29, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dangra
dangra merged commit 3668268 into fc-blk-threaded-engine Sep 29, 2026
2 checks passed
@dangra
dangra deleted the tomr/threaded-drive-resize branch September 29, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants