Skip to content

fix: update remaining stale comments for pre_exec setns change#544

Closed
claude-claude[bot] wants to merge 2 commits intofix-remaining-flakyfrom
claude/fix-22587486493
Closed

fix: update remaining stale comments for pre_exec setns change#544
claude-claude[bot] wants to merge 2 commits intofix-remaining-flakyfrom
claude/fix-22587486493

Conversation

@claude-claude
Copy link
Copy Markdown
Contributor

@claude-claude claude-claude bot commented Mar 2, 2026

Auto-Fix for PR #541

Issues Fixed

  • vm.rs struct field comments (lines 39-41): Updated holder_pid comment from "use nsenter to run FC" to "health checks, cleanup". Updated user_namespace_path and net_namespace_path from "for rootless clones" to "for rootless VMs".
  • vm.rs set_user_namespace_path doc (lines 91-98): Updated from "for rootless clones" / "use this instead of set_holder_pid when mount namespace isolation is needed" to accurately describe PR_SET_PDEATHSIG preservation as the motivation, and that it's used for all rootless VMs.
  • vm.rs block comment (lines 148-155): Updated the mode summary to reflect that path 2 (nsenter) is a fallback, not the normal rootless baseline path.
  • DESIGN.md step 5 (line 472): Changed from "Run Firecracker via nsenter" to "Run Firecracker via pre_exec setns" to match actual implementation.

Changes

Comment-only and documentation changes — no behavioral modifications.


Generated by Claude | Review Run

ejc3 and others added 2 commits March 2, 2026 17:23
Update struct field comments, doc comments, and block comments in vm.rs
to reflect that pre_exec setns is now used for ALL rootless VMs (not just
clones), and that the primary motivation is PR_SET_PDEATHSIG preservation.
Update DESIGN.md step 5 to match actual implementation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ejc3
Copy link
Copy Markdown
Owner

ejc3 commented Mar 2, 2026

Stale comments already fixed in #541

@ejc3 ejc3 closed this Mar 2, 2026
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.

1 participant