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

Test write only mappings with SMC protection #1698

Open
skmp opened this issue May 10, 2022 · 5 comments
Open

Test write only mappings with SMC protection #1698

skmp opened this issue May 10, 2022 · 5 comments
Assignees
Milestone

Comments

@skmp
Copy link
Contributor

skmp commented May 10, 2022

Follow up from #1558

@skmp skmp self-assigned this May 10, 2022
@skmp
Copy link
Contributor Author

skmp commented May 23, 2022

Did a quick look on this, looks like PROT_WRITE implies PROT_READ on x86, have to verify the same is true on arm64. Will make some test cases.

@Sonicadvance1
Copy link
Member

The hardware doesn't even let you map write without read.

@skmp
Copy link
Contributor Author

skmp commented May 23, 2022

Yes, on x86. Is it the same for arm64?

@Sonicadvance1
Copy link
Member

Yes

@skmp
Copy link
Contributor Author

skmp commented May 23, 2022

One less thing to worry about then. Will make some tests for it anyway eventually.

@skmp skmp modified the milestones: 2210, 2209 Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Unschedulled
Development

No branches or pull requests

2 participants