Skip to content

uh_mem: Implement prevention of permissions changes on locked pages #1531

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

smalis-msft
Copy link
Contributor

@smalis-msft smalis-msft commented Jun 17, 2025

Locked pages should not be able to have anything about them changed, that's what locking means. Implement this. This requires implementing new methods on GuestMemoryAccess to inform uh_mem when a page is locked and unlocked.

@smalis-msft smalis-msft marked this pull request as ready for review June 18, 2025 16:53
@smalis-msft smalis-msft requested review from a team as code owners June 18, 2025 16:53
@smalis-msft smalis-msft added the backport_2505 Change should be backported to the release/2505 branch label Jun 18, 2025
sluck-msft
sluck-msft previously approved these changes Jun 18, 2025
@smalis-msft smalis-msft enabled auto-merge (squash) June 20, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport_2505 Change should be backported to the release/2505 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants