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

sparse_mmap: remove C code and add SAFETY comments #117

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

romank-msft
Copy link
Contributor

To a certain extent this change "hardcodes"/"emulates" setjmp and longjmp (not their sig counterparts though). These might be tightly intergrated with the system C library making this code brittle. Need to look more into that.

The unit-test do pass on Linux and macOS, but sometimes the Windows guest wouldn't boot in the integration tests (tested only in nested so far). I might be cargo-culting something.

To a certain extent this change "hardcodes"/"emulates"
`setjmp` and `longjmp` (not their `sig` counterparts though).
These might be tightly intergrated with the system C library
making this code brittle. Need to look more into that.

The unit-test do pass on Linux and macOS, but sometimes the
Windows guest wouldn't boot in the integration tests (tested
only in nested so far). I might be cargo-culting something.
@romank-msft romank-msft requested review from a team as code owners October 17, 2024 19:51
@romank-msft romank-msft marked this pull request as draft October 17, 2024 19:51
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