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

[BUG] User mode trip breaks kernel mode flags #103

Closed
wipawel opened this issue Oct 1, 2020 · 0 comments
Closed

[BUG] User mode trip breaks kernel mode flags #103

wipawel opened this issue Oct 1, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@wipawel
Copy link
Contributor

wipawel commented Oct 1, 2020

Describe the bug
After return to kernel mode from user mode certain CPU flags are clobbered.

To Reproduce
Steps to reproduce the behavior:

  1. sti()
  2. call into user mode
  3. IF cleared

Expected behavior
Kernel mode CPU flags are preserved across user mode trip.

@wipawel wipawel added the bug Something isn't working label Oct 1, 2020
@wipawel wipawel added this to the v0.3 milestone Oct 1, 2020
82marbag added a commit to 82marbag/ktf that referenced this issue Oct 3, 2020
82marbag added a commit to 82marbag/ktf that referenced this issue Oct 3, 2020
82marbag added a commit to 82marbag/ktf that referenced this issue Oct 3, 2020
Signed-off-by: Daniele Ahmed <ahmeddan amazon ,com>
82marbag added a commit to 82marbag/ktf that referenced this issue Oct 3, 2020
Signed-off-by: Daniele Ahmed <ahmeddan amazon ,com>
82marbag added a commit to 82marbag/ktf that referenced this issue Oct 3, 2020
Signed-off-by: Daniele Ahmed <ahmeddan amazon ,com>
wipawel pushed a commit that referenced this issue Oct 3, 2020
Signed-off-by: Daniele Ahmed <ahmeddan amazon ,com>
@wipawel wipawel closed this as completed Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants