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

fix: crash on x86_64 systems that support memory protection keys #1318

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

piscisaureus
Copy link
Member

@piscisaureus piscisaureus commented Sep 12, 2023

This fixes the issue.

It needs some comments explaining why one would need new_unprotected_default_platform() (see TODOs).
@mmastrac Can you help out with that?

@piscisaureus piscisaureus changed the title PKU fix fix: crash on x86_64 systems that support memory protection keys Sep 12, 2023
src/platform.rs Outdated Show resolved Hide resolved
src/platform.rs Outdated Show resolved Hide resolved
src/platform.rs Outdated Show resolved Hide resolved
src/platform.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

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

LGTM!

@piscisaureus piscisaureus enabled auto-merge (squash) September 12, 2023 23:07
@piscisaureus piscisaureus merged commit 53e048f into main Sep 12, 2023
8 checks passed
@piscisaureus piscisaureus deleted the pku_fix branch September 12, 2023 23:26
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.

None yet

2 participants