8000 writeThreadRegisters in ExecutionContext has no atomic behaviour · Issue #208 · ManyThreads/mythos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

writeThreadRegisters in ExecutionContext has no atomic behaviour #208

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
rottaran opened this issue Apr 9, 2021 · 0 comments
Open

writeThreadRegisters in ExecutionContext has no atomic behaviour #208

rottaran opened this issue Apr 9, 2021 · 0 comments
Labels
help wanted good for first contributions

Comments

@rottaran
Copy link
Collaborator
rottaran commented Apr 9, 2021

All action should check for correctness and, then, either fail or finish completely. writeThreadRegisters fails to set the FS and GS base addresses if they are non-canonical. However, at the point where this check is done, all other registers are already touched. And then the EC gets into trapped state whereas the invocation returns failure to the user. No failure to carry out an action should ever cause side effects.

@rottaran rottaran added the help wanted good for first contributions label Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted good for first contributions
Projects
None yet
Development

No branches or pull requests

1 participant
0