Skip to content

feat(runtime): RW Sandbox bind aliases under private parents - #476

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-rw-bind-mount-alias
Sep 17, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/b3-rw-bind-mount-alias

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Linux SandboxViaOci stages Box-owned O_PATH bind aliases for read-write as well as read-only caller-owned external mounts under private provider directories.
  • RW aliases remount nosuid,nodev without ro; RO behavior unchanged.
  • Design doc + unit coverage for RW private-parent staging.
  • Honest CHANGELOG: does not close ROADMAP B3/B2 or invent Windows bind parity.

Test plan

  • cargo check -p a3s-box-runtime --features vm
  • Linux CI / root+CAP_SYS_ADMIN: aliases_a_read_write_source_below_a_private_caller_root
  • Confirm RO private Artifact alias path still remounts ro
  • Confirm guest write through RW external bind under private parent works

Extend Box-owned O_PATH attachment aliases to read-write external binds so
userns-resolved OCI mounts stay reachable without chowning caller trees.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 95db37c into main Sep 17, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/b3-rw-bind-mount-alias branch September 17, 2026 11:32
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