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 perm check bug in syscall.c #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

myk502
Copy link

@myk502 myk502 commented Mar 11, 2019

Hi, I found some bug in yout syscall.c.
To be specific, because there could be other pte bits, so I think just using flag = PTE_U | PTE_P , and use(perm & flag == 0) check is not so good.

Could you please check this commit?

Regards
YongKang Meng

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

1 participant