Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load the guest binary once and map into each Sandbox read-only #317

Open
simongdavies opened this issue Mar 4, 2025 · 0 comments
Open
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. lifecycle/needs-review The issue has not yet been reviewed.
Milestone

Comments

@simongdavies
Copy link
Contributor

Each time a sandbox is created we allocate memory for the guest binary and then copy the binary into memory. It should be possible to do this once and then map that memory from the host into each Sandbox.

We will need to do more parsing of the guest binary that at present to take account of writeable sections of the binary , for example relocations will need to be provided for each sandbox if and when we have variable load addresses. Any writeable state in the binary will need to also be taken account of (maybe by implementing COW in the guest).

@simongdavies simongdavies added kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. lifecycle/needs-review The issue has not yet been reviewed. labels Mar 4, 2025
@danbugs danbugs added this to the Backlog milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. lifecycle/needs-review The issue has not yet been reviewed.
Projects
Status: No status
Development

No branches or pull requests

2 participants