Commit 505cc4e1 authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds
Browse files

[PATCH] x86_64: Remove unprotected iret



Make sure no iret can fault without attached recovery code.
Cannot happen in the normal case, but might be useful
with kernel debuggers
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent eca37c18
......@@ -754,7 +754,7 @@ error_exit:
jnz retint_careful
swapgs
RESTORE_ARGS 0,8,0
iretq
jmp iret_label
CFI_ENDPROC
error_kernelspace:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment