-
Notifications
You must be signed in to change notification settings - Fork 141
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
update_flags
does not add flags to parent page tables
#534
Comments
Note that this isn't unique to I think we should be careful changing about |
One idea is to set all the flags for all L4-L2 entries and only use L1 flags to control permissions. |
I don't think we should change the behavior of existing methods in such a drastic way. There might be people that depend on the current behavior. |
What about if |
I'm open to that idea (although I don't like that method name). Another idea might be to improve |
In the I'm also against changing the behavior of For completeness, we could also add a method like Including the parent table flags in |
I like the idea of a new function called |
Steps to reproduce:
USER_ACCESSIBLE
USER_ACCESSIBLE
Expected:
The page can be accessed by user mode.
Actual:
The page can't be accessed by user mode because even though the L1 entry has
USER_ACCESSIBLE
, the L2, L3, L4 entries may not be user accessible.The text was updated successfully, but these errors were encountered: